Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 191.2 kB / 22.23 MB, free: 5.156 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 207.6 MB / 233 MB, free: 10.01 MB / 190.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo): time 0.06087/0.06087, allocations: 12.01 MB / 297.3 MB, free: 9.855 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package OpenHydraulics with version 1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenHydraulics 1.0.0-master/package.mo)
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo)
Running command: translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple")
translateModel(OpenHydraulics.DevelopmentTests.PumpTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: OpenHydraulics requested package Modelica of version 3.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002288, allocations: 79.89 kB / 416.8 MB, free: 42.4 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.07312/0.07541, allocations: 51.93 MB / 468.7 MB, free: 6.367 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.PumpTestSimple): time 0.004896/0.08031, allocations: 3.386 MB / 472.1 MB, free: 2.961 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001693/0.082, allocations: 0.858 MB / 472.9 MB, free: 2.098 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001532/0.08215, allocations: 7.938 kB / 473 MB, free: 2.09 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002002/0.08235, allocations: 59.42 kB / 473 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005008/0.08285, allocations: 194.6 kB / 473.2 MB, free: 1.84 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002314/0.08309, allocations: 103.9 kB / 473.3 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007774/0.08386, allocations: 0.6415 MB / 473.9 MB, free: 1.094 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002919/0.08415, allocations: 150.5 kB / 474.1 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003061/0.08446, allocations: 243.1 kB / 474.3 MB, free: 0.6992 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003548/0.08482, allocations: 251 kB / 474.6 MB, free: 464 kB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.824e-05/0.08487, allocations: 40 kB / 474.6 MB, free: 424 kB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.08501, allocations: 52 kB / 474.7 MB, free: 372 kB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.08512, allocations: 115.6 kB / 474.8 MB, free: 256 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002537/0.08538, allocations: 254.9 kB / 475 MB, free: 0 / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006406/0.08602, allocations: 0.5216 MB / 475.5 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.08602, allocations: 4 kB / 475.5 MB, free: 15.47 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.533e-06/0.08602, allocations: 4 kB / 475.6 MB, free: 15.46 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 8.155e-06/0.08603, allocations: 0 / 475.6 MB, free: 15.46 MB / 350.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 99
 * Number of variables: 99
Notification: Performance of Generate backend data structure: time 0.001123/0.08715, allocations: 0.6454 MB / 476.2 MB, free: 14.79 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.08719, allocations: 11.98 kB / 476.2 MB, free: 14.78 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.08737, allocations: 56.61 kB / 476.3 MB, free: 14.72 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.08784, allocations: 284.8 kB / 476.5 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.183e-05/0.08787, allocations: 33.12 kB / 476.6 MB, free: 14.39 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-05/0.08795, allocations: 39.94 kB / 476.6 MB, free: 14.35 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006872/0.08863, allocations: 382.4 kB / 477 MB, free: 13.97 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.08865, allocations: 3.953 kB / 477 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.683e-05/0.08869, allocations: 16 kB / 477 MB, free: 13.95 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.0887, allocations: 8 kB / 477 MB, free: 13.94 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005488/0.08925, allocations: 295.8 kB / 477.3 MB, free: 13.65 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002363/0.09161, allocations: 1.651 MB / 479 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003584/0.09197, allocations: 150.7 kB / 479.1 MB, free: 11.67 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/0.09216, allocations: 76.81 kB / 479.2 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.09219, allocations: 4 kB / 479.2 MB, free: 11.59 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.09222, allocations: 34.56 kB / 479.2 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=17): time 1.904e-06/0.09222, allocations: 0 / 479.2 MB, free: 11.55 MB / 350.1 MB
Notification: Performance of matching and sorting (n=17): time 0.0005237/0.09274, allocations: 227.6 kB / 479.4 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.09279, allocations: 55.34 kB / 479.5 MB, free: 11.25 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004978/0.09329, allocations: 425.6 kB / 479.9 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.555e-05/0.09333, allocations: 37.7 kB / 479.9 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001847/0.09351, allocations: 228 kB / 480.2 MB, free: 10.55 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.09358, allocations: 71.45 kB / 480.2 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.986e-05/0.09367, allocations: 53.66 kB / 480.3 MB, free: 10.43 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001871/0.09386, allocations: 350.7 kB / 480.6 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001609/0.09402, allocations: 81.75 kB / 480.7 MB, free: 9.992 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.09425, allocations: 169.8 kB / 480.9 MB, free: 9.781 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003761/0.09462, allocations: 248.5 kB / 481.1 MB, free: 9.492 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.09463, allocations: 4 kB / 481.1 MB, free: 9.488 MB / 350.1 MB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005477/0.09518, allocations: 304.1 kB / 481.4 MB, free: 9.188 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.09519, allocations: 4 kB / 481.4 MB, free: 9.184 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.0952, allocations: 4 kB / 481.4 MB, free: 9.18 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.09524, allocations: 4 kB / 481.4 MB, free: 9.176 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002906/0.09553, allocations: 67.89 kB / 481.5 MB, free: 9.109 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.09554, allocations: 4 kB / 481.5 MB, free: 9.105 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002392/0.09578, allocations: 52.06 kB / 481.6 MB, free: 9.055 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.223e-05/0.0958, allocations: 12 kB / 481.6 MB, free: 9.043 MB / 350.1 MB
Warning: Assuming fixed start value for the following 1 variables:
         constantSpeed.phi:VARIABLE(unit = \"rad\" fixed = true )  \"Angle of flange with respect to support (= flange.phi - support.phi)\" type: Real
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (33):
 * Single equations (assignments): 33
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002649/0.09606, allocations: 183.4 kB / 481.7 MB, free: 8.855 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.199e-05/0.09613, allocations: 47.7 kB / 481.8 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.09658, allocations: 205 kB / 482 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.09658, allocations: 0 / 482 MB, free: 8.602 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.09659, allocations: 4 kB / 482 MB, free: 8.598 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.09659, allocations: 7.938 kB / 482 MB, free: 8.59 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.09766, allocations: 0.6911 MB / 482.7 MB, free: 7.832 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.09766, allocations: 0 / 482.7 MB, free: 7.832 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000207/0.09787, allocations: 43.91 kB / 482.7 MB, free: 7.789 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.09787, allocations: 8.125 kB / 482.7 MB, free: 7.781 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.09789, allocations: 7.938 kB / 482.8 MB, free: 7.773 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.09789, allocations: 4 kB / 482.8 MB, free: 7.77 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.09789, allocations: 0 / 482.8 MB, free: 7.77 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005401/0.09843, allocations: 384.2 kB / 483.1 MB, free: 7.367 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.09857, allocations: 63.64 kB / 483.2 MB, free: 7.305 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.09863, allocations: 11.89 kB / 483.2 MB, free: 7.293 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.09881, allocations: 8 kB / 483.2 MB, free: 7.285 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.09885, allocations: 11.97 kB / 483.2 MB, free: 7.273 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.212e-05/0.09887, allocations: 8 kB / 483.2 MB, free: 7.266 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0003802/0.09925, allocations: 307.1 kB / 483.5 MB, free: 6.969 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.3e-07/0.09925, allocations: 4.062 kB / 483.5 MB, free: 6.965 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0004305/0.09968, allocations: 91.89 kB / 483.6 MB, free: 6.875 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 1 (constantSpeed.phi)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (18):
 * Single equations (assignments): 18
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of Backend phase and start with SimCode phase: time 0.000153/0.09983, allocations: 111.1 kB / 483.7 MB, free: 6.758 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003881/0.1002, allocations: 159.7 kB / 483.9 MB, free: 6.602 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.82e-06/0.1002, allocations: 4.875 kB / 483.9 MB, free: 6.598 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1004, allocations: 67.84 kB / 484 MB, free: 6.531 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.101, allocations: 133.7 kB / 484.1 MB, free: 6.402 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.1024, allocations: 0.7652 MB / 484.9 MB, free: 5.598 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004972/0.1029, allocations: 0.8231 MB / 485.7 MB, free: 4.746 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0002094/0.1032, allocations: 60.16 kB / 485.7 MB, free: 4.684 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 7.697e-05/0.1032, allocations: 35.42 kB / 485.8 MB, free: 4.648 MB / 350.1 MB
Notification: Performance of SimCode: time 6.61e-07/0.1032, allocations: 0 / 485.8 MB, free: 4.648 MB / 350.1 MB
Notification: Performance of Templates: time 0.01239/0.1156, allocations: 5.966 MB / 491.7 MB, free: 14.75 MB / 366.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.PumpTestSimple.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.429135746322572]
Failed to read output from testmodel.py, exit status != 0:
0.12358997482806444 0.140224023 0.050856749
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f2b7635d7b0>