Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.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.001768/0.001768, allocations: 109 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.002014/0.002014, allocations: 191.8 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.424/1.424, 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.06173/0.06173, 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.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest")
translateModel(OpenHydraulics.DevelopmentTests.ThrottleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest") [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.002347/0.002347, allocations: 71.91 kB / 416.8 MB, free: 42.28 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08291/0.08526, allocations: 51.95 MB / 468.7 MB, free: 6.242 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ThrottleValveTest): time 0.003304/0.08856, allocations: 1.943 MB / 470.6 MB, free: 4.285 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002847/0.09141, allocations: 1.889 MB / 472.5 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.09154, allocations: 0 / 472.5 MB, free: 2.387 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000249/0.09179, allocations: 39.69 kB / 472.6 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003162/0.09211, allocations: 95.33 kB / 472.7 MB, free: 2.254 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008784/0.09299, allocations: 354.6 kB / 473 MB, free: 1.906 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002827/0.09327, allocations: 171.1 kB / 473.2 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.09339, allocations: 29.66 kB / 473.2 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.724e-05/0.09348, allocations: 59.78 kB / 473.3 MB, free: 1.648 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.09359, allocations: 67.72 kB / 473.3 MB, free: 1.582 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.086e-05/0.09361, allocations: 12 kB / 473.3 MB, free: 1.57 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.09409, allocations: 235.7 kB / 473.6 MB, free: 1.34 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.003e-05/0.09412, allocations: 23.88 kB / 473.6 MB, free: 1.316 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 8.928e-05/0.09421, allocations: 71.66 kB / 473.7 MB, free: 1.246 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.09467, allocations: 287 kB / 473.9 MB, free: 0.9648 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.09467, allocations: 3.984 kB / 474 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.163e-06/0.09467, allocations: 0 / 474 MB, free: 0.9609 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 5.34e-06/0.09468, allocations: 0 / 474 MB, free: 0.9609 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: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0006283/0.09531, allocations: 397.2 kB / 474.3 MB, free: 0.543 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.09535, allocations: 11.98 kB / 474.4 MB, free: 0.5312 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.643e-05/0.0954, allocations: 20.84 kB / 474.4 MB, free: 0.5117 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.09572, allocations: 162.2 kB / 474.5 MB, free: 336 kB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.09574, allocations: 8.375 kB / 474.5 MB, free: 328 kB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.609e-05/0.09577, allocations: 16.12 kB / 474.6 MB, free: 312 kB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000253/0.09602, allocations: 121.6 kB / 474.7 MB, free: 184 kB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.141e-05/0.09603, allocations: 3.938 kB / 474.7 MB, free: 180 kB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.09605, allocations: 4 kB / 474.7 MB, free: 176 kB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.09606, allocations: 4 kB / 474.7 MB, free: 172 kB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002438/0.0963, allocations: 119.8 kB / 474.8 MB, free: 52 kB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001121/0.09742, allocations: 0.5607 MB / 475.4 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.09757, allocations: 58.56 kB / 475.4 MB, free: 15.36 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.273e-05/0.09763, allocations: 24.91 kB / 475.4 MB, free: 15.33 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.903e-05/0.09772, allocations: 19.98 kB / 475.5 MB, free: 15.31 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.09775, allocations: 30.56 kB / 475.5 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.09775, allocations: 0 / 475.5 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0003011/0.09805, allocations: 93.59 kB / 475.6 MB, free: 15.17 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/0.0981, allocations: 59.39 kB / 475.6 MB, free: 15.1 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002242/0.09832, allocations: 199.8 kB / 475.8 MB, free: 14.89 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.821e-05/0.09834, allocations: 25.7 kB / 475.9 MB, free: 14.86 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.09844, allocations: 131.9 kB / 476 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.385e-05/0.09846, allocations: 27.78 kB / 476 MB, free: 14.7 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/0.09853, allocations: 29.7 kB / 476 MB, free: 14.67 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000152/0.09868, allocations: 326.8 kB / 476.4 MB, free: 14.34 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.248e-05/0.09876, allocations: 35.86 kB / 476.4 MB, free: 14.3 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.417e-05/0.09883, allocations: 27.98 kB / 476.4 MB, free: 14.28 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001339/0.09897, allocations: 56.86 kB / 476.5 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.09897, allocations: 0 / 476.5 MB, free: 14.22 MB / 350.1 MB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002092/0.09918, allocations: 113.5 kB / 476.6 MB, free: 14.1 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.09919, allocations: 12.03 kB / 476.6 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.0992, allocations: 3.938 kB / 476.6 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.09921, allocations: 0 / 476.6 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.09932, allocations: 19.98 kB / 476.6 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.09932, allocations: 0 / 476.6 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.953e-05/0.09939, allocations: 15.89 kB / 476.6 MB, free: 14.05 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.371e-05/0.09941, allocations: 3.984 kB / 476.6 MB, free: 14.05 MB / 350.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 (10):
 * Single equations (assignments): 10
 * 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.0001103/0.09953, allocations: 129.7 kB / 476.8 MB, free: 13.91 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.09956, allocations: 11.91 kB / 476.8 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002546/0.09982, allocations: 103 kB / 476.9 MB, free: 13.79 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.09982, allocations: 4 kB / 476.9 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.09983, allocations: 0 / 476.9 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.09983, allocations: 0 / 476.9 MB, free: 13.78 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005116/0.1003, allocations: 358.3 kB / 477.2 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1003, allocations: 320 / 477.2 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.3e-05/0.1004, allocations: 19.98 kB / 477.3 MB, free: 13.36 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.1004, allocations: 8.031 kB / 477.3 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.406e-06/0.1004, allocations: 0 / 477.3 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1004, allocations: 0 / 477.3 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.1004, allocations: 7.938 kB / 477.3 MB, free: 13.34 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.1006, allocations: 184.3 kB / 477.5 MB, free: 13.14 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 4.999e-05/0.1007, allocations: 15.94 kB / 477.5 MB, free: 13.13 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.862e-05/0.1007, allocations: 7.984 kB / 477.5 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.114e-05/0.1008, allocations: 4 kB / 477.5 MB, free: 13.12 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.916e-05/0.1008, allocations: 3.938 kB / 477.5 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1008, allocations: 4 kB / 477.5 MB, free: 13.11 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001488/0.101, allocations: 155 kB / 477.6 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.101, allocations: 0 / 477.6 MB, free: 12.96 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003844/0.1014, allocations: 87.69 kB / 477.7 MB, free: 12.87 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 (5):
 * Single equations (assignments): 5
 * 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.0002986/0.1017, allocations: 186.8 kB / 477.9 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.000201/0.1019, allocations: 55.97 kB / 478 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1019, allocations: 0 / 478 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 5.41e-05/0.1019, allocations: 20.12 kB / 478 MB, free: 12.6 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.1023, allocations: 48.03 kB / 478 MB, free: 12.55 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005194/0.1028, allocations: 267.5 kB / 478.3 MB, free: 12.27 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.1031, allocations: 0.7086 MB / 479 MB, free: 11.53 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 7.49e-05/0.1032, allocations: 25.47 kB / 479 MB, free: 11.51 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.442e-05/0.1033, allocations: 19.44 kB / 479 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of SimCode: time 3.2e-07/0.1033, allocations: 0 / 479 MB, free: 11.49 MB / 350.1 MB
Notification: Performance of Templates: time 0.00745/0.1107, allocations: 3.396 MB / 482.4 MB, free: 8.133 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ThrottleValveTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.591078247874975]
Failed to read output from testmodel.py, exit status != 0:
0.11838630773127079 0.134457119 0.036497742
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa8a7c297b0>