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 4.989/4.989, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002357/0.002356, allocations: 359.7 kB / 0.644 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.938/3.938, allocations: 410.7 MB / 1.112 GB, free: 147.8 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001693/0.001693, allocations: 188 kB / 1.225 GB, free: 35.91 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004829/0.0004831, allocations: 16.66 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.157/0.1575, allocations: 115.3 MB / 1.461 GB, free: 6.617 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.002935/0.1605, allocations: 2.565 MB / 1.463 GB, free: 4.031 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003859/0.161, allocations: 367.1 kB / 1.464 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.156e-05/0.161, allocations: 0 / 1.464 GB, free: 3.672 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.41e-05/0.1611, allocations: 3.938 kB / 1.464 GB, free: 3.668 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.554e-05/0.1611, allocations: 19.91 kB / 1.464 GB, free: 3.648 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004044/0.1616, allocations: 119.3 kB / 1.464 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.1616, allocations: 51.81 kB / 1.464 GB, free: 3.484 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.1617, allocations: 4 kB / 1.464 GB, free: 3.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.583e-05/0.1617, allocations: 15.92 kB / 1.464 GB, free: 3.465 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.1618, allocations: 11.98 kB / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1618, allocations: 0 / 1.464 GB, free: 3.453 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002577/0.1621, allocations: 91.67 kB / 1.464 GB, free: 3.363 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.729e-05/0.1621, allocations: 7.938 kB / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.813e-05/0.1622, allocations: 29.7 kB / 1.464 GB, free: 3.32 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001438/0.1623, allocations: 60.16 kB / 1.464 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.202e-06/0.1623, allocations: 0 / 1.464 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.832e-06/0.1623, allocations: 0 / 1.464 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.301e-06/0.1623, allocations: 4 kB / 1.464 GB, free: 3.258 MB / 0.6042 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.0002954/0.1627, allocations: 339.3 kB / 1.464 GB, free: 2.879 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.1627, allocations: 12.03 kB / 1.464 GB, free: 2.867 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.417e-05/0.1627, allocations: 7.859 kB / 1.464 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.446e-05/0.1628, allocations: 163.1 kB / 1.464 GB, free: 2.66 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/0.1629, allocations: 33.69 kB / 1.465 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.1629, allocations: 0 / 1.465 GB, free: 2.621 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.1631, allocations: 41.69 kB / 1.465 GB, free: 2.574 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1631, allocations: 7.938 kB / 1.465 GB, free: 2.566 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.1631, allocations: 4 kB / 1.465 GB, free: 2.562 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/0.1631, allocations: 3.953 kB / 1.465 GB, free: 2.559 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.516e-05/0.1632, allocations: 11.98 kB / 1.465 GB, free: 2.547 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.1637, allocations: 0.5795 MB / 1.465 GB, free: 1.844 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.462e-05/0.1638, allocations: 18.52 kB / 1.465 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.1638, allocations: 8.859 kB / 1.465 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001846/0.164, allocations: 344.5 kB / 1.466 GB, free: 1.395 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.2e-05/0.164, allocations: 42.45 kB / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 2.119e-06/0.164, allocations: 0 / 1.466 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001725/0.1642, allocations: 37.69 kB / 1.466 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/0.1643, allocations: 51.41 kB / 1.466 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001014/0.1644, allocations: 101.8 kB / 1.466 GB, free: 1.129 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1644, allocations: 29.83 kB / 1.466 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.183e-05/0.1645, allocations: 88.05 kB / 1.466 GB, free: 1.004 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.631e-06/0.1645, allocations: 3.906 kB / 1.466 GB, free: 1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-06/0.1645, allocations: 0 / 1.466 GB, free: 1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.1647, allocations: 314.8 kB / 1.466 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.1647, allocations: 4 kB / 1.466 GB, free: 0.6797 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.436e-05/0.1647, allocations: 21.64 kB / 1.466 GB, free: 0.6523 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.113e-05/0.1648, allocations: 12 kB / 1.466 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.186e-06/0.1648, allocations: 0 / 1.466 GB, free: 0.6406 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001067/0.1649, allocations: 41.69 kB / 1.466 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.1649, allocations: 4 kB / 1.466 GB, free: 0.5898 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.165, allocations: 7.953 kB / 1.466 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.165, allocations: 0 / 1.466 GB, free: 0.582 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.526e-05/0.1651, allocations: 7.938 kB / 1.466 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.124e-06/0.1651, allocations: 0 / 1.466 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.091e-05/0.1651, allocations: 7.938 kB / 1.466 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.146e-05/0.1651, allocations: 8.062 kB / 1.466 GB, free: 0.5586 MB / 0.6042 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 9.2e-05/0.1652, allocations: 109.8 kB / 1.466 GB, free: 452 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.814e-05/0.1653, allocations: 4 kB / 1.466 GB, free: 448 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000135/0.1654, allocations: 117 kB / 1.466 GB, free: 324 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.04e-05/0.1655, allocations: 184.2 kB / 1.467 GB, free: 132 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001109/0.1656, allocations: 184.2 kB / 1.467 GB, free: 15.94 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.959e-05/0.1658, allocations: 188.1 kB / 1.467 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003078/0.1661, allocations: 405.2 kB / 1.467 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.413e-05/0.1661, allocations: 101 kB / 1.467 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.292e-05/0.1662, allocations: 112.9 kB / 1.468 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.585e-05/0.1663, allocations: 180.3 kB / 1.468 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.1664, allocations: 184.2 kB / 1.468 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.488e-05/0.1665, allocations: 180.2 kB / 1.468 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.569e-05/0.1666, allocations: 192.2 kB / 1.468 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/0.1668, allocations: 299.7 kB / 1.469 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.1669, allocations: 194 kB / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.167, allocations: 176.3 kB / 1.469 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002075/0.1673, allocations: 109 kB / 1.469 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001005/0.1674, allocations: 188.2 kB / 1.469 GB, free: 13.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.1674, allocations: 101 kB / 1.469 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.548e-05/0.1675, allocations: 83.28 kB / 1.469 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.53e-07/0.1675, allocations: 4 kB / 1.469 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000384/0.1679, allocations: 35.98 kB / 1.469 GB, free: 13.08 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.0003205/0.1683, allocations: 231 kB / 1.47 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.972e-05/0.1684, allocations: 8.25 kB / 1.47 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.293e-06/0.1684, allocations: 0 / 1.47 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.796e-06/0.1684, allocations: 0 / 1.47 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005622/0.169, allocations: 0.5233 MB / 1.47 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002839/0.1692, allocations: 192.2 kB / 1.47 GB, free: 12.1 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1696, allocations: 0.6809 MB / 1.471 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.578e-05/0.1697, allocations: 7.984 kB / 1.471 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.172e-05/0.1697, allocations: 7.438 kB / 1.471 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.506e-06/0.1697, allocations: 0 / 1.471 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.004261/0.174, allocations: 1.087 MB / 1.472 GB, free: 10.33 MB / 0.6198 GB