New differential equation model for hydrodynamics with memory effects