Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.553/2.553, allocations: 287.9 MB / 302.9 MB, free: 8.348 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.001431/0.001431, allocations: 178.2 kB / 371.4 MB, free: 10.66 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.025/2.025, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001023/0.001023, allocations: 92.55 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004615, allocations: 13.44 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1563, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.001539/0.1579, allocations: 1.289 MB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.161, allocations: 2.848 MB / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.61e-05/0.1611, allocations: 0 / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.076e-05/0.1612, allocations: 0 / 0.9828 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.724e-05/0.1612, allocations: 23.89 kB / 0.9828 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003544/0.1616, allocations: 95.7 kB / 0.9829 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.799e-05/0.1617, allocations: 47.92 kB / 0.983 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.79e-05/0.1618, allocations: 8.188 kB / 0.983 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001017/0.1619, allocations: 31.91 kB / 0.983 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.017e-05/0.162, allocations: 35.83 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.162, allocations: 4 kB / 0.983 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002875/0.1623, allocations: 83.81 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.583e-05/0.1624, allocations: 15.97 kB / 0.9831 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.1624, allocations: 33.64 kB / 0.9832 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000157/0.1626, allocations: 80.09 kB / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.526e-06/0.1626, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.856e-06/0.1626, allocations: 0 / 0.9832 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.024e-06/0.1626, allocations: 0 / 0.9832 GB, free: 23.58 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004456/0.1631, allocations: 371.1 kB / 0.9836 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.1631, allocations: 20.02 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1631, allocations: 11.86 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.994e-05/0.1632, allocations: 167 kB / 0.9838 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.1633, allocations: 7.938 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.1633, allocations: 4 kB / 0.9838 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.1635, allocations: 85.58 kB / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.196e-06/0.1636, allocations: 0 / 0.9839 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.1636, allocations: 4 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-06/0.1636, allocations: 4 kB / 0.9839 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002468/0.1638, allocations: 79.91 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004615/0.1643, allocations: 324.8 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000251/0.1646, allocations: 98.48 kB / 0.9844 GB, free: 22.28 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.1653, allocations: 0.7449 MB / 0.9851 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.1653, allocations: 30.56 kB / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 3.041e-06/0.1654, allocations: 0 / 0.9851 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0004784/0.1658, allocations: 153.9 kB / 0.9853 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.1659, allocations: 59.34 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.166, allocations: 121.8 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.166, allocations: 33.7 kB / 0.9855 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.895e-05/0.166, allocations: 91.98 kB / 0.9856 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.352e-05/0.1661, allocations: 27.64 kB / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.575e-06/0.1661, allocations: 0 / 0.9856 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.215e-05/0.1662, allocations: 318.8 kB / 0.9859 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000116/0.1663, allocations: 31.97 kB / 0.9859 GB, free: 20.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1664, allocations: 49.7 kB / 0.986 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.1666, allocations: 40.28 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.441e-06/0.1666, allocations: 3.953 kB / 0.986 GB, free: 20.41 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003058/0.1669, allocations: 125.5 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.1669, allocations: 4 kB / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1669, allocations: 0 / 0.9861 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.569e-05/0.167, allocations: 4 kB / 0.9861 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.1671, allocations: 19.98 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.147e-06/0.1672, allocations: 0 / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.26e-05/0.1673, allocations: 7.984 kB / 0.9862 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.1673, allocations: 8.031 kB / 0.9862 GB, free: 20.24 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 (9): * Single equations (assignments): 9 * 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 7.094e-05/0.1674, allocations: 117.8 kB / 0.9863 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.276e-05/0.1674, allocations: 11.86 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003582/0.1678, allocations: 137.9 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.752e-06/0.1678, allocations: 3.984 kB / 0.9864 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.63e-06/0.1678, allocations: 4 kB / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.043e-06/0.1678, allocations: 0 / 0.9864 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001917/0.168, allocations: 181.6 kB / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.536e-06/0.1681, allocations: 0 / 0.9866 GB, free: 19.73 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.1682, allocations: 31.88 kB / 0.9866 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.1682, allocations: 4 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.1683, allocations: 4.172 kB / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.358e-06/0.1683, allocations: 0 / 0.9866 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.1683, allocations: 11.88 kB / 0.9867 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1686, allocations: 207.4 kB / 0.9869 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.744e-05/0.1687, allocations: 85.05 kB / 0.9869 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1687, allocations: 7.953 kB / 0.9869 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.1689, allocations: 11.98 kB / 0.987 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.102e-05/0.1689, allocations: 4 kB / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.169, allocations: 0 / 0.987 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.741e-05/0.169, allocations: 95.27 kB / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.96e-07/0.169, allocations: 0 / 0.987 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003456/0.1694, allocations: 27.91 kB / 0.9871 GB, free: 19.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 (8): * Single equations (assignments): 8 * 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.0001858/0.1696, allocations: 119.2 kB / 0.9872 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002965/0.1699, allocations: 83.95 kB / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.882e-06/0.1699, allocations: 0 / 0.9873 GB, free: 19 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.17, allocations: 51.97 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002452/0.1703, allocations: 4 kB / 0.9873 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004249/0.1707, allocations: 251.1 kB / 0.9876 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001252/0.1709, allocations: 0.6926 MB / 0.9882 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.793e-05/0.171, allocations: 12.66 kB / 0.9883 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.171, allocations: 11.44 kB / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.337e-06/0.171, allocations: 0 / 0.9883 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.003779/0.1748, allocations: 0.9259 MB / 0.9892 GB, free: 17.02 MB / 0.6198 GB