Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.694/2.694, allocations: 287.9 MB / 302.9 MB, free: 8.312 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.001404/0.001404, allocations: 173.6 kB / 371.4 MB, free: 10.66 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 1.963/1.963, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001033/0.001033, allocations: 94.8 kB / 0.7434 GB, free: 6.402 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004825, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1617, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.0015/0.1632, allocations: 1.214 MB / 0.9799 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000746/0.164, allocations: 477.1 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.6e-05/0.1641, allocations: 0 / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.333e-05/0.1642, allocations: 3.938 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.167e-05/0.1642, allocations: 15.97 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.1644, allocations: 23.97 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.458e-05/0.1645, allocations: 47.81 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.354e-05/0.1646, allocations: 16.17 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001142/0.1648, allocations: 35.91 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.603e-05/0.1648, allocations: 35.83 kB / 0.9806 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1649, allocations: 4 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.1649, allocations: 7.938 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.925e-05/0.1649, allocations: 7.984 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.667e-05/0.165, allocations: 41.64 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.504e-05/0.1651, allocations: 44.12 kB / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.309e-06/0.1651, allocations: 0 / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.681e-06/0.1651, allocations: 0 / 0.9807 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.503e-06/0.1651, allocations: 0 / 0.9807 GB, free: 26.19 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005449/0.1657, allocations: 438.5 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1657, allocations: 16.02 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.1658, allocations: 7.906 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.1659, allocations: 194.8 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.166, allocations: 4 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.016e-05/0.166, allocations: 4 kB / 0.9813 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003022/0.1663, allocations: 101.6 kB / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.1663, allocations: 0 / 0.9814 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.1664, allocations: 8 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.915e-06/0.1664, allocations: 4 kB / 0.9814 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003298/0.1667, allocations: 91.88 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.1673, allocations: 332.8 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003298/0.1677, allocations: 94.61 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.41e-05/0.1677, allocations: 3.938 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003142/0.168, allocations: 119.4 kB / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.612e-06/0.168, allocations: 0 / 0.982 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.000721/0.1688, allocations: 231.2 kB / 0.9822 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1688, allocations: 85.11 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1689, allocations: 143.9 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.169, allocations: 33.7 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.785e-05/0.169, allocations: 96.12 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.372e-05/0.1691, allocations: 15.72 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.221e-05/0.1691, allocations: 4 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.538e-05/0.1692, allocations: 322.8 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.1694, allocations: 59.89 kB / 0.983 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1696, allocations: 55.97 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1698, allocations: 103.4 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.607e-06/0.1698, allocations: 0 / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005134/0.1703, allocations: 224.9 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.1704, allocations: 68.64 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.279e-06/0.1704, allocations: 0 / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.538e-05/0.1704, allocations: 3.953 kB / 0.9834 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.1706, allocations: 19.98 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.408e-06/0.1706, allocations: 4 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001571/0.1708, allocations: 19.92 kB / 0.9834 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1708, allocations: 7.984 kB / 0.9835 GB, free: 23.05 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: 6 ($whenCondition1,reqCou.nInc,$PRE.act1.T_start,act1.T_start,$PRE.act1.count,act1.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.0001041/0.1709, allocations: 159.4 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.546e-05/0.171, allocations: 7.906 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.093e-05/0.171, allocations: 16.69 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.705e-06/0.171, allocations: 4 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.993e-06/0.171, allocations: 3.953 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.712e-06/0.171, allocations: 0 / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006605/0.1717, allocations: 444.2 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.04e-06/0.1717, allocations: 0 / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.1719, allocations: 15.98 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.284e-06/0.1719, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.1719, allocations: 3.953 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.781e-06/0.1719, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-06/0.1719, allocations: 8.219 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004958/0.1724, allocations: 285.1 kB / 0.9844 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.137e-05/0.1725, allocations: 85.02 kB / 0.9844 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.978e-05/0.1725, allocations: 7.922 kB / 0.9845 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.1727, allocations: 19.94 kB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.1728, allocations: 27.97 kB / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1729, allocations: 0 / 0.9845 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.232e-05/0.1729, allocations: 101.9 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.8e-07/0.173, allocations: 4 kB / 0.9846 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003284/0.1733, allocations: 20 kB / 0.9846 GB, free: 21.75 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: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * 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 0.0001066/0.1734, allocations: 99.23 kB / 0.9847 GB, free: 21.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005016/0.1739, allocations: 242.7 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.174, allocations: 3.938 kB / 0.9849 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002409/0.1742, allocations: 111.4 kB / 0.9851 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002478/0.1745, allocations: 15.98 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005367/0.175, allocations: 220.9 kB / 0.9853 GB, free: 21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.1752, allocations: 0.6965 MB / 0.986 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.407e-05/0.1753, allocations: 11.98 kB / 0.986 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.282e-05/0.1753, allocations: 15.44 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.475e-06/0.1753, allocations: 0 / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.004095/0.1794, allocations: 1.089 MB / 0.987 GB, free: 19.18 MB / 0.6198 GB