Dam releases flood water