Investigation of the evolution of the irrigation system in ancient Mesopotamia using a hydraulic model