Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.165/5.165, allocations: 0.5623 GB / 0.5769 GB, free: 3.34 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.004266/0.004265, allocations: 362.5 kB / 0.644 GB, free: 185.6 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 4.008/4.008, allocations: 410.8 MB / 1.112 GB, free: 147.7 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.001677/0.001677, allocations: 179.5 kB / 1.225 GB, free: 35.86 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004821/0.0004823, allocations: 9.5 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.157, allocations: 115.3 MB / 1.461 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.003786/0.1608, allocations: 3.289 MB / 1.464 GB, free: 3.254 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001816/0.161, allocations: 135.7 kB / 1.464 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.235e-05/0.1611, allocations: 0 / 1.464 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 7.949e-05/0.1612, allocations: 3.938 kB / 1.464 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.865e-05/0.1612, allocations: 15.97 kB / 1.464 GB, free: 3.102 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002512/0.1615, allocations: 43.75 kB / 1.464 GB, free: 3.059 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.263e-05/0.1616, allocations: 51.81 kB / 1.464 GB, free: 3.008 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.228e-05/0.1616, allocations: 4 kB / 1.464 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.616e-05/0.1617, allocations: 8 kB / 1.464 GB, free: 2.996 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.034e-05/0.1617, allocations: 19.91 kB / 1.464 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.1618, allocations: 0 / 1.464 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004886/0.1623, allocations: 147.5 kB / 1.464 GB, free: 2.832 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.809e-05/0.1623, allocations: 11.97 kB / 1.464 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.1623, allocations: 29.7 kB / 1.464 GB, free: 2.785 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.44e-05/0.1624, allocations: 24.2 kB / 1.464 GB, free: 2.762 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.206e-06/0.1625, allocations: 4 kB / 1.464 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.765e-06/0.1625, allocations: 0 / 1.464 GB, free: 2.758 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.573e-06/0.1625, allocations: 4 kB / 1.464 GB, free: 2.754 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.0002908/0.1628, allocations: 323.4 kB / 1.465 GB, free: 2.391 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.1628, allocations: 8.031 kB / 1.465 GB, free: 2.383 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.551e-05/0.1629, allocations: 11.86 kB / 1.465 GB, free: 2.371 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.792e-05/0.1629, allocations: 163.1 kB / 1.465 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.998e-05/0.163, allocations: 25.7 kB / 1.465 GB, free: 2.141 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-06/0.163, allocations: 11.94 kB / 1.465 GB, free: 2.129 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1632, allocations: 45.67 kB / 1.465 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.117e-06/0.1632, allocations: 0 / 1.465 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.1632, allocations: 0 / 1.465 GB, free: 2.078 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.1632, allocations: 3.953 kB / 1.465 GB, free: 2.074 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.563e-05/0.1633, allocations: 19.92 kB / 1.465 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003624/0.1637, allocations: 322 kB / 1.465 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.969e-05/0.1637, allocations: 26.52 kB / 1.465 GB, free: 1.637 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.649e-05/0.1638, allocations: 8.891 kB / 1.465 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.775e-05/0.1638, allocations: 89.16 kB / 1.465 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.558e-05/0.1639, allocations: 38.52 kB / 1.465 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.044e-05/0.1639, allocations: 0 / 1.465 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001355/0.164, allocations: 33.69 kB / 1.465 GB, free: 1.434 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.96e-05/0.1641, allocations: 51.41 kB / 1.466 GB, free: 1.371 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.259e-05/0.1642, allocations: 113.9 kB / 1.466 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.1642, allocations: 25.7 kB / 1.466 GB, free: 1.219 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.1643, allocations: 92.03 kB / 1.466 GB, free: 1.125 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.035e-05/0.1643, allocations: 11.84 kB / 1.466 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.069e-06/0.1643, allocations: 4 kB / 1.466 GB, free: 1.109 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.1645, allocations: 310.8 kB / 1.466 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.1645, allocations: 4 kB / 1.466 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.1645, allocations: 13.7 kB / 1.466 GB, free: 0.7734 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.1646, allocations: 12 kB / 1.466 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.278e-06/0.1646, allocations: 4 kB / 1.466 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001134/0.1647, allocations: 49.62 kB / 1.466 GB, free: 0.7031 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1647, allocations: 4 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.879e-06/0.1648, allocations: 4.234 kB / 1.466 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.1648, allocations: 0 / 1.466 GB, free: 0.6953 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.124e-05/0.1648, allocations: 8 kB / 1.466 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.158e-06/0.1649, allocations: 0 / 1.466 GB, free: 0.6875 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.508e-05/0.1649, allocations: 4.062 kB / 1.466 GB, free: 0.6836 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.1649, allocations: 4 kB / 1.466 GB, free: 0.6797 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.078e-05/0.165, allocations: 105.8 kB / 1.466 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.813e-05/0.1651, allocations: 3.984 kB / 1.466 GB, free: 0.5625 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.1652, allocations: 124.9 kB / 1.466 GB, free: 444 kB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.848e-05/0.1653, allocations: 184.2 kB / 1.467 GB, free: 252 kB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.828e-05/0.1654, allocations: 184.2 kB / 1.467 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001097/0.1655, allocations: 180.2 kB / 1.467 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.1658, allocations: 401.2 kB / 1.467 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.187e-05/0.1659, allocations: 108.9 kB / 1.467 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.062e-05/0.166, allocations: 101 kB / 1.468 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.998e-05/0.1661, allocations: 188.2 kB / 1.468 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.499e-05/0.1662, allocations: 176.3 kB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.523e-05/0.1663, allocations: 180.4 kB / 1.468 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-05/0.1664, allocations: 188.1 kB / 1.468 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001815/0.1666, allocations: 311.7 kB / 1.469 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.1667, allocations: 190.1 kB / 1.469 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.938e-05/0.1668, allocations: 180.2 kB / 1.469 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/0.167, allocations: 112.9 kB / 1.469 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.187e-05/0.1671, allocations: 180.2 kB / 1.469 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.149e-05/0.1672, allocations: 116.9 kB / 1.469 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.853e-05/0.1673, allocations: 87.28 kB / 1.469 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.118e-06/0.1673, allocations: 0 / 1.469 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003352/0.1676, allocations: 23.88 kB / 1.469 GB, free: 13.21 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.0002058/0.1678, allocations: 183 kB / 1.47 GB, free: 13.02 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.812e-05/0.1679, allocations: 15.98 kB / 1.47 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.852e-06/0.168, allocations: 0 / 1.47 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.003e-06/0.168, allocations: 0 / 1.47 GB, free: 13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005601/0.1685, allocations: 0.5264 MB / 1.47 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.1688, allocations: 183.9 kB / 1.47 GB, free: 12.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003358/0.1692, allocations: 0.677 MB / 1.471 GB, free: 11.56 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.318e-05/0.1692, allocations: 8 kB / 1.471 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.1693, allocations: 11.44 kB / 1.471 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.546e-06/0.1693, allocations: 0 / 1.471 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.003114/0.1724, allocations: 0.5144 MB / 1.471 GB, free: 11.04 MB / 0.6198 GB