Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.809/2.809, allocations: 287.9 MB / 302.9 MB, free: 8.23 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.001384/0.001384, allocations: 183.4 kB / 371.4 MB, free: 10.69 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.033/2.033, allocations: 205.4 MB / 0.6301 GB, free: 10.42 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.001068/0.001068, allocations: 94.91 kB / 0.7434 GB, free: 6.445 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004868, allocations: 15.78 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1605, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.004119/0.1647, allocations: 3.393 MB / 0.982 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001889/0.1649, allocations: 119.8 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.688e-05/0.165, allocations: 0 / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.892e-05/0.1651, allocations: 3.984 kB / 0.9822 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.765e-05/0.1651, allocations: 11.98 kB / 0.9822 GB, free: 24.67 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002887/0.1654, allocations: 55.78 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.335e-05/0.1655, allocations: 19.97 kB / 0.9822 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.497e-05/0.1656, allocations: 4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.361e-05/0.1656, allocations: 4 kB / 0.9823 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.331e-05/0.1657, allocations: 19.91 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.372e-05/0.1657, allocations: 4 kB / 0.9823 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1659, allocations: 27.97 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.1659, allocations: 4 kB / 0.9823 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.087e-05/0.1659, allocations: 33.64 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.166, allocations: 24.27 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.77e-06/0.1661, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.096e-06/0.1661, allocations: 0 / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.101e-05/0.1661, allocations: 3.938 kB / 0.9824 GB, free: 24.47 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.0002916/0.1664, allocations: 331.4 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/0.1664, allocations: 8.031 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.757e-05/0.1665, allocations: 11.8 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.548e-05/0.1666, allocations: 167.1 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/0.1667, allocations: 29.7 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.205e-05/0.1667, allocations: 4 kB / 0.9829 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001379/0.1668, allocations: 41.69 kB / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.829e-06/0.1669, allocations: 0 / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.1669, allocations: 0 / 0.9829 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.1669, allocations: 7.953 kB / 0.9829 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.421e-05/0.167, allocations: 19.92 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003943/0.1674, allocations: 330.1 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.831e-05/0.1674, allocations: 22.58 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.805e-05/0.1675, allocations: 85.16 kB / 0.9834 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/0.1676, allocations: 30.56 kB / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.193e-06/0.1676, allocations: 0 / 0.9834 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/0.1677, allocations: 45.59 kB / 0.9834 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.043e-05/0.1677, allocations: 51.41 kB / 0.9835 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.076e-05/0.1678, allocations: 113.9 kB / 0.9836 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.071e-05/0.1679, allocations: 25.7 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.013e-05/0.1679, allocations: 84.05 kB / 0.9837 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.504e-06/0.1679, allocations: 3.906 kB / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-06/0.1679, allocations: 0 / 0.9837 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.838e-05/0.168, allocations: 314.8 kB / 0.984 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.168, allocations: 7.984 kB / 0.984 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.46e-05/0.168, allocations: 13.72 kB / 0.984 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.508e-05/0.1681, allocations: 8 kB / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-06/0.1681, allocations: 0 / 0.984 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.849e-05/0.1682, allocations: 49.62 kB / 0.9841 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.1682, allocations: 8 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1682, allocations: 0 / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1683, allocations: 3.953 kB / 0.9841 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.982e-05/0.1683, allocations: 4 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.066e-06/0.1683, allocations: 3.984 kB / 0.9841 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.759e-05/0.1684, allocations: 8.062 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.1684, allocations: 0 / 0.9841 GB, free: 22.41 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.989e-05/0.1685, allocations: 117.8 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.1685, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.843e-05/0.1686, allocations: 124.8 kB / 0.9843 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-05/0.1687, allocations: 188.2 kB / 0.9845 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.122e-05/0.1687, allocations: 184.3 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.989e-05/0.1687, allocations: 188.6 kB / 0.9849 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.1689, allocations: 405.2 kB / 0.9853 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.847e-05/0.1689, allocations: 105 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.169, allocations: 104.9 kB / 0.9855 GB, free: 20.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.872e-05/0.169, allocations: 180.2 kB / 0.9856 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.169, allocations: 184.2 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.077e-05/0.1691, allocations: 184.2 kB / 0.986 GB, free: 20.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.868e-05/0.1691, allocations: 180.2 kB / 0.9862 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.207e-05/0.1692, allocations: 311.7 kB / 0.9865 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.247e-05/0.1693, allocations: 182.1 kB / 0.9866 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.831e-05/0.1693, allocations: 188.2 kB / 0.9868 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001626/0.1695, allocations: 109 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.1695, allocations: 180.2 kB / 0.9871 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.1696, allocations: 104.9 kB / 0.9872 GB, free: 19.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.726e-05/0.1696, allocations: 91.27 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.8e-07/0.1696, allocations: 4 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003259/0.17, allocations: 19.94 kB / 0.9873 GB, free: 18.93 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.0001434/0.1701, allocations: 186.5 kB / 0.9875 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.618e-05/0.1702, allocations: 7.938 kB / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.258e-06/0.1702, allocations: 0 / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.1703, allocations: 0 / 0.9875 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.1706, allocations: 0.5304 MB / 0.988 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002208/0.1708, allocations: 183.8 kB / 0.9882 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.1709, allocations: 0.6809 MB / 0.9888 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.962e-05/0.171, allocations: 8 kB / 0.9889 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.213e-05/0.171, allocations: 11.42 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of SimCode: time 1.773e-06/0.171, allocations: 3.938 kB / 0.9889 GB, free: 17.25 MB / 0.6198 GB Notification: Performance of Templates: time 0.002835/0.1739, allocations: 0.5051 MB / 0.9894 GB, free: 16.75 MB / 0.6198 GB