Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.6 kB / 18.95 MB, free: 2.812 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001566/0.001566, allocations: 208.3 kB / 22.24 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.473/1.473, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002631/0.002631, allocations: 279.2 kB / 312.7 MB, free: 2.598 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.237/1.237, allocations: 180.6 MB / 0.5369 GB, free: 14.5 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") translateModel(BuildingSystems.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003123/0.003123, allocations: 95.14 kB / 0.7399 GB, free: 27.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1525/0.1557, allocations: 95.38 MB / 0.8331 GB, free: 7.793 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.Continuous.Examples.SignalRanker): time 0.002924/0.1586, allocations: 1.554 MB / 0.8346 GB, free: 6.227 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1597, allocations: 0.6054 MB / 0.8352 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.069e-05/0.1598, allocations: 0 / 0.8352 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.815e-05/0.1599, allocations: 11.86 kB / 0.8352 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.525e-05/0.16, allocations: 27.78 kB / 0.8352 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004564/0.1604, allocations: 107.7 kB / 0.8353 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.1606, allocations: 103.6 kB / 0.8354 GB, free: 5.371 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.73e-05/0.1607, allocations: 16.16 kB / 0.8355 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001659/0.1609, allocations: 47.91 kB / 0.8355 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.161, allocations: 43.77 kB / 0.8355 GB, free: 5.262 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.672e-05/0.161, allocations: 11.98 kB / 0.8356 GB, free: 5.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.1612, allocations: 95.84 kB / 0.8356 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.1612, allocations: 19.92 kB / 0.8357 GB, free: 5.137 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.1613, allocations: 27.86 kB / 0.8357 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000268/0.1615, allocations: 155.3 kB / 0.8358 GB, free: 4.957 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1615, allocations: 7.938 kB / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1615, allocations: 0 / 0.8358 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1615, allocations: 0 / 0.8358 GB, free: 4.949 MB / 0.5762 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.0007758/0.1623, allocations: 387.4 kB / 0.8362 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.167e-05/0.1623, allocations: 9.938 kB / 0.8362 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.1626, allocations: 32.86 kB / 0.8363 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002297/0.1629, allocations: 138.4 kB / 0.8364 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.1629, allocations: 8.375 kB / 0.8364 GB, free: 4.328 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1629, allocations: 4.375 kB / 0.8364 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.1632, allocations: 117.8 kB / 0.8365 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.1632, allocations: 4 kB / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.1632, allocations: 0 / 0.8365 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.933e-05/0.1633, allocations: 4 kB / 0.8365 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000335/0.1636, allocations: 91.91 kB / 0.8366 GB, free: 4.105 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006346/0.1642, allocations: 272.4 kB / 0.8369 GB, free: 3.809 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003177/0.1646, allocations: 90.44 kB / 0.837 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.1647, allocations: 60.88 kB / 0.837 GB, free: 3.648 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.216e-05/0.1647, allocations: 4 kB / 0.837 GB, free: 3.645 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002956/0.165, allocations: 107.4 kB / 0.8371 GB, free: 3.527 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 5.11e-06/0.165, allocations: 11.92 kB / 0.8371 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.000666/0.1657, allocations: 201.7 kB / 0.8373 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.1658, allocations: 63.39 kB / 0.8374 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.1659, allocations: 144.1 kB / 0.8375 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.1659, allocations: 25.7 kB / 0.8375 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.834e-05/0.166, allocations: 108 kB / 0.8376 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.9e-05/0.166, allocations: 23.81 kB / 0.8377 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.1661, allocations: 25.7 kB / 0.8377 GB, free: 2.895 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.1662, allocations: 326.8 kB / 0.838 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.1665, allocations: 89.59 kB / 0.8381 GB, free: 2.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.1667, allocations: 89.64 kB / 0.8382 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003628/0.167, allocations: 138.5 kB / 0.8383 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.167, allocations: 4 kB / 0.8383 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004993/0.1675, allocations: 225 kB / 0.8385 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.526e-05/0.1676, allocations: 41.62 kB / 0.8386 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1676, allocations: 4 kB / 0.8386 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1676, allocations: 3.938 kB / 0.8386 GB, free: 1.938 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.1677, allocations: 15.98 kB / 0.8386 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.1678, allocations: 0 / 0.8386 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001426/0.1679, allocations: 27.86 kB / 0.8386 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.575e-05/0.1679, allocations: 3.938 kB / 0.8386 GB, free: 1.891 MB / 0.5762 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.0001073/0.168, allocations: 122.5 kB / 0.8387 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.168, allocations: 11.94 kB / 0.8387 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.819e-05/0.1681, allocations: 16.72 kB / 0.8388 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.289e-05/0.1681, allocations: 4 kB / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.1681, allocations: 0 / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/0.1681, allocations: 0 / 0.8388 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.1683, allocations: 141.2 kB / 0.8389 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.1683, allocations: 0 / 0.8389 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.1684, allocations: 15.98 kB / 0.8389 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1684, allocations: 0 / 0.8389 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1684, allocations: 7.922 kB / 0.8389 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.1684, allocations: 4 kB / 0.8389 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1684, allocations: 4 kB / 0.8389 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.1689, allocations: 185 kB / 0.8391 GB, free: 1.324 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.1689, allocations: 7.953 kB / 0.8391 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.456e-05/0.1689, allocations: 4 kB / 0.8391 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.169, allocations: 11.98 kB / 0.8391 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.1691, allocations: 19.97 kB / 0.8391 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.726e-06/0.1691, allocations: 3.938 kB / 0.8392 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.17e-05/0.1692, allocations: 117.6 kB / 0.8393 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1692, allocations: 0 / 0.8393 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002441/0.1694, allocations: 35.94 kB / 0.8393 GB, free: 1.129 MB / 0.5762 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.0001739/0.1696, allocations: 119.2 kB / 0.8394 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005068/0.1701, allocations: 208.9 kB / 0.8396 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1701, allocations: 0 / 0.8396 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002034/0.1703, allocations: 59.95 kB / 0.8397 GB, free: 0.7227 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.1705, allocations: 20.88 kB / 0.8397 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005416/0.1711, allocations: 228.4 kB / 0.8399 GB, free: 468 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.838e-05/0.1711, allocations: 81.33 kB / 0.84 GB, free: 368 kB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.11e-05/0.1712, allocations: 19.92 kB / 0.84 GB, free: 348 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.638e-05/0.1713, allocations: 19.42 kB / 0.84 GB, free: 328 kB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1713, allocations: 3.938 kB / 0.84 GB, free: 324 kB / 0.5762 GB Notification: Performance of Templates: time 0.004585/0.1758, allocations: 1.551 MB / 0.8415 GB, free: 14.79 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.sim & ./BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.946119528263807] Failed to read output from testmodel.py, exit status != 0: 0.18304524756968021 0.198596726 0.033884776000000005 Calling exit ...