Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.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.00138/0.00138, allocations: 108.8 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.001594/0.001594, allocations: 191 kB / 22.23 MB, free: 5.16 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.437/1.437, 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.0612/0.0612, allocations: 12.01 MB / 297.3 MB, free: 9.863 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.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple")
translateModel(OpenHydraulics.DevelopmentTests.RestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple") [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.002321/0.002321, allocations: 75.89 kB / 416.8 MB, free: 42.4 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.0869/0.08922, allocations: 51.94 MB / 468.7 MB, free: 6.367 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.RestrictionTestSimple): time 0.003494/0.09272, allocations: 2.098 MB / 470.8 MB, free: 4.254 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001144/0.09386, allocations: 0.6396 MB / 471.4 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 9.7e-05/0.09396, allocations: 0 / 471.4 MB, free: 3.609 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 5.554e-05/0.09402, allocations: 19.8 kB / 471.5 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003401/0.09436, allocations: 79.44 kB / 471.5 MB, free: 3.512 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.09446, allocations: 23.97 kB / 471.6 MB, free: 3.488 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00027/0.09473, allocations: 151.1 kB / 471.7 MB, free: 3.34 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.09486, allocations: 33.22 kB / 471.7 MB, free: 3.309 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.09501, allocations: 67.77 kB / 471.8 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.09512, allocations: 51.78 kB / 471.9 MB, free: 3.191 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.09514, allocations: 8 kB / 471.9 MB, free: 3.184 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.64e-05/0.09521, allocations: 16 kB / 471.9 MB, free: 3.168 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.09524, allocations: 23.92 kB / 471.9 MB, free: 3.145 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.149e-05/0.09532, allocations: 59.66 kB / 472 MB, free: 3.086 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.000199/0.09551, allocations: 115.5 kB / 472.1 MB, free: 2.973 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.09552, allocations: 0 / 472.1 MB, free: 2.973 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.152e-06/0.09552, allocations: 0 / 472.1 MB, free: 2.973 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.561e-06/0.09553, allocations: 4 kB / 472.1 MB, free: 2.969 MB / 334.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 19
 * Number of variables: 19
Notification: Performance of Generate backend data structure: time 0.0006112/0.09614, allocations: 371.4 kB / 472.4 MB, free: 2.57 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.09618, allocations: 15.98 kB / 472.5 MB, free: 2.555 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.09622, allocations: 20.77 kB / 472.5 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.09648, allocations: 134.4 kB / 472.6 MB, free: 2.379 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.0965, allocations: 16.27 kB / 472.6 MB, free: 2.363 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.384e-05/0.09653, allocations: 16.11 kB / 472.6 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.0968, allocations: 101.6 kB / 472.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.09681, allocations: 0 / 472.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.09683, allocations: 0 / 472.7 MB, free: 2.242 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.09683, allocations: 4 kB / 472.7 MB, free: 2.238 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002516/0.09708, allocations: 79.94 kB / 472.8 MB, free: 2.16 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007674/0.09785, allocations: 0.5252 MB / 473.3 MB, free: 1.555 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002354/0.09809, allocations: 82.53 kB / 473.4 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.09822, allocations: 52.95 kB / 473.5 MB, free: 1.41 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.09824, allocations: 0 / 473.5 MB, free: 1.41 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/0.09827, allocations: 30.56 kB / 473.5 MB, free: 1.371 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.09827, allocations: 4 kB / 473.5 MB, free: 1.367 MB / 334.1 MB
Notification: Performance of matching and sorting (n=10): time 0.001487/0.09976, allocations: 408.5 kB / 473.9 MB, free: 0.9492 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.09981, allocations: 77.11 kB / 474 MB, free: 0.8555 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001426/0.09995, allocations: 153.7 kB / 474.1 MB, free: 0.6953 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.391e-05/0.09998, allocations: 29.7 kB / 474.2 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.018e-05/0.1, allocations: 96.09 kB / 474.3 MB, free: 0.5625 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.927e-05/0.1001, allocations: 35.72 kB / 474.3 MB, free: 0.5273 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.453e-05/0.1001, allocations: 29.66 kB / 474.3 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001452/0.1003, allocations: 322.8 kB / 474.6 MB, free: 172 kB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.1005, allocations: 43.97 kB / 474.7 MB, free: 128 kB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001891/0.1006, allocations: 62.31 kB / 474.7 MB, free: 60 kB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003855/0.101, allocations: 177.1 kB / 474.9 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.101, allocations: 0 / 474.9 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004227/0.1015, allocations: 179.1 kB / 475.1 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.244e-05/0.1015, allocations: 41.66 kB / 475.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.1015, allocations: 0 / 475.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.1015, allocations: 4 kB / 475.1 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.1017, allocations: 23.97 kB / 475.2 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.1017, allocations: 4 kB / 475.2 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001132/0.1018, allocations: 7.984 kB / 475.2 MB, free: 15.59 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.1018, allocations: 4 kB / 475.2 MB, free: 15.59 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 2
 * 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 (10):
 * Single equations (assignments): 9
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001285/0.102, allocations: 151.5 kB / 475.3 MB, free: 15.43 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.102, allocations: 15.89 kB / 475.3 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005251/0.1025, allocations: 212 kB / 475.5 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1025, allocations: 0 / 475.5 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1025, allocations: 0 / 475.5 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1025, allocations: 0 / 475.5 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1028, allocations: 192.6 kB / 475.7 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1028, allocations: 4 kB / 475.7 MB, free: 14.95 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.103, allocations: 39.84 kB / 475.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.103, allocations: 4 kB / 475.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.103, allocations: 0 / 475.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.103, allocations: 0 / 475.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.103, allocations: 0 / 475.8 MB, free: 14.91 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.1035, allocations: 300.5 kB / 476.1 MB, free: 14.59 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1035, allocations: 23.83 kB / 476.1 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.381e-05/0.1036, allocations: 0 / 476.1 MB, free: 14.57 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.1037, allocations: 19.98 kB / 476.1 MB, free: 14.55 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.1038, allocations: 7.984 kB / 476.1 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.097e-05/0.1038, allocations: 4 kB / 476.1 MB, free: 14.54 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 9.528e-05/0.1039, allocations: 115.2 kB / 476.2 MB, free: 14.43 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.1039, allocations: 4 kB / 476.2 MB, free: 14.42 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002664/0.1041, allocations: 35.94 kB / 476.3 MB, free: 14.39 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (13):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001514/0.1043, allocations: 111.2 kB / 476.4 MB, free: 14.27 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004755/0.1048, allocations: 167.3 kB / 476.5 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1048, allocations: 7.938 kB / 476.6 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.105, allocations: 119.4 kB / 476.7 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000348/0.1053, allocations: 38.59 kB / 476.7 MB, free: 13.92 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005753/0.1059, allocations: 280.2 kB / 477 MB, free: 13.62 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/0.1062, allocations: 0.7045 MB / 477.7 MB, free: 12.89 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.645e-05/0.1063, allocations: 17.08 kB / 477.7 MB, free: 12.88 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.806e-05/0.1064, allocations: 15.44 kB / 477.7 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1064, allocations: 0 / 477.7 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of Templates: time 0.005789/0.1122, allocations: 2.159 MB / 479.9 MB, free: 10.73 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.RestrictionTestSimple.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.562513853423297]
Failed to read output from testmodel.py, exit status != 0:
0.11969553586095572 0.136327847 0.037658539000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fc5ce6757b0>