Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.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.001337/0.001337, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.00154/0.00154, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.465/1.465, allocations: 207.6 MB / 233 MB, free: 10.02 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.859 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.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest")
translateModel(OpenHydraulics.DevelopmentTests.TankTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest") [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.002239/0.002239, allocations: 72.44 kB / 416.8 MB, free: 42.41 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.07923/0.08147, allocations: 51.94 MB / 468.7 MB, free: 6.383 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.TankTest): time 0.003341/0.08481, allocations: 1.955 MB / 470.6 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001056/0.08587, allocations: 0.6241 MB / 471.3 MB, free: 3.785 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 8.158e-05/0.08595, allocations: 4 kB / 471.3 MB, free: 3.781 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 4.915e-05/0.086, allocations: 15.84 kB / 471.3 MB, free: 3.766 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003202/0.08632, allocations: 75.47 kB / 471.4 MB, free: 3.691 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 9.198e-05/0.08641, allocations: 19.97 kB / 471.4 MB, free: 3.672 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002426/0.08665, allocations: 135.2 kB / 471.5 MB, free: 3.539 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.08675, allocations: 19.97 kB / 471.5 MB, free: 3.52 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.08686, allocations: 59.78 kB / 471.6 MB, free: 3.461 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.08698, allocations: 47.78 kB / 471.6 MB, free: 3.414 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.087, allocations: 4 kB / 471.6 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.591e-05/0.08706, allocations: 20 kB / 471.7 MB, free: 3.391 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.08709, allocations: 11.92 kB / 471.7 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.879e-05/0.08716, allocations: 63.66 kB / 471.7 MB, free: 3.316 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0001873/0.08734, allocations: 103.6 kB / 471.8 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.08735, allocations: 0 / 471.8 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.162e-06/0.08735, allocations: 0 / 471.8 MB, free: 3.215 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.009e-06/0.08735, allocations: 0 / 471.8 MB, free: 3.215 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: 17
 * Number of variables: 17
Notification: Performance of Generate backend data structure: time 0.0005578/0.08791, allocations: 351.5 kB / 472.2 MB, free: 2.836 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.08795, allocations: 15.98 kB / 472.2 MB, free: 2.82 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.08799, allocations: 12.83 kB / 472.2 MB, free: 2.809 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.08824, allocations: 134.4 kB / 472.3 MB, free: 2.652 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.08825, allocations: 8.375 kB / 472.4 MB, free: 2.645 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.731e-05/0.08827, allocations: 12.12 kB / 472.4 MB, free: 2.633 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.08844, allocations: 89.58 kB / 472.4 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.08845, allocations: 0 / 472.4 MB, free: 2.539 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.08847, allocations: 3.938 kB / 472.5 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.08847, allocations: 4 kB / 472.5 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001061/0.08858, allocations: 47.98 kB / 472.5 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006755/0.08925, allocations: 462.2 kB / 473 MB, free: 1.965 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.026e-05/0.08934, allocations: 42.56 kB / 473 MB, free: 1.914 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 3.546e-05/0.08938, allocations: 16.98 kB / 473 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.317e-05/0.08939, allocations: 0 / 473 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.08942, allocations: 34.55 kB / 473 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.08943, allocations: 0 / 473 MB, free: 1.852 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0002572/0.08968, allocations: 107.2 kB / 473.2 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.725e-05/0.08974, allocations: 81.11 kB / 473.2 MB, free: 1.637 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001702/0.08991, allocations: 162.2 kB / 473.4 MB, free: 1.465 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.08993, allocations: 29.7 kB / 473.4 MB, free: 1.43 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.178e-05/0.09, allocations: 104 kB / 473.5 MB, free: 1.324 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.135e-05/0.09003, allocations: 15.8 kB / 473.5 MB, free: 1.309 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.09008, allocations: 29.7 kB / 473.6 MB, free: 1.273 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001693/0.09025, allocations: 322.8 kB / 473.9 MB, free: 0.9492 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 3.896e-05/0.09028, allocations: 12 kB / 473.9 MB, free: 0.9375 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.444e-05/0.09032, allocations: 15.98 kB / 473.9 MB, free: 0.9219 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001171/0.09044, allocations: 100.2 kB / 474 MB, free: 0.8086 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.09044, allocations: 4 kB / 474 MB, free: 0.8047 MB / 334.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001626/0.0906, allocations: 111.3 kB / 474.1 MB, free: 0.6836 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.09064, allocations: 39.03 kB / 474.2 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.09064, allocations: 0 / 474.2 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.09066, allocations: 0 / 474.2 MB, free: 0.6406 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001057/0.09077, allocations: 12 kB / 474.2 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.09077, allocations: 240 / 474.2 MB, free: 0.6289 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.896e-05/0.09084, allocations: 12.2 kB / 474.2 MB, free: 0.6172 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.257e-06/0.09085, allocations: 3.984 kB / 474.2 MB, free: 0.6133 MB / 334.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * 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 initialization (8):
 * Single equations (assignments): 7
 * 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.0001134/0.09096, allocations: 143.5 kB / 474.3 MB, free: 468 kB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.036e-05/0.091, allocations: 23.83 kB / 474.3 MB, free: 444 kB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.0912, allocations: 119.6 kB / 474.5 MB, free: 308 kB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.0912, allocations: 0 / 474.5 MB, free: 308 kB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.09121, allocations: 0 / 474.5 MB, free: 308 kB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.09121, allocations: 3.984 kB / 474.5 MB, free: 304 kB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004267/0.09164, allocations: 360 kB / 474.8 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.09164, allocations: 0 / 474.8 MB, free: 15.89 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.425e-05/0.0917, allocations: 12.03 kB / 474.8 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.0917, allocations: 0 / 474.8 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-06/0.09171, allocations: 0 / 474.8 MB, free: 15.88 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.09171, allocations: 4 kB / 474.8 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.09171, allocations: 0 / 474.8 MB, free: 15.87 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.09192, allocations: 217.9 kB / 475 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.436e-05/0.09197, allocations: 15.94 kB / 475.1 MB, free: 15.62 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.348e-05/0.09199, allocations: 8 kB / 475.1 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.396e-05/0.09208, allocations: 0 / 475.1 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.813e-05/0.09209, allocations: 0 / 475.1 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.0921, allocations: 4 kB / 475.1 MB, free: 15.61 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001127/0.09221, allocations: 131.1 kB / 475.2 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.09221, allocations: 0 / 475.2 MB, free: 15.48 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002559/0.09247, allocations: 31.89 kB / 475.2 MB, free: 15.45 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * 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 simulation (6):
 * Single equations (assignments): 5
 * 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.0001406/0.09261, allocations: 107.2 kB / 475.3 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0001827/0.09279, allocations: 107.3 kB / 475.4 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.0928, allocations: 0 / 475.4 MB, free: 15.21 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.09287, allocations: 67.41 kB / 475.5 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003215/0.09319, allocations: 36.23 kB / 475.5 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004569/0.09365, allocations: 236 kB / 475.8 MB, free: 14.84 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.094, allocations: 0.6967 MB / 476.5 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.947e-05/0.09406, allocations: 13.09 kB / 476.5 MB, free: 14.11 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.583e-05/0.0941, allocations: 15.42 kB / 476.5 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.0941, allocations: 0 / 476.5 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of Templates: time 0.004813/0.09891, allocations: 1.75 MB / 478.2 MB, free: 12.37 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.TankTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.60798873193562]
Failed to read output from testmodel.py, exit status != 0:
0.10627014003694057 0.12248684300000001 0.031848514
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f4c729457b0>