Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.554/2.554, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001465/0.001465, allocations: 173.2 kB / 371.4 MB, free: 10.65 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.121/2.121, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001047/0.001046, allocations: 98.7 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 10.25 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1635, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002932/0.1664, allocations: 2.47 MB / 0.9812 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003701/0.1668, allocations: 327.2 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.708e-05/0.1669, allocations: 0 / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.224e-05/0.167, allocations: 4 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.363e-05/0.167, allocations: 11.92 kB / 0.9815 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004257/0.1675, allocations: 135.6 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.885e-05/0.1675, allocations: 15.97 kB / 0.9816 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.86e-05/0.1676, allocations: 7.984 kB / 0.9816 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.069e-05/0.1676, allocations: 8 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.634e-05/0.1677, allocations: 4 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.1677, allocations: 11.94 kB / 0.9817 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.168, allocations: 95.86 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.848e-05/0.168, allocations: 11.98 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.689e-05/0.1681, allocations: 25.7 kB / 0.9818 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1682, allocations: 64.09 kB / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.1682, allocations: 0 / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.1683, allocations: 0 / 0.9818 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.534e-06/0.1683, allocations: 0 / 0.9818 GB, free: 24.97 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.0002821/0.1686, allocations: 339.4 kB / 0.9822 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1686, allocations: 16.02 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1686, allocations: 7.859 kB / 0.9822 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.901e-05/0.1687, allocations: 167.1 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.927e-05/0.1688, allocations: 29.7 kB / 0.9824 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.1688, allocations: 7.875 kB / 0.9824 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.169, allocations: 41.69 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.969e-06/0.169, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.169, allocations: 0 / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.968e-05/0.169, allocations: 3.953 kB / 0.9824 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.675e-05/0.1691, allocations: 19.98 kB / 0.9825 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004616/0.1696, allocations: 0.5678 MB / 0.983 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.405e-05/0.1696, allocations: 18.52 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001614/0.1698, allocations: 336.5 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.037e-05/0.1698, allocations: 34.56 kB / 0.9834 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.057e-06/0.1699, allocations: 4 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001336/0.17, allocations: 37.64 kB / 0.9834 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.17, allocations: 51.41 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.072e-05/0.1701, allocations: 101.9 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1701, allocations: 29.69 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.968e-05/0.1702, allocations: 84.05 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.869e-06/0.1702, allocations: 7.844 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-06/0.1702, allocations: 4 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.1703, allocations: 322.9 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.566e-05/0.1703, allocations: 0 / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.328e-05/0.1703, allocations: 17.7 kB / 0.984 GB, free: 22.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.374e-05/0.1704, allocations: 8 kB / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-06/0.1704, allocations: 0 / 0.984 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.128e-05/0.1705, allocations: 53.62 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1705, allocations: 4 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.063e-06/0.1705, allocations: 4.062 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.1705, allocations: 4.234 kB / 0.9841 GB, free: 22.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.667e-05/0.1706, allocations: 8 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.824e-06/0.1706, allocations: 3.984 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.704e-05/0.1706, allocations: 3.938 kB / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-06/0.1706, allocations: 0 / 0.9841 GB, free: 22.29 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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.26e-05/0.1707, allocations: 113.8 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.589e-05/0.1708, allocations: 3.984 kB / 0.9842 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.147e-05/0.1709, allocations: 124.9 kB / 0.9843 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.849e-05/0.1709, allocations: 180.2 kB / 0.9845 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.93e-05/0.1709, allocations: 184.2 kB / 0.9847 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.804e-05/0.171, allocations: 180.2 kB / 0.9848 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001577/0.1711, allocations: 405.2 kB / 0.9852 GB, free: 21.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.1712, allocations: 108.9 kB / 0.9853 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.668e-05/0.1712, allocations: 101 kB / 0.9854 GB, free: 20.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-05/0.1712, allocations: 176.3 kB / 0.9856 GB, free: 20.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.1713, allocations: 188.2 kB / 0.9858 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.898e-05/0.1713, allocations: 184.2 kB / 0.986 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-05/0.1714, allocations: 188.2 kB / 0.9861 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.671e-05/0.1714, allocations: 307.7 kB / 0.9864 GB, free: 19.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.245e-05/0.1715, allocations: 190.1 kB / 0.9866 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.402e-05/0.1716, allocations: 176.3 kB / 0.9868 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.1717, allocations: 112.9 kB / 0.9869 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.267e-05/0.1718, allocations: 180.3 kB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-05/0.1718, allocations: 108.9 kB / 0.9872 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.903e-05/0.1718, allocations: 91.28 kB / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.87e-07/0.1719, allocations: 0 / 0.9872 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003484/0.1722, allocations: 27.98 kB / 0.9873 GB, free: 18.82 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 (0): * Single equations (assignments): 0 * 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.0002316/0.1725, allocations: 238.4 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.566e-05/0.1725, allocations: 8 kB / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1726, allocations: 0 / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.808e-06/0.1726, allocations: 0 / 0.9875 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002805/0.1729, allocations: 0.5314 MB / 0.988 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002101/0.1731, allocations: 180.5 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.1732, allocations: 0.677 MB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.86e-05/0.1733, allocations: 10.53 kB / 0.9889 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.8e-05/0.1733, allocations: 7.438 kB / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.322e-06/0.1733, allocations: 0 / 0.9889 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.003743/0.1771, allocations: 1.084 MB / 0.9899 GB, free: 16.07 MB / 0.6198 GB