Long-term prediction of hydraulic system dynamics via structured recurrent neural networks