Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.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.001157/0.001157, allocations: 114.8 kB / 19.7 MB, free: 2.203 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.001163/0.001163, allocations: 189.2 kB / 22.98 MB, free: 5.082 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.323/1.323, allocations: 225.6 MB / 251.8 MB, free: 13.04 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.8768/0.8768, allocations: 149.6 MB / 456.6 MB, free: 1.227 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.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker")
translateModel(IBPSA.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001807/0.001807, allocations: 65.86 kB / 0.6328 GB, free: 9.066 MB / 462.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1542, allocations: 87.87 MB / 0.7186 GB, free: 1.105 MB / 0.5294 GB
Notification: Performance of NFInst.instantiate(IBPSA.Controls.Continuous.Examples.SignalRanker): time 0.002541/0.1568, allocations: 1.559 MB / 0.7201 GB, free: 15.54 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.0009254/0.1577, allocations: 0.5921 MB / 0.7207 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.582e-05/0.1578, allocations: 0 / 0.7207 GB, free: 14.94 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 9.786e-05/0.1579, allocations: 11.86 kB / 0.7207 GB, free: 14.93 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 4.952e-05/0.1579, allocations: 19.8 kB / 0.7208 GB, free: 14.91 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003543/0.1583, allocations: 95.77 kB / 0.7208 GB, free: 14.82 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0001429/0.1584, allocations: 99.62 kB / 0.7209 GB, free: 14.72 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.156e-05/0.1585, allocations: 12.23 kB / 0.721 GB, free: 14.7 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001105/0.1586, allocations: 47.83 kB / 0.721 GB, free: 14.66 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.688e-05/0.1587, allocations: 51.77 kB / 0.721 GB, free: 14.61 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.1587, allocations: 4 kB / 0.7211 GB, free: 14.6 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000142/0.1589, allocations: 91.91 kB / 0.7211 GB, free: 14.51 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 4.488e-05/0.1589, allocations: 19.92 kB / 0.7212 GB, free: 14.49 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 5.643e-05/0.159, allocations: 39.78 kB / 0.7212 GB, free: 14.45 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002165/0.1592, allocations: 147.4 kB / 0.7213 GB, free: 14.31 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1592, allocations: 4 kB / 0.7213 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of FrontEnd: time 8.11e-07/0.1592, allocations: 0 / 0.7213 GB, free: 14.3 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 4.86e-06/0.1592, allocations: 0 / 0.7213 GB, free: 14.3 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0007487/0.1599, allocations: 379.5 kB / 0.7217 GB, free: 13.9 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 3.076e-05/0.16, allocations: 8.625 kB / 0.7217 GB, free: 13.89 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.417e-05/0.16, allocations: 12.89 kB / 0.7217 GB, free: 13.88 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001674/0.1602, allocations: 134.4 kB / 0.7219 GB, free: 13.72 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.1602, allocations: 8.375 kB / 0.7219 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.629e-05/0.1602, allocations: 8.375 kB / 0.7219 GB, free: 13.71 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002851/0.1605, allocations: 105.9 kB / 0.722 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.1605, allocations: 0 / 0.722 GB, free: 13.6 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.1605, allocations: 4 kB / 0.722 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.798e-05/0.1605, allocations: 4 kB / 0.722 GB, free: 13.59 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002969/0.1608, allocations: 91.91 kB / 0.7221 GB, free: 13.5 MB / 0.545 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006209/0.1614, allocations: 323.7 kB / 0.7224 GB, free: 13.14 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002806/0.1617, allocations: 86.5 kB / 0.7225 GB, free: 13.05 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.1619, allocations: 60.88 kB / 0.7225 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.421e-05/0.1619, allocations: 0 / 0.7225 GB, free: 12.98 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000287/0.1622, allocations: 115.3 kB / 0.7226 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.1622, allocations: 3.938 kB / 0.7226 GB, free: 12.86 MB / 0.545 GB
Notification: Performance of matching and sorting (n=9): time 0.0006037/0.1628, allocations: 205.6 kB / 0.7228 GB, free: 12.65 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/0.1628, allocations: 51.41 kB / 0.7229 GB, free: 12.59 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.163, allocations: 148 kB / 0.723 GB, free: 12.43 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.163, allocations: 29.7 kB / 0.723 GB, free: 12.4 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.1631, allocations: 96.09 kB / 0.7231 GB, free: 12.3 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.1631, allocations: 31.73 kB / 0.7232 GB, free: 12.27 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-05/0.1631, allocations: 33.7 kB / 0.7232 GB, free: 12.23 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0001626/0.1633, allocations: 326.8 kB / 0.7235 GB, free: 11.9 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001727/0.1635, allocations: 51.95 kB / 0.7236 GB, free: 11.85 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.1637, allocations: 60 kB / 0.7236 GB, free: 11.79 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.164, allocations: 146.5 kB / 0.7238 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.164, allocations: 0 / 0.7238 GB, free: 11.64 MB / 0.545 GB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004381/0.1644, allocations: 203.3 kB / 0.7239 GB, free: 11.43 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 3.127e-05/0.1645, allocations: 29.7 kB / 0.724 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.1645, allocations: 0 / 0.724 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.1645, allocations: 0 / 0.724 GB, free: 11.39 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.1646, allocations: 23.97 kB / 0.724 GB, free: 11.37 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1646, allocations: 4.078 kB / 0.724 GB, free: 11.37 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001279/0.1647, allocations: 19.94 kB / 0.724 GB, free: 11.35 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.1648, allocations: 7.984 kB / 0.724 GB, free: 11.34 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (9):
 * Single equations (assignments): 7
 * Array equations: 1
 * Algorithm blocks: 1
 * 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.0001042/0.1649, allocations: 121.7 kB / 0.7241 GB, free: 11.21 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.018e-05/0.1649, allocations: 11.94 kB / 0.7242 GB, free: 11.2 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.296e-05/0.1649, allocations: 12.72 kB / 0.7242 GB, free: 11.18 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/0.1649, allocations: 7.984 kB / 0.7242 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.1649, allocations: 4 kB / 0.7242 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-06/0.1649, allocations: 0 / 0.7242 GB, free: 11.17 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001725/0.1651, allocations: 180.5 kB / 0.7244 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1651, allocations: 3.938 kB / 0.7244 GB, free: 10.95 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.1652, allocations: 16.45 kB / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.1652, allocations: 3.984 kB / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.1652, allocations: 0 / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.1652, allocations: 0 / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1652, allocations: 0 / 0.7244 GB, free: 10.93 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/0.1656, allocations: 196.8 kB / 0.7246 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.36e-05/0.1657, allocations: 7.953 kB / 0.7246 GB, free: 10.71 MB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1657, allocations: 4 kB / 0.7246 GB, free: 10.7 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001195/0.1658, allocations: 15.97 kB / 0.7246 GB, free: 10.69 MB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1659, allocations: 15.97 kB / 0.7246 GB, free: 10.67 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.828e-06/0.1659, allocations: 8 kB / 0.7246 GB, free: 10.66 MB / 0.545 GB
Notification: Performance of sorting global known variables: time 8.428e-05/0.1659, allocations: 109.8 kB / 0.7247 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of sort global known variables: time 6e-08/0.1659, allocations: 0 / 0.7247 GB, free: 10.56 MB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0002213/0.1662, allocations: 43.88 kB / 0.7248 GB, free: 10.52 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: 3 ($whenCondition1,pulse.T_start,pulse.count)
 * Number of discrete states: 1 (pulse.count)
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (7):
 * Single equations (assignments): 4
 * Array equations: 1
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 2
 * 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.000142/0.1663, allocations: 107.2 kB / 0.7249 GB, free: 10.4 MB / 0.545 GB
Notification: Performance of simCode: created initialization part: time 0.0004537/0.1668, allocations: 187.2 kB / 0.725 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1668, allocations: 0 / 0.725 GB, free: 10.21 MB / 0.545 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001839/0.1669, allocations: 55.95 kB / 0.7251 GB, free: 10.15 MB / 0.545 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1671, allocations: 11.98 kB / 0.7251 GB, free: 10.14 MB / 0.545 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1677, allocations: 235.7 kB / 0.7253 GB, free: 9.883 MB / 0.545 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.168, allocations: 0.7002 MB / 0.726 GB, free: 9.156 MB / 0.545 GB
Notification: Performance of simCode: alias equations: time 7.051e-05/0.1681, allocations: 11.98 kB / 0.726 GB, free: 9.145 MB / 0.545 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.731e-05/0.1681, allocations: 15.44 kB / 0.726 GB, free: 9.133 MB / 0.545 GB
Notification: Performance of SimCode: time 2.91e-07/0.1681, allocations: 0 / 0.726 GB, free: 9.133 MB / 0.545 GB
Notification: Performance of Templates: time 0.00404/0.1721, allocations: 1.467 MB / 0.7275 GB, free: 7.68 MB / 0.545 GB
"
[Timeout remaining time 660]
make -j1 -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660]
(rm -f IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.sim & ./IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker  -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.029544331133366]
Failed to read output from testmodel.py, exit status != 0:
0.17954946402460337 0.19293885600000002 0.030832709000000003
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f87e0fa17b0>