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 2.533/2.533, allocations: 287.9 MB / 302.9 MB, free: 8.25 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001396/0.001396, allocations: 176.6 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 0.6301 GB, free: 10.33 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 94.73 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000462/0.0004623, allocations: 15 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Continuous.Examples.SignalRanker): time 0.001463/0.162, allocations: 1.246 MB / 0.98 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0007635/0.1628, allocations: 493.1 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.949e-05/0.1628, allocations: 0 / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.696e-05/0.1629, allocations: 7.922 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.858e-05/0.163, allocations: 23.91 kB / 0.9805 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1632, allocations: 39.88 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.1633, allocations: 63.86 kB / 0.9806 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.691e-05/0.1634, allocations: 12.22 kB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.1636, allocations: 47.89 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.1637, allocations: 47.83 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.484e-05/0.1638, allocations: 4 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 2.079e-05/0.1638, allocations: 4 kB / 0.9807 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.1638, allocations: 19.91 kB / 0.9807 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.456e-05/0.1639, allocations: 41.64 kB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.977e-05/0.164, allocations: 60.09 kB / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.789e-06/0.164, allocations: 0 / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.997e-06/0.164, allocations: 0 / 0.9808 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.348e-06/0.164, allocations: 0 / 0.9808 GB, free: 26.09 MB / 0.6198 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.000687/0.1647, allocations: 482.4 kB / 0.9812 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1648, allocations: 15.95 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.02e-05/0.1648, allocations: 7.906 kB / 0.9813 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001654/0.165, allocations: 206.7 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.83e-05/0.1651, allocations: 4 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1651, allocations: 4 kB / 0.9815 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003789/0.1655, allocations: 137.6 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.758e-06/0.1655, allocations: 0 / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.1655, allocations: 8 kB / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.1655, allocations: 0 / 0.9816 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004303/0.166, allocations: 135.8 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006319/0.1666, allocations: 360.6 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004186/0.1671, allocations: 142.5 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.631e-05/0.1671, allocations: 4 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004067/0.1675, allocations: 155.3 kB / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.993e-06/0.1675, allocations: 0 / 0.9824 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0009755/0.1685, allocations: 412.2 kB / 0.9828 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.1686, allocations: 93.03 kB / 0.9829 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.1687, allocations: 144.2 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.1688, allocations: 29.69 kB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.1688, allocations: 104 kB / 0.9831 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.393e-05/0.1689, allocations: 35.53 kB / 0.9832 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.363e-05/0.1689, allocations: 4 kB / 0.9832 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.169, allocations: 322.8 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1692, allocations: 87.94 kB / 0.9836 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002604/0.1695, allocations: 88.22 kB / 0.9836 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002867/0.1698, allocations: 150.7 kB / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.71e-06/0.1698, allocations: 0 / 0.9838 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006743/0.1705, allocations: 312.9 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.598e-05/0.1706, allocations: 71.39 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.984e-06/0.1706, allocations: 0 / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1706, allocations: 0 / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.1708, allocations: 27.97 kB / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1708, allocations: 0 / 0.9842 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000227/0.1711, allocations: 35.88 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.625e-05/0.1711, allocations: 11.98 kB / 0.9842 GB, free: 22.28 MB / 0.6198 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.0001294/0.1713, allocations: 159.5 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.1713, allocations: 11.86 kB / 0.9844 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.274e-05/0.1713, allocations: 12.72 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.822e-06/0.1714, allocations: 0 / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-06/0.1714, allocations: 4 kB / 0.9844 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.843e-06/0.1714, allocations: 3.984 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.1716, allocations: 197.6 kB / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.452e-06/0.1716, allocations: 0 / 0.9846 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.1717, allocations: 35.89 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.139e-06/0.1718, allocations: 0 / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.08e-05/0.1718, allocations: 7.953 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.98e-06/0.1718, allocations: 0 / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.91e-06/0.1718, allocations: 4 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006683/0.1725, allocations: 306.6 kB / 0.9849 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.1725, allocations: 96.84 kB / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.516e-05/0.1726, allocations: 0 / 0.985 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.1728, allocations: 39.84 kB / 0.9851 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.1729, allocations: 27.97 kB / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.173, allocations: 0 / 0.9851 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.633e-05/0.173, allocations: 109.5 kB / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.56e-07/0.173, allocations: 0 / 0.9852 GB, free: 21.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002872/0.1733, allocations: 24 kB / 0.9852 GB, free: 21.16 MB / 0.6198 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.531e-05/0.1734, allocations: 111.2 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007094/0.1742, allocations: 358.6 kB / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.608e-06/0.1742, allocations: 0 / 0.9857 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1746, allocations: 207.3 kB / 0.9859 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.1748, allocations: 8 kB / 0.9859 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.1755, allocations: 315.4 kB / 0.9862 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.1756, allocations: 0.716 MB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.308e-05/0.1757, allocations: 7.984 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.753e-05/0.1758, allocations: 15.44 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of SimCode: time 1.335e-06/0.1758, allocations: 0 / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of Templates: time 0.004468/0.1803, allocations: 1.474 MB / 0.9883 GB, free: 17.87 MB / 0.6198 GB