Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.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.001378/0.001378, 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.001793/0.001793, allocations: 192.4 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.478/1.478, 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.05966/0.05966, 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.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest")
translateModel(OpenHydraulics.DevelopmentTests.ShuttleValveTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest") [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.002272/0.002272, allocations: 71.88 kB / 416.8 MB, free: 42.39 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.08869/0.09097, allocations: 51.94 MB / 468.7 MB, free: 6.359 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value.
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Blocks/Sources.mo:517:5-517:73:writable] Warning: Parameter sine1.freqHz has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value.
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.ShuttleValveTest): time 0.00438/0.09535, allocations: 2.63 MB / 471.3 MB, free: 3.715 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003443/0.09879, allocations: 2.005 MB / 473.3 MB, free: 1.699 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.09908, allocations: 8 kB / 473.3 MB, free: 1.691 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0003915/0.09947, allocations: 59.48 kB / 473.4 MB, free: 1.633 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003725/0.09984, allocations: 111.1 kB / 473.5 MB, free: 1.523 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.1009, allocations: 386.5 kB / 473.9 MB, free: 1.145 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000396/0.1013, allocations: 302.4 kB / 474.2 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002062/0.1015, allocations: 66.62 kB / 474.2 MB, free: 0.7734 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001928/0.1017, allocations: 115.6 kB / 474.4 MB, free: 0.6602 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002207/0.1019, allocations: 123.4 kB / 474.5 MB, free: 0.5391 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1019, allocations: 20 kB / 474.5 MB, free: 0.5195 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003823/0.1023, allocations: 183.8 kB / 474.7 MB, free: 348 kB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.948e-05/0.1023, allocations: 51.83 kB / 474.7 MB, free: 296 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.1025, allocations: 131.3 kB / 474.9 MB, free: 164 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005788/0.1031, allocations: 362.6 kB / 475.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.1031, allocations: 0 / 475.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.303e-06/0.1031, allocations: 0 / 475.2 MB, free: 15.8 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 6.963e-06/0.1031, allocations: 0 / 475.2 MB, free: 15.8 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: 42
 * Number of variables: 42
Notification: Performance of Generate backend data structure: time 0.0008346/0.1039, allocations: 496.6 kB / 475.7 MB, free: 15.29 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.104, allocations: 15.98 kB / 475.7 MB, free: 15.27 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.25e-05/0.104, allocations: 32.73 kB / 475.7 MB, free: 15.24 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003144/0.1043, allocations: 206 kB / 475.9 MB, free: 15.02 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/0.1044, allocations: 12.38 kB / 476 MB, free: 15 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.727e-05/0.1044, allocations: 16.12 kB / 476 MB, free: 14.99 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004084/0.1048, allocations: 215.7 kB / 476.2 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.1048, allocations: 3.984 kB / 476.2 MB, free: 14.76 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.1048, allocations: 16 kB / 476.2 MB, free: 14.74 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1048, allocations: 7.984 kB / 476.2 MB, free: 14.73 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003424/0.1052, allocations: 155.9 kB / 476.4 MB, free: 14.58 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001407/0.1066, allocations: 0.9213 MB / 477.3 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.107, allocations: 102.6 kB / 477.4 MB, free: 13.46 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.1071, allocations: 44.83 kB / 477.4 MB, free: 13.41 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.238e-05/0.1072, allocations: 8 kB / 477.4 MB, free: 13.4 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.1072, allocations: 42.44 kB / 477.5 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.1072, allocations: 0 / 477.5 MB, free: 13.35 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11): time 0.002137/0.1093, allocations: 0.5202 MB / 478 MB, free: 12.82 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.126e-05/0.1094, allocations: 55.34 kB / 478.1 MB, free: 12.76 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002826/0.1097, allocations: 257.9 kB / 478.3 MB, free: 12.5 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1097, allocations: 25.7 kB / 478.3 MB, free: 12.46 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.1098, allocations: 164.1 kB / 478.5 MB, free: 12.3 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.1099, allocations: 51.64 kB / 478.5 MB, free: 12.25 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.147e-05/0.1099, allocations: 33.7 kB / 478.6 MB, free: 12.21 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001803/0.1101, allocations: 334.8 kB / 478.9 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.1103, allocations: 67.95 kB / 479 MB, free: 11.81 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.1105, allocations: 105.8 kB / 479.1 MB, free: 11.69 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003737/0.1109, allocations: 168.2 kB / 479.2 MB, free: 11.51 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1109, allocations: 3.938 kB / 479.2 MB, free: 11.51 MB / 350.1 MB
Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004842/0.1114, allocations: 221.3 kB / 479.5 MB, free: 11.29 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.1114, allocations: 8 kB / 479.5 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1114, allocations: 0 / 479.5 MB, free: 11.28 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.1114, allocations: 4.125 kB / 479.5 MB, free: 11.27 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.1116, allocations: 47.91 kB / 479.5 MB, free: 11.23 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.1116, allocations: 4 kB / 479.5 MB, free: 11.22 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/0.1118, allocations: 11.98 kB / 479.5 MB, free: 11.21 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1118, allocations: 7.984 kB / 479.5 MB, free: 11.2 MB / 350.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 5
 * 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 (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 prepare postOptimizeDAE: time 0.0001343/0.1119, allocations: 137.8 kB / 479.7 MB, free: 11.06 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.687e-05/0.112, allocations: 23.8 kB / 479.7 MB, free: 11.04 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004758/0.1124, allocations: 196.2 kB / 479.9 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.1125, allocations: 4 kB / 479.9 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1125, allocations: 0 / 479.9 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.1125, allocations: 0 / 479.9 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.1128, allocations: 260.5 kB / 480.1 MB, free: 10.54 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1128, allocations: 0 / 480.1 MB, free: 10.54 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1129, allocations: 35.91 kB / 480.2 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.113, allocations: 4 kB / 480.2 MB, free: 10.5 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.113, allocations: 4 kB / 480.2 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.113, allocations: 0 / 480.2 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.113, allocations: 3.984 kB / 480.2 MB, free: 10.49 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.1134, allocations: 275.3 kB / 480.5 MB, free: 10.2 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 8.223e-05/0.1135, allocations: 35.83 kB / 480.5 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.236e-05/0.1136, allocations: 0 / 480.5 MB, free: 10.17 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.1137, allocations: 19.92 kB / 480.5 MB, free: 10.15 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.951e-05/0.1138, allocations: 7.984 kB / 480.5 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.557e-05/0.1138, allocations: 4 kB / 480.5 MB, free: 10.14 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001804/0.114, allocations: 185.2 kB / 480.7 MB, free: 9.961 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.114, allocations: 0 / 480.7 MB, free: 9.961 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0003858/0.1143, allocations: 91.8 kB / 480.8 MB, free: 9.871 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 (11):
 * Single equations (assignments): 11
 * 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.0002807/0.1146, allocations: 171 kB / 481 MB, free: 9.695 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004545/0.1151, allocations: 152 kB / 481.1 MB, free: 9.547 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.1151, allocations: 0 / 481.1 MB, free: 9.547 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.1153, allocations: 71.88 kB / 481.2 MB, free: 9.477 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.1157, allocations: 69.22 kB / 481.2 MB, free: 9.41 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000947/0.1166, allocations: 453 kB / 481.7 MB, free: 8.941 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003916/0.117, allocations: 0.7401 MB / 482.4 MB, free: 8.176 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001246/0.1171, allocations: 29.94 kB / 482.5 MB, free: 8.145 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.582e-05/0.1172, allocations: 27.42 kB / 482.5 MB, free: 8.117 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1172, allocations: 7.875 kB / 482.5 MB, free: 8.109 MB / 350.1 MB
Notification: Performance of Templates: time 0.00885/0.1261, allocations: 3.907 MB / 486.4 MB, free: 4.234 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.ShuttleValveTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.60271249897778]
Failed to read output from testmodel.py, exit status != 0:
0.13446501176804304 0.149247024 0.043015534
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f6338e217b0>