Optimization algorithms for prognostics of electrohydraulic on-board servomechanisms