Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.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.001439/0.001439, allocations: 114.8 kB / 19.69 MB, free: 2.188 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.001221/0.001221, allocations: 183.8 kB / 22.98 MB, free: 5.008 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.286/1.286, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 179]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8704/0.8704, allocations: 149.6 MB / 456.6 MB, free: 1.223 MB / 350.1 MB
"
[Timeout remaining time 179]
Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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)
Running command: translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer")
translateModel(IBPSA.Controls.Continuous.Examples.OffTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 73.55 kB / 0.6328 GB, free: 9.039 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1538, allocations: 87.86 MB / 0.7186 GB, free: 1.086 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.OffTimer): time 0.002681/0.1565, allocations: 1.477 MB / 0.7201 GB, free: 15.6 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.0007638/0.1573, allocations: 454.9 kB / 0.7205 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/0.1573, allocations: 0 / 0.7205 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.1573, allocations: 3.938 kB / 0.7205 GB, free: 15.15 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.1574, allocations: 3.938 kB / 0.7205 GB, free: 15.14 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0001317/0.1575, allocations: 19.92 kB / 0.7205 GB, free: 15.12 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 8.647e-05/0.1576, allocations: 63.77 kB / 0.7206 GB, free: 15.06 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.1577, allocations: 11.98 kB / 0.7206 GB, free: 15.05 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.1578, allocations: 19.98 kB / 0.7206 GB, free: 15.03 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 6.083e-05/0.1578, allocations: 23.8 kB / 0.7206 GB, free: 15.01 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.1579, allocations: 4 kB / 0.7206 GB, free: 15 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.037e-05/0.1579, allocations: 8 kB / 0.7207 GB, free: 15 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 2.229e-05/0.1579, allocations: 15.98 kB / 0.7207 GB, free: 14.98 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.1579, allocations: 19.86 kB / 0.7207 GB, free: 14.96 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 9.723e-05/0.158, allocations: 43.88 kB / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.158, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.011e-06/0.158, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 5.23e-06/0.158, allocations: 0 / 0.7207 GB, free: 14.92 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 10
 * Number of variables: 10
Notification: Performance of Generate backend data structure: time 0.0004711/0.1585, allocations: 290.1 kB / 0.721 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.1585, allocations: 8.625 kB / 0.721 GB, free: 14.6 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/0.1586, allocations: 16.89 kB / 0.721 GB, free: 14.59 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.1587, allocations: 106.5 kB / 0.7211 GB, free: 14.46 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.1587, allocations: 4.375 kB / 0.7211 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.508e-05/0.1587, allocations: 8.312 kB / 0.7211 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001098/0.1588, allocations: 61.98 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.1589, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.1589, allocations: 3.984 kB / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.376e-06/0.1589, allocations: 0 / 0.7212 GB, free: 14.38 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.064e-05/0.1589, allocations: 27.98 kB / 0.7212 GB, free: 14.35 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004622/0.1594, allocations: 283.6 kB / 0.7215 GB, free: 14.03 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001019/0.1595, allocations: 50.56 kB / 0.7216 GB, free: 13.97 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 4.465e-05/0.1595, allocations: 24.94 kB / 0.7216 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.1595, allocations: 0 / 0.7216 GB, free: 13.94 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/0.1597, allocations: 75.42 kB / 0.7216 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.1597, allocations: 0 / 0.7216 GB, free: 13.86 MB / 0.545 GB
Notification: Performance of matching and sorting (n=9): time 0.0002185/0.1599, allocations: 105.5 kB / 0.7217 GB, free: 13.75 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.16, allocations: 59.41 kB / 0.7218 GB, free: 13.68 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.253e-05/0.16, allocations: 101.8 kB / 0.7219 GB, free: 13.57 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.1601, allocations: 29.7 kB / 0.7219 GB, free: 13.53 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 4.75e-05/0.1601, allocations: 88.12 kB / 0.722 GB, free: 13.44 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.1601, allocations: 19.86 kB / 0.722 GB, free: 13.42 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.723e-05/0.1602, allocations: 33.7 kB / 0.7221 GB, free: 13.38 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001218/0.1603, allocations: 314.8 kB / 0.7224 GB, free: 13.07 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 4.177e-05/0.1603, allocations: 23.98 kB / 0.7224 GB, free: 13.04 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.735e-05/0.1604, allocations: 39.42 kB / 0.7224 GB, free: 12.99 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.1605, allocations: 63.38 kB / 0.7225 GB, free: 12.92 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.1605, allocations: 4 kB / 0.7225 GB, free: 12.91 MB / 0.545 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001434/0.1606, allocations: 101.5 kB / 0.7226 GB, free: 12.81 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.1606, allocations: 8 kB / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-06/0.1607, allocations: 0 / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1607, allocations: 0 / 0.7226 GB, free: 12.8 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.02e-05/0.1607, allocations: 8 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.1607, allocations: 7.984 kB / 0.7226 GB, free: 12.79 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.269e-05/0.1608, allocations: 7.938 kB / 0.7226 GB, free: 12.78 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.1608, allocations: 8.062 kB / 0.7226 GB, free: 12.77 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * Number of states: 0 ()
 * Number of discrete variables: 10 ($whenCondition1,not1.y,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,$whenCondition2,$whenCondition3,offTim1.entryTime,$PRE.offTim1.entryTime,offTim2.entryTime,$PRE.offTim2.entryTime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.874e-05/0.1609, allocations: 125.8 kB / 0.7227 GB, free: 12.64 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.1609, allocations: 12.23 kB / 0.7228 GB, free: 12.62 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.364e-05/0.1609, allocations: 12.05 kB / 0.7228 GB, free: 12.61 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.1609, allocations: 7.922 kB / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1609, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.161, allocations: 0 / 0.7228 GB, free: 12.6 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003887/0.1613, allocations: 329.5 kB / 0.7231 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1613, allocations: 0 / 0.7231 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.537e-05/0.1614, allocations: 8 kB / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.1614, allocations: 480 / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.171e-06/0.1614, allocations: 0 / 0.7231 GB, free: 12.22 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.658e-06/0.1614, allocations: 3.938 kB / 0.7231 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.1614, allocations: 0 / 0.7231 GB, free: 12.21 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.1615, allocations: 187.4 kB / 0.7233 GB, free: 12.02 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 9.788e-06/0.1616, allocations: 7.953 kB / 0.7233 GB, free: 12.01 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.674e-05/0.1616, allocations: 7.984 kB / 0.7233 GB, free: 12 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.1617, allocations: 11.94 kB / 0.7233 GB, free: 11.99 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1617, allocations: 7.984 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.742e-06/0.1617, allocations: 4 kB / 0.7233 GB, free: 11.98 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 4.585e-05/0.1618, allocations: 91.2 kB / 0.7234 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of sort global known variables: time 8e-08/0.1618, allocations: 0 / 0.7234 GB, free: 11.89 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002357/0.162, allocations: 12 kB / 0.7234 GB, free: 11.88 MB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,offTim1.entryTime,offTim2.entryTime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (9):
 * Single equations (assignments): 6
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 3
 * 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 8.03e-05/0.1621, allocations: 95.25 kB / 0.7235 GB, free: 11.77 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0001387/0.1622, allocations: 55.92 kB / 0.7236 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.1622, allocations: 0 / 0.7236 GB, free: 11.72 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 5.212e-05/0.1623, allocations: 27.92 kB / 0.7236 GB, free: 11.69 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.1625, allocations: 12.14 kB / 0.7236 GB, free: 11.68 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.1629, allocations: 161.3 kB / 0.7238 GB, free: 11.5 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002884/0.1632, allocations: 0.6878 MB / 0.7244 GB, free: 10.79 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 2.607e-05/0.1632, allocations: 12.05 kB / 0.7244 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.789e-05/0.1632, allocations: 11.44 kB / 0.7244 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of SimCode: time 2.81e-07/0.1632, allocations: 0 / 0.7244 GB, free: 10.77 MB / 0.545 GB
Notification: Performance of Templates: time 0.003043/0.1663, allocations: 0.8139 MB / 0.7252 GB, free: 9.957 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.OffTimer.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 4.902299337089062]
Failed to read output from testmodel.py, exit status != 0:
0.17405318561941385 0.187310001 0.026447355000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f7bc23617b0>