Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.KMinusU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.499/2.499, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001438/0.001438, allocations: 181 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 1.955/1.955, 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.001082/0.001082, allocations: 103.3 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004764, allocations: 15 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001348/0.1615, allocations: 1.137 MB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005904/0.1621, allocations: 409.4 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.359e-05/0.1622, allocations: 0 / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.1622, allocations: 3.938 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.1622, allocations: 7.984 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001157/0.1624, allocations: 4 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.982e-05/0.1624, allocations: 11.98 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.1625, allocations: 15.92 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1626, allocations: 11.92 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.1627, allocations: 15.92 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1627, allocations: 0 / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.1627, allocations: 4 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.049e-05/0.1627, allocations: 3.938 kB / 0.9803 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.1628, allocations: 25.7 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.955e-05/0.1628, allocations: 15.97 kB / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.3e-06/0.1628, allocations: 0 / 0.9804 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.842e-06/0.1629, allocations: 4 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.887e-06/0.1629, allocations: 0 / 0.9804 GB, free: 26.48 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.0003121/0.1632, allocations: 331.5 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.1632, allocations: 8.031 kB / 0.9807 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/0.1633, allocations: 4 kB / 0.9807 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.787e-05/0.1634, allocations: 171 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.1634, allocations: 4 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.261e-05/0.1634, allocations: 4 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.1636, allocations: 49.62 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.839e-06/0.1636, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.265e-06/0.1636, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.1636, allocations: 0 / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001077/0.1637, allocations: 27.97 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000283/0.164, allocations: 260.8 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 8.914e-05/0.1641, allocations: 26.61 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.295e-05/0.1642, allocations: 3.938 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.1642, allocations: 38.62 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.986e-06/0.1642, allocations: 0 / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002589/0.1645, allocations: 65.67 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.112e-05/0.1645, allocations: 51.41 kB / 0.9814 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.894e-05/0.1646, allocations: 109.8 kB / 0.9815 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.615e-06/0.1646, allocations: 25.7 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.173e-05/0.1646, allocations: 84.14 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.771e-05/0.1647, allocations: 15.78 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.702e-06/0.1647, allocations: 0 / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.057e-05/0.1647, allocations: 315 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.448e-05/0.1648, allocations: 15.98 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.401e-05/0.1649, allocations: 11.94 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.4e-05/0.1649, allocations: 11.98 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.279e-06/0.1649, allocations: 4 kB / 0.9819 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001446/0.1651, allocations: 53.75 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.1651, allocations: 8 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.824e-06/0.1651, allocations: 0 / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1652, allocations: 0 / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.1653, allocations: 7.984 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.332e-06/0.1653, allocations: 3.938 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.425e-05/0.1653, allocations: 7.953 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.642e-06/0.1653, allocations: 0 / 0.982 GB, free: 24.59 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 (2): * Single equations (assignments): 2 * 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.622e-05/0.1654, allocations: 113.9 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.583e-05/0.1655, allocations: 3.906 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.1655, allocations: 11.52 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.967e-06/0.1655, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-06/0.1655, allocations: 0 / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.942e-06/0.1655, allocations: 4 kB / 0.9822 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000144/0.1657, allocations: 161.8 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.136e-06/0.1657, allocations: 0 / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.819e-05/0.1658, allocations: 11.98 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.381e-06/0.1658, allocations: 4 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-06/0.1658, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.378e-06/0.1658, allocations: 4 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.652e-06/0.1658, allocations: 0 / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.166, allocations: 151.5 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.166, allocations: 81.14 kB / 0.9825 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.1661, allocations: 3.984 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.572e-05/0.1661, allocations: 4 kB / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.943e-05/0.1662, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.441e-06/0.1662, allocations: 0 / 0.9826 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.291e-05/0.1662, allocations: 91.27 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.477e-06/0.1663, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002935/0.1666, allocations: 3.938 kB / 0.9826 GB, free: 23.86 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 (2): * Single equations (assignments): 2 * 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 8.527e-05/0.1667, allocations: 107.2 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.1668, allocations: 23.98 kB / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.391e-06/0.1668, allocations: 0 / 0.9828 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.623e-05/0.1669, allocations: 11.98 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.1671, allocations: 7.953 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002691/0.1673, allocations: 124.8 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.1675, allocations: 0.6848 MB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.306e-05/0.1675, allocations: 3.906 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.332e-05/0.1676, allocations: 7.438 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of SimCode: time 1.679e-06/0.1676, allocations: 0 / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.002219/0.1698, allocations: 272.7 kB / 0.9838 GB, free: 22.57 MB / 0.6198 GB