Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal.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.CHPs.BaseClasses.Validation.EnergyConversionNormal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.621/2.621, allocations: 287.9 MB / 302.9 MB, free: 8.297 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.00147/0.00147, allocations: 183.3 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.024/2.024, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001054/0.001054, allocations: 90.23 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000475/0.0004752, allocations: 11.94 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1546/0.1551, allocations: 115.3 MB / 0.9788 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.BaseClasses.Validation.EnergyConversionNormal): time 0.002107/0.1572, allocations: 1.87 MB / 0.9806 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00128/0.1585, allocations: 0.8413 MB / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.1587, allocations: 0 / 0.9814 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0005346/0.1593, allocations: 187.2 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1594, allocations: 67.83 kB / 0.9816 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003456/0.1598, allocations: 79.83 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000265/0.1601, allocations: 167.5 kB / 0.9819 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001641/0.1603, allocations: 61.66 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.419e-05/0.1604, allocations: 75.64 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.1605, allocations: 83.53 kB / 0.9821 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.875e-05/0.1605, allocations: 4 kB / 0.9821 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003104/0.1609, allocations: 127.8 kB / 0.9822 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.161, allocations: 163.5 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.919e-05/0.1611, allocations: 121.3 kB / 0.9825 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004687/0.1616, allocations: 0.4989 MB / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.094e-06/0.1616, allocations: 0 / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.351e-06/0.1616, allocations: 0 / 0.983 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.664e-06/0.1616, allocations: 7.875 kB / 0.983 GB, free: 23.84 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009176/0.1625, allocations: 0.8661 MB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.1626, allocations: 12.03 kB / 0.9838 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005683/0.1632, allocations: 118.9 kB / 0.984 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001133/0.1643, allocations: 0.7991 MB / 0.9847 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.1644, allocations: 8 kB / 0.9847 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.886e-05/0.1644, allocations: 15.94 kB / 0.9848 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003721/0.1648, allocations: 138.1 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1648, allocations: 0 / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/0.1648, allocations: 8 kB / 0.9849 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.412e-06/0.1649, allocations: 4 kB / 0.9849 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.1653, allocations: 107.9 kB / 0.985 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008736/0.1662, allocations: 0.629 MB / 0.9856 GB, free: 21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005715/0.1668, allocations: 142.6 kB / 0.9858 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007529/0.1675, allocations: 0.5813 MB / 0.9863 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.505e-05/0.1676, allocations: 30.56 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 2.363e-06/0.1676, allocations: 4 kB / 0.9864 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.0003438/0.1679, allocations: 145 kB / 0.9865 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.168, allocations: 55.34 kB / 0.9865 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008906/0.1689, allocations: 0.7827 MB / 0.9873 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.1689, allocations: 25.7 kB / 0.9873 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.1692, allocations: 371.4 kB / 0.9877 GB, free: 18.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.1692, allocations: 15.75 kB / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-06/0.1692, allocations: 0 / 0.9877 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.096e-05/0.1693, allocations: 322 kB / 0.988 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.534e-05/0.1694, allocations: 15.98 kB / 0.988 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.52e-05/0.1695, allocations: 54 kB / 0.9881 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.406e-05/0.1696, allocations: 27.94 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.195e-06/0.1696, allocations: 4 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002961/0.1699, allocations: 168.6 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.1699, allocations: 4 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.94e-06/0.17, allocations: 4.188 kB / 0.9883 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.17, allocations: 8 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001075/0.1701, allocations: 23.92 kB / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.763e-06/0.1701, allocations: 0 / 0.9883 GB, free: 18.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.1703, allocations: 7.906 kB / 0.9883 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.1703, allocations: 8.312 kB / 0.9883 GB, free: 18.07 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (11): * Single equations (assignments): 11 * 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 0.0002641/0.1706, allocations: 253.7 kB / 0.9886 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.1707, allocations: 75.02 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002982/0.171, allocations: 148.2 kB / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.171, allocations: 0 / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.562e-06/0.171, allocations: 0 / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.171, allocations: 0 / 0.9888 GB, free: 17.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004124/0.1714, allocations: 381.5 kB / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.763e-06/0.1715, allocations: 0 / 0.9891 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.352e-05/0.1715, allocations: 11.98 kB / 0.9892 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.797e-06/0.1716, allocations: 3.953 kB / 0.9892 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.1716, allocations: 4 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.676e-06/0.1716, allocations: 7.938 kB / 0.9892 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1716, allocations: 4 kB / 0.9892 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002426/0.1718, allocations: 218.5 kB / 0.9894 GB, free: 16.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001069/0.172, allocations: 148.1 kB / 0.9895 GB, free: 16.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.042e-05/0.172, allocations: 3.953 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.1722, allocations: 0 / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.1722, allocations: 7.984 kB / 0.9895 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.613e-06/0.1723, allocations: 4 kB / 0.9895 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0006523/0.1729, allocations: 0.5536 MB / 0.9901 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.55e-07/0.1729, allocations: 0 / 0.9901 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000404/0.1734, allocations: 47.84 kB / 0.9901 GB, free: 16.13 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 (5): * Single equations (assignments): 5 * 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.0001385/0.1735, allocations: 99.25 kB / 0.9902 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002034/0.1737, allocations: 51.91 kB / 0.9903 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.874e-06/0.1737, allocations: 8.312 kB / 0.9903 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 6.367e-05/0.1738, allocations: 15.94 kB / 0.9903 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.1742, allocations: 51.3 kB / 0.9903 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001581/0.1758, allocations: 1.166 MB / 0.9915 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.1763, allocations: 0.9637 MB / 0.9924 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002855/0.1766, allocations: 73.33 kB / 0.9925 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.761e-05/0.1766, allocations: 27.44 kB / 0.9925 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of SimCode: time 1.676e-06/0.1766, allocations: 0 / 0.9925 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of Templates: time 0.01094/0.1876, allocations: 1.69 MB / 0.9942 GB, free: 11.93 MB / 0.6198 GB