Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Continuous.Examples.SignalRanker.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.734/4.734, allocations: 0.5623 GB / 0.5769 GB, free: 66.91 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.004174/0.004174, allocations: 357.5 kB / 0.644 GB, free: 21.57 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.231/4.231, allocations: 410.8 MB / 1.112 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00181/0.001809, allocations: 186.5 kB / 1.225 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0005048/0.0005051, allocations: 15.27 kB / 1.348 GB, free: 320.4 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1623, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001499/0.1638, allocations: 1.251 MB / 1.462 GB, free: 219.5 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0007592/0.1646, allocations: 499.7 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.1647, allocations: 0 / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.864e-05/0.1648, allocations: 3.938 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 5.534e-05/0.1649, allocations: 16.55 kB / 1.462 GB, free: 219 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002403/0.1651, allocations: 35.83 kB / 1.462 GB, free: 218.9 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.1653, allocations: 97.62 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.1654, allocations: 16.75 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.1655, allocations: 41.75 kB / 1.463 GB, free: 218.8 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 9.446e-05/0.1656, allocations: 51.75 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.1657, allocations: 4 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.148e-05/0.1657, allocations: 4 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.1658, allocations: 15.92 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 4.134e-05/0.1658, allocations: 42.2 kB / 1.463 GB, free: 218.7 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.814e-05/0.1659, allocations: 65.25 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 5.958e-06/0.1659, allocations: 7.984 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.985e-06/0.166, allocations: 0 / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 5.035e-06/0.166, allocations: 0.5 kB / 1.463 GB, free: 218.6 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007216/0.1667, allocations: 477.6 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1667, allocations: 8.75 kB / 1.463 GB, free: 218.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.824e-05/0.1668, allocations: 13.06 kB / 1.463 GB, free: 218 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.167, allocations: 194.8 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.888e-05/0.167, allocations: 8 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.827e-05/0.1671, allocations: 8.531 kB / 1.463 GB, free: 217.8 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.1675, allocations: 139.8 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.655e-06/0.1675, allocations: 0 / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.1675, allocations: 0.8125 kB / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.712e-06/0.1675, allocations: 0 / 1.464 GB, free: 217.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004418/0.168, allocations: 137.8 kB / 1.464 GB, free: 217.5 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006275/0.1686, allocations: 366 kB / 1.464 GB, free: 217.1 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004625/0.1691, allocations: 142 kB / 1.464 GB, free: 217 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002718/0.1694, allocations: 107.3 kB / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1694, allocations: 0 / 1.464 GB, free: 216.9 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003976/0.1698, allocations: 154.8 kB / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=10): time 2.774e-06/0.1699, allocations: 0 / 1.464 GB, free: 216.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10): time 0.0009602/0.1708, allocations: 337.3 kB / 1.465 GB, free: 216.4 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.1709, allocations: 93.05 kB / 1.465 GB, free: 216.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/0.171, allocations: 143.3 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.1711, allocations: 37.64 kB / 1.465 GB, free: 216.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.219e-05/0.1711, allocations: 99.98 kB / 1.465 GB, free: 216 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.1712, allocations: 31.55 kB / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.224e-05/0.1712, allocations: 0 / 1.465 GB, free: 215.9 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.623e-05/0.1713, allocations: 322.8 kB / 1.465 GB, free: 215.6 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002796/0.1716, allocations: 90.25 kB / 1.466 GB, free: 215.5 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.1718, allocations: 90 kB / 1.466 GB, free: 215.4 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004061/0.1723, allocations: 150.8 kB / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.674e-06/0.1723, allocations: 0 / 1.466 GB, free: 215.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0007029/0.173, allocations: 307.3 kB / 1.466 GB, free: 215 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.672e-05/0.1731, allocations: 73.58 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.205e-06/0.1731, allocations: 0 / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.1731, allocations: 0.9688 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001951/0.1733, allocations: 24.59 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.211e-06/0.1734, allocations: 1.047 kB / 1.466 GB, free: 214.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002434/0.1736, allocations: 45.36 kB / 1.466 GB, free: 214.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.1737, allocations: 7.984 kB / 1.466 GB, free: 214.8 MB / 0.8073 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001318/0.1738, allocations: 156.8 kB / 1.466 GB, free: 214.7 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.1739, allocations: 16.89 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.1739, allocations: 16.7 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.72e-06/0.1739, allocations: 0 / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.305e-06/0.1739, allocations: 5.594 kB / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.684e-06/0.1739, allocations: 0 / 1.466 GB, free: 214.6 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001501/0.1741, allocations: 205.6 kB / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.133e-06/0.1741, allocations: 0 / 1.467 GB, free: 214.4 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001532/0.1743, allocations: 26.8 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.748e-06/0.1743, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.1743, allocations: 3.953 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.007e-06/0.1743, allocations: 7.984 kB / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-06/0.1744, allocations: 0 / 1.467 GB, free: 214.3 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006981/0.1751, allocations: 303.2 kB / 1.467 GB, free: 214 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.484e-05/0.1751, allocations: 93.36 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.587e-05/0.1752, allocations: 7.938 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.1754, allocations: 41.75 kB / 1.467 GB, free: 213.9 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.1755, allocations: 24.5 kB / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.1756, allocations: 8.75 kB / 1.467 GB, free: 213.8 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.788e-05/0.1756, allocations: 107.2 kB / 1.467 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6.43e-07/0.1757, allocations: 1.406 kB / 1.467 GB, free: 213.7 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002889/0.176, allocations: 24 kB / 1.467 GB, free: 213.7 MB / 0.8073 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: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.938e-05/0.1761, allocations: 103.9 kB / 1.467 GB, free: 213.6 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0007133/0.1768, allocations: 362.4 kB / 1.468 GB, free: 213.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.984e-06/0.1768, allocations: 0 / 1.468 GB, free: 213.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0003589/0.1772, allocations: 193.4 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000281/0.1775, allocations: 13 kB / 1.468 GB, free: 213 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/0.1782, allocations: 323.3 kB / 1.468 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001372/0.1783, allocations: 0.705 MB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.248e-05/0.1785, allocations: 17.59 kB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.732e-05/0.1785, allocations: 11.44 kB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of SimCode: time 1.644e-06/0.1785, allocations: 0.5938 kB / 1.469 GB, free: 211.9 MB / 0.8073 GB Notification: Performance of Templates: time 0.004564/0.1831, allocations: 1.489 MB / 1.47 GB, free: 210.5 MB / 0.8073 GB