Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.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.001387/0.001387, allocations: 110 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.001384/0.001384, allocations: 190.9 kB / 22.23 MB, free: 5.16 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo): time 0.008309/0.008309, allocations: 1.344 MB / 307.6 MB, free: 7.402 MB / 238.1 MB
"
[Timeout remaining time 180]
Using package BoundaryInitBlocks with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BoundaryInitBlocks 1.0.0-master/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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)
Ignoring simflag  -noemit -variableFilter=.* since it seems broken on HelloWorld
Running command: translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD")
translateModel(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 431.4 MB, free: 19.4 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.09781/0.0998, allocations: 52.49 MB / 483.9 MB, free: 14.81 MB / 350.1 MB
Notification: Performance of NFInst.instantiate(BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD): time 0.003201/0.103, allocations: 1.805 MB / 485.7 MB, free: 12.99 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001183/0.1042, allocations: 0.5534 MB / 486.3 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 7.002e-05/0.1043, allocations: 0 / 486.3 MB, free: 12.43 MB / 350.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000162/0.1044, allocations: 27.73 kB / 486.3 MB, free: 12.4 MB / 350.1 MB
Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.1045, allocations: 35.72 kB / 486.3 MB, free: 12.37 MB / 350.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002739/0.1048, allocations: 83.89 kB / 486.4 MB, free: 12.29 MB / 350.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002755/0.105, allocations: 179.3 kB / 486.6 MB, free: 12.11 MB / 350.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001449/0.1052, allocations: 41.55 kB / 486.6 MB, free: 12.07 MB / 350.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.95e-05/0.1053, allocations: 59.78 kB / 486.7 MB, free: 12.01 MB / 350.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001025/0.1054, allocations: 51.7 kB / 486.7 MB, free: 11.96 MB / 350.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.128e-05/0.1054, allocations: 12 kB / 486.8 MB, free: 11.95 MB / 350.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 2.098e-05/0.1054, allocations: 8 kB / 486.8 MB, free: 11.94 MB / 350.1 MB
Notification: Performance of NFScalarize.scalarize: time 4.643e-05/0.1055, allocations: 27.86 kB / 486.8 MB, free: 11.91 MB / 350.1 MB
Notification: Performance of NFVerifyModel.verify: time 7.386e-05/0.1056, allocations: 63.67 kB / 486.9 MB, free: 11.85 MB / 350.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002113/0.1058, allocations: 131.4 kB / 487 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1058, allocations: 0 / 487 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of FrontEnd: time 1.683e-06/0.1058, allocations: 0 / 487 MB, free: 11.72 MB / 350.1 MB
Notification: Performance of Transformations before backend: time 5.731e-06/0.1058, allocations: 4 kB / 487 MB, free: 11.71 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: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0006651/0.1065, allocations: 377.5 kB / 487.4 MB, free: 11.32 MB / 350.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.64e-05/0.1065, allocations: 8.031 kB / 487.4 MB, free: 11.31 MB / 350.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.398e-05/0.1065, allocations: 20.84 kB / 487.4 MB, free: 11.29 MB / 350.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1068, allocations: 155 kB / 487.5 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1068, allocations: 8.312 kB / 487.5 MB, free: 11.1 MB / 350.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.433e-05/0.1068, allocations: 12.38 kB / 487.6 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002997/0.1071, allocations: 121.8 kB / 487.7 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.1071, allocations: 0 / 487.7 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.1071, allocations: 0 / 487.7 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.1072, allocations: 4 kB / 487.7 MB, free: 10.96 MB / 350.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002299/0.1074, allocations: 71.94 kB / 487.8 MB, free: 10.89 MB / 350.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008195/0.1082, allocations: 483.6 kB / 488.2 MB, free: 10.37 MB / 350.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002044/0.1084, allocations: 70.55 kB / 488.3 MB, free: 10.29 MB / 350.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.1085, allocations: 36.95 kB / 488.3 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.1085, allocations: 0 / 488.3 MB, free: 10.25 MB / 350.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1086, allocations: 34.56 kB / 488.4 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.1086, allocations: 0 / 488.4 MB, free: 10.21 MB / 350.1 MB
Notification: Performance of matching and sorting (n=6): time 0.0004375/0.109, allocations: 137.4 kB / 488.5 MB, free: 10.07 MB / 350.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.312e-05/0.1091, allocations: 51.41 kB / 488.5 MB, free: 10 MB / 350.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001818/0.1092, allocations: 163 kB / 488.7 MB, free: 9.836 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.099e-05/0.1093, allocations: 29.7 kB / 488.7 MB, free: 9.801 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 8.873e-05/0.1094, allocations: 120 kB / 488.9 MB, free: 9.68 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 2.691e-05/0.1094, allocations: 23.8 kB / 488.9 MB, free: 9.656 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.874e-05/0.1095, allocations: 29.7 kB / 488.9 MB, free: 9.621 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001478/0.1096, allocations: 326.8 kB / 489.2 MB, free: 9.293 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.1097, allocations: 27.98 kB / 489.3 MB, free: 9.266 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001321/0.1098, allocations: 68.52 kB / 489.3 MB, free: 9.184 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002513/0.1101, allocations: 112.1 kB / 489.4 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.1101, allocations: 0 / 489.4 MB, free: 9.059 MB / 350.1 MB
Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003215/0.1104, allocations: 145.5 kB / 489.6 MB, free: 8.91 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1104, allocations: 4.094 kB / 489.6 MB, free: 8.906 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.1104, allocations: 11.88 kB / 489.6 MB, free: 8.895 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.1105, allocations: 0 / 489.6 MB, free: 8.895 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.1107, allocations: 39.97 kB / 489.6 MB, free: 8.855 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001121/0.1118, allocations: 1.294 MB / 490.9 MB, free: 7.453 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001032/0.1119, allocations: 15.88 kB / 490.9 MB, free: 7.438 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.029e-05/0.112, allocations: 4.156 kB / 490.9 MB, free: 7.434 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 (13):
 * Single equations (assignments): 12
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001386/0.1121, allocations: 138.7 kB / 491.1 MB, free: 7.289 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.369e-05/0.1121, allocations: 11.91 kB / 491.1 MB, free: 7.277 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.822e-05/0.1122, allocations: 21.39 kB / 491.1 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.273e-06/0.1122, allocations: 0 / 491.1 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-06/0.1122, allocations: 0 / 491.1 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.1122, allocations: 0 / 491.1 MB, free: 7.254 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005535/0.1127, allocations: 370.3 kB / 491.5 MB, free: 6.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/0.1127, allocations: 7.984 kB / 491.5 MB, free: 6.832 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.1129, allocations: 23.98 kB / 491.5 MB, free: 6.809 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.1129, allocations: 4 kB / 491.5 MB, free: 6.805 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.113, allocations: 0 / 491.5 MB, free: 6.805 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.1141, allocations: 1.313 MB / 492.8 MB, free: 5.379 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1141, allocations: 0 / 492.8 MB, free: 5.379 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004122/0.1145, allocations: 240.4 kB / 493.1 MB, free: 5.125 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 3.806e-05/0.1145, allocations: 11.94 kB / 493.1 MB, free: 5.113 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.696e-05/0.1145, allocations: 4 kB / 493.1 MB, free: 5.109 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001036/0.1146, allocations: 7.984 kB / 493.1 MB, free: 5.102 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.999e-05/0.1147, allocations: 15.98 kB / 493.1 MB, free: 5.086 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-06/0.1147, allocations: 0 / 493.1 MB, free: 5.086 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0001114/0.1148, allocations: 131.2 kB / 493.2 MB, free: 4.957 MB / 350.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.1148, allocations: 0 / 493.2 MB, free: 4.957 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002677/0.1151, allocations: 23.94 kB / 493.2 MB, free: 4.934 MB / 350.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 1 (tank.l)
 * 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: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 1
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 0 systems
 * Non-linear Jacobian (size): 1 system
   {1}
 * Without analytic Jacobian (size): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001112/0.1152, allocations: 103.2 kB / 493.3 MB, free: 4.824 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003721/0.1156, allocations: 87.88 kB / 493.4 MB, free: 4.738 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.1156, allocations: 4 kB / 493.4 MB, free: 4.734 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001828/0.1157, allocations: 47.89 kB / 493.5 MB, free: 4.688 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004358/0.1162, allocations: 49.72 kB / 493.5 MB, free: 4.645 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006579/0.1168, allocations: 341.2 kB / 493.9 MB, free: 4.281 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.1172, allocations: 0.7157 MB / 494.6 MB, free: 3.539 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 5.883e-05/0.1172, allocations: 8.969 kB / 494.6 MB, free: 3.527 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.218e-05/0.1173, allocations: 15.44 kB / 494.6 MB, free: 3.512 MB / 350.1 MB
Notification: Performance of SimCode: time 3.11e-07/0.1173, allocations: 4 kB / 494.6 MB, free: 3.508 MB / 350.1 MB
Notification: Performance of Templates: time 0.004458/0.1217, allocations: 1.547 MB / 496.2 MB, free: 2.008 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.makefile [Timeout 660]
(rm -f BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; mkfifo BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe ; head -c 1048576 < BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe >> ../files/BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.sim & ./BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD  -lv=LOG_STDOUT,LOG_ASSERT,LOG_STATS -s=dassl -abortSlowSimulation -alarm=480 -lv LOG_STATS > BoundaryInitBlocks_BoundaryInitBlocks.Examples.Tests.Hydraulics.InvertibleConfig.OL_Simulation_ON_BWD.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.502514882944524]
Failed to read output from testmodel.py, exit status != 0:
0.12913200538605452 0.14418421 0.035280619
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5b4293d7b0>