Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.641/2.641, allocations: 287.9 MB / 302.9 MB, free: 8.254 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.001409/0.001408, allocations: 185 kB / 371.4 MB, free: 10.67 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.048/2.048, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001032/0.001032, allocations: 94.83 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0008/0.0008005, allocations: 16.27 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1638, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001223/0.1651, allocations: 0.9943 MB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001052/0.1661, allocations: 0.6813 MB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.1662, allocations: 0 / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.1662, allocations: 3.984 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.448e-05/0.1663, allocations: 11.92 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002778/0.1666, allocations: 79.75 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.1666, allocations: 7.984 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.1667, allocations: 4 kB / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.1667, allocations: 0 / 0.9805 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.1668, allocations: 19.91 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.1668, allocations: 4 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003216/0.1671, allocations: 151.8 kB / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.685e-06/0.1672, allocations: 0 / 0.9807 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.1672, allocations: 29.7 kB / 0.9807 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001477/0.1673, allocations: 72.11 kB / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.822e-06/0.1674, allocations: 0 / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.892e-06/0.1674, allocations: 0 / 0.9808 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.765e-06/0.1674, allocations: 0 / 0.9808 GB, free: 26.11 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002506/0.1676, allocations: 332.5 kB / 0.9811 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1677, allocations: 12.02 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.291e-05/0.1677, allocations: 7.906 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.836e-05/0.1678, allocations: 174.9 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.1678, allocations: 4 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.273e-05/0.1679, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.556e-05/0.168, allocations: 37.64 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.56e-06/0.168, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.168, allocations: 4 kB / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.696e-06/0.168, allocations: 0 / 0.9813 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.479e-05/0.1681, allocations: 7.984 kB / 0.9813 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001258/0.1682, allocations: 157.7 kB / 0.9815 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.039e-05/0.1683, allocations: 38.52 kB / 0.9815 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002468/0.1708, allocations: 1.031 MB / 0.9825 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1708, allocations: 34.55 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.791e-06/0.1709, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0001751/0.171, allocations: 49.69 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/0.1711, allocations: 59.39 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.011e-05/0.1711, allocations: 93.86 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.619e-06/0.1712, allocations: 25.7 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.819e-05/0.1712, allocations: 80.14 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.1712, allocations: 11.91 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.311e-06/0.1712, allocations: 0 / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.009e-05/0.1713, allocations: 314.8 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.096e-05/0.1713, allocations: 11.92 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.542e-05/0.1714, allocations: 128 / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.484e-05/0.1714, allocations: 12 kB / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.1714, allocations: 0 / 0.9832 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.876e-05/0.1715, allocations: 49.62 kB / 0.9832 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.1715, allocations: 5.719 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.1715, allocations: 0 / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.1716, allocations: 4 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.1716, allocations: 4 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.107e-06/0.1717, allocations: 0 / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.375e-05/0.1717, allocations: 7.906 kB / 0.9832 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.491e-06/0.1717, allocations: 0 / 0.9832 GB, free: 23.29 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 5.41e-05/0.1718, allocations: 117.8 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.198e-05/0.1718, allocations: 7.922 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001265/0.1719, allocations: 53.19 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.545e-06/0.1719, allocations: 3.938 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.172, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.639e-06/0.172, allocations: 0 / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.54e-05/0.1721, allocations: 153.6 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.988e-06/0.1721, allocations: 4 kB / 0.9836 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.195e-05/0.1721, allocations: 8 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.291e-06/0.1721, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.45e-06/0.1721, allocations: 4 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.1721, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.642e-06/0.1722, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.802e-05/0.1723, allocations: 69.06 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.073e-05/0.1723, allocations: 85.06 kB / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.333e-05/0.1723, allocations: 0 / 0.9837 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.993e-05/0.1723, allocations: 7.984 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.1724, allocations: 0 / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.815e-06/0.1724, allocations: 4 kB / 0.9837 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.204e-05/0.1724, allocations: 79.28 kB / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.6e-07/0.1724, allocations: 0 / 0.9838 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003022/0.1727, allocations: 31.94 kB / 0.9838 GB, free: 22.57 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002595/0.173, allocations: 127.7 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.213e-05/0.1731, allocations: 23.91 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.1731, allocations: 3.938 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.122e-05/0.1732, allocations: 8 kB / 0.984 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.1733, allocations: 7.984 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.1736, allocations: 118.5 kB / 0.9841 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.1737, allocations: 0.6809 MB / 0.9848 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.98e-05/0.1738, allocations: 7.953 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.697e-05/0.1738, allocations: 11.44 kB / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of SimCode: time 1.334e-06/0.1738, allocations: 0 / 0.9848 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of Templates: time 0.00338/0.1772, allocations: 0.8648 MB / 0.9857 GB, free: 20.67 MB / 0.6198 GB