Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.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.001859/0.001859, allocations: 113.9 kB / 18.94 MB, free: 2.785 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.002088/0.002088, allocations: 191 kB / 22.23 MB, free: 5.227 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.448/1.448, 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.06365/0.06365, 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.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple")
translateModel(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple") [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.002372/0.002372, allocations: 79.88 kB / 416.8 MB, free: 42.39 MB / 318.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09144/0.09381, allocations: 51.94 MB / 468.7 MB, free: 6.359 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple): time 0.004423/0.09824, allocations: 2.436 MB / 471.1 MB, free: 3.902 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003339/0.1016, allocations: 2.158 MB / 473.3 MB, free: 1.738 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.1017, allocations: 4 kB / 473.3 MB, free: 1.734 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004074/0.1021, allocations: 83.45 kB / 473.4 MB, free: 1.652 MB / 334.1 MB
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'.
Notification: Performance of NFTyping.typeBindings: time 0.0003516/0.1025, allocations: 115.2 kB / 473.5 MB, free: 1.539 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1036, allocations: 414.5 kB / 473.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0003799/0.1039, allocations: 246.8 kB / 474.1 MB, free: 0.8906 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001413/0.1041, allocations: 44.42 kB / 474.2 MB, free: 0.8477 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/0.1043, allocations: 95.62 kB / 474.3 MB, free: 0.7539 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.1045, allocations: 107.5 kB / 474.4 MB, free: 0.6484 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.1045, allocations: 12 kB / 474.4 MB, free: 0.6367 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.1049, allocations: 207.8 kB / 474.6 MB, free: 444 kB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.537e-05/0.105, allocations: 47.72 kB / 474.6 MB, free: 396 kB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001229/0.1051, allocations: 99.41 kB / 474.7 MB, free: 296 kB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.1057, allocations: 354.7 kB / 475.1 MB, free: 15.94 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1057, allocations: 4 kB / 475.1 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.513e-06/0.1057, allocations: 0 / 475.1 MB, free: 15.93 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.841e-06/0.1057, allocations: 0 / 475.1 MB, free: 15.93 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: 31
 * Number of variables: 31
Notification: Performance of Generate backend data structure: time 0.0008745/0.1066, allocations: 496.4 kB / 475.6 MB, free: 15.42 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/0.1066, allocations: 15.98 kB / 475.6 MB, free: 15.41 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.884e-05/0.1067, allocations: 24.8 kB / 475.6 MB, free: 15.38 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003987/0.1071, allocations: 201.1 kB / 475.8 MB, free: 15.16 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.279e-05/0.1071, allocations: 15.94 kB / 475.8 MB, free: 15.14 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.662e-05/0.1071, allocations: 19.88 kB / 475.8 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003497/0.1075, allocations: 153.6 kB / 476 MB, free: 14.97 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1075, allocations: 4 kB / 476 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.1075, allocations: 4 kB / 476 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.1075, allocations: 4 kB / 476 MB, free: 14.96 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000374/0.1079, allocations: 151.8 kB / 476.2 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001111/0.109, allocations: 0.6616 MB / 476.8 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002801/0.1093, allocations: 102.5 kB / 476.9 MB, free: 13.96 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.1094, allocations: 52.97 kB / 477 MB, free: 13.9 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.138e-05/0.1095, allocations: 11.98 kB / 477 MB, free: 13.89 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.1095, allocations: 30.56 kB / 477 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.1095, allocations: 4 kB / 477 MB, free: 13.85 MB / 350.1 MB
Notification: Performance of matching and sorting (n=11): time 0.001496/0.111, allocations: 408.9 kB / 477.4 MB, free: 13.44 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.67e-05/0.1111, allocations: 51.41 kB / 477.5 MB, free: 13.38 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.1114, allocations: 277.9 kB / 477.7 MB, free: 13.09 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.768e-05/0.1114, allocations: 33.7 kB / 477.8 MB, free: 13.05 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.1115, allocations: 143.9 kB / 477.9 MB, free: 12.91 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.16e-05/0.1116, allocations: 43.67 kB / 477.9 MB, free: 12.86 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.856e-05/0.1117, allocations: 41.66 kB / 478 MB, free: 12.82 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.000166/0.1118, allocations: 338.8 kB / 478.3 MB, free: 12.48 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002096/0.112, allocations: 55.95 kB / 478.4 MB, free: 12.42 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.1123, allocations: 103.4 kB / 478.5 MB, free: 12.31 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.1127, allocations: 160.1 kB / 478.6 MB, free: 12.14 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.1127, allocations: 4 kB / 478.6 MB, free: 12.13 MB / 350.1 MB
Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005505/0.1133, allocations: 209.3 kB / 478.8 MB, free: 11.92 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.1133, allocations: 8 kB / 478.8 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1133, allocations: 0.5625 kB / 478.8 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.1133, allocations: 7.984 kB / 478.9 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002392/0.1135, allocations: 48.02 kB / 478.9 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.1135, allocations: 4 kB / 478.9 MB, free: 11.86 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.1137, allocations: 19.92 kB / 478.9 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.556e-05/0.1137, allocations: 4 kB / 478.9 MB, free: 11.83 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: 1 (leakage.data.zetaLaminarKnown)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (16):
 * Single equations (assignments): 16
 * 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.0001537/0.1139, allocations: 141.8 kB / 479.1 MB, free: 11.68 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.188e-05/0.1139, allocations: 23.86 kB / 479.1 MB, free: 11.66 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005769/0.1145, allocations: 199.2 kB / 479.3 MB, free: 11.46 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1145, allocations: 4 kB / 479.3 MB, free: 11.45 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1145, allocations: 0 / 479.3 MB, free: 11.45 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.1145, allocations: 3.938 kB / 479.3 MB, free: 11.45 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003925/0.1149, allocations: 232.6 kB / 479.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.1149, allocations: 0 / 479.5 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1151, allocations: 35.97 kB / 479.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1151, allocations: 0 / 479.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.1151, allocations: 8 kB / 479.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.1151, allocations: 0 / 479.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.1151, allocations: 3.938 kB / 479.6 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005397/0.1157, allocations: 283.2 kB / 479.8 MB, free: 10.84 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.1157, allocations: 35.83 kB / 479.9 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1158, allocations: 4 kB / 479.9 MB, free: 10.8 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.1159, allocations: 11.98 kB / 479.9 MB, free: 10.79 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.116, allocations: 7.984 kB / 479.9 MB, free: 10.78 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.116, allocations: 7.938 kB / 479.9 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0002136/0.1162, allocations: 205.2 kB / 480.1 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.1162, allocations: 0 / 480.1 MB, free: 10.58 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.000389/0.1166, allocations: 87.8 kB / 480.2 MB, free: 10.49 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 (12):
 * Single equations (assignments): 12
 * 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.001449/0.1181, allocations: 410.7 kB / 480.6 MB, free: 10.19 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005198/0.1186, allocations: 143.8 kB / 480.7 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.1186, allocations: 0 / 480.7 MB, free: 10.05 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002177/0.1188, allocations: 68.2 kB / 480.8 MB, free: 9.984 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004421/0.1192, allocations: 62.42 kB / 480.9 MB, free: 9.926 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007803/0.12, allocations: 395.9 kB / 481.3 MB, free: 9.516 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004085/0.1204, allocations: 0.7359 MB / 482 MB, free: 8.754 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 0.0001267/0.1206, allocations: 33.94 kB / 482 MB, free: 8.719 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.913e-05/0.1206, allocations: 23.42 kB / 482 MB, free: 8.695 MB / 350.1 MB
Notification: Performance of SimCode: time 3.31e-07/0.1206, allocations: 3.938 kB / 482 MB, free: 8.691 MB / 350.1 MB
Notification: Performance of Templates: time 0.00875/0.1294, allocations: 3.917 MB / 486 MB, free: 4.785 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.makefile [Timeout 660]
(rm -f OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; mkfifo OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe ; head -c 1048576 < OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe >> ../files/OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.sim & ./OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple  -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenHydraulics_OpenHydraulics.DevelopmentTests.VariableRestrictionTestSimple.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.702407076023519]
Failed to read output from testmodel.py, exit status != 0:
0.1373681128025055 0.153434056 0.044481574
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8b088717b0>