Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.558/2.558, allocations: 287.9 MB / 302.9 MB, free: 8.27 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.001417/0.001416, allocations: 173.5 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.052/2.052, allocations: 205.4 MB / 0.6301 GB, free: 10.32 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.001058/0.001057, allocations: 89.27 kB / 0.7434 GB, free: 6.336 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004927, allocations: 18.98 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001129/0.1589, allocations: 0.961 MB / 0.9797 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.1613, allocations: 1.889 MB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.279e-05/0.1613, allocations: 4 kB / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.1614, allocations: 0 / 0.9815 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.152e-05/0.1614, allocations: 3.938 kB / 0.9815 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.1619, allocations: 115.6 kB / 0.9817 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.154e-05/0.1619, allocations: 27.95 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.934e-05/0.162, allocations: 0 / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.122e-05/0.162, allocations: 15.98 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.1621, allocations: 23.92 kB / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.1621, allocations: 0 / 0.9817 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002901/0.1624, allocations: 107.9 kB / 0.9818 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.508e-05/0.1624, allocations: 7.984 kB / 0.9818 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.215e-05/0.1625, allocations: 33.7 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.1626, allocations: 52.03 kB / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.1626, allocations: 0 / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.982e-06/0.1626, allocations: 0 / 0.9819 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1627, allocations: 4 kB / 0.9819 GB, free: 24.92 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0002949/0.163, allocations: 339.4 kB / 0.9822 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.667e-05/0.163, allocations: 12.02 kB / 0.9823 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.1633, allocations: 23.84 kB / 0.9823 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.319e-05/0.1634, allocations: 167 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.385e-05/0.1634, allocations: 0 / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.474e-05/0.1634, allocations: 4 kB / 0.9824 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.1636, allocations: 68.25 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.946e-06/0.1636, allocations: 4 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.1636, allocations: 0 / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.175e-06/0.1636, allocations: 4 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.418e-05/0.1637, allocations: 19.88 kB / 0.9825 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005244/0.1642, allocations: 466.9 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001348/0.1644, allocations: 79.59 kB / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.021e-06/0.1644, allocations: 0 / 0.9831 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.672e-05/0.1644, allocations: 34.69 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=5): time 1.992e-06/0.1644, allocations: 4 kB / 0.9831 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006086/0.165, allocations: 306.2 kB / 0.9834 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.1651, allocations: 102.8 kB / 0.9835 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.354e-05/0.1651, allocations: 101.8 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.39e-05/0.1652, allocations: 25.7 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.025e-05/0.1652, allocations: 92.3 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.066e-05/0.1653, allocations: 35.48 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.666e-06/0.1653, allocations: 4 kB / 0.9837 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.91e-05/0.1653, allocations: 310.8 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.504e-05/0.1654, allocations: 15.98 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.145e-05/0.1654, allocations: 57.08 kB / 0.9841 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.85e-05/0.1655, allocations: 16 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.909e-06/0.1655, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001633/0.1657, allocations: 93.55 kB / 0.9842 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.1657, allocations: 7.953 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.447e-06/0.1657, allocations: 0 / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1658, allocations: 4 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.616e-05/0.1659, allocations: 19.94 kB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.808e-06/0.1659, allocations: 12.11 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.001e-05/0.1659, allocations: 0 / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.115e-05/0.166, allocations: 8 kB / 0.9843 GB, free: 22.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 6.043e-05/0.166, allocations: 109.8 kB / 0.9844 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.884e-05/0.1661, allocations: 11.91 kB / 0.9844 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.1662, allocations: 15.45 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.7e-06/0.1662, allocations: 4.609 kB / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.414e-06/0.1662, allocations: 0 / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.053e-06/0.1662, allocations: 0 / 0.9844 GB, free: 22.05 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003838/0.1666, allocations: 177.6 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.921e-06/0.1666, allocations: 64 / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.1667, allocations: 27.92 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.623e-06/0.1668, allocations: 0 / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.1668, allocations: 4 kB / 0.9846 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.1668, allocations: 3.953 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.779e-06/0.1668, allocations: 3.984 kB / 0.9846 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002149/0.167, allocations: 345.5 kB / 0.9849 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.748e-05/0.1671, allocations: 92.95 kB / 0.985 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1671, allocations: 11.92 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002314/0.1674, allocations: 4 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.067e-05/0.1674, allocations: 0 / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.1674, allocations: 8 kB / 0.985 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.76e-05/0.1674, allocations: 87.27 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.56e-07/0.1675, allocations: 0 / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004573/0.1679, allocations: 8 kB / 0.9851 GB, free: 21.2 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001098/0.168, allocations: 109.1 kB / 0.9852 GB, free: 21.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001227/0.1682, allocations: 39.92 kB / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.265e-06/0.1682, allocations: 256 / 0.9853 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.503e-05/0.1682, allocations: 27.92 kB / 0.9853 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1686, allocations: 4 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006392/0.1692, allocations: 400.6 kB / 0.9857 GB, free: 20.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.1694, allocations: 0.6848 MB / 0.9863 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.583e-05/0.1695, allocations: 11.94 kB / 0.9864 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.454e-05/0.1695, allocations: 11.44 kB / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.498e-06/0.1695, allocations: 0 / 0.9864 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of Templates: time 0.00303/0.1726, allocations: 0.5974 MB / 0.987 GB, free: 19.29 MB / 0.6198 GB