Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.554/2.554, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001416/0.001416, allocations: 177.3 kB / 371.4 MB, free: 10.65 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 1.972/1.972, allocations: 205.4 MB / 0.6301 GB, free: 10.36 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.001021/0.001021, allocations: 84.55 kB / 0.7434 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.000483, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1692, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.001479/0.1707, allocations: 1.238 MB / 0.98 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 9.25e-05/0.1709, allocations: 27.86 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.379e-05/0.1709, allocations: 0 / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.171, allocations: 11.94 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.637e-05/0.1711, allocations: 3.984 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 8.859e-05/0.1712, allocations: 19.97 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.053e-05/0.1713, allocations: 35.84 kB / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1714, allocations: 23.98 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.11e-05/0.1714, allocations: 19.92 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.455e-05/0.1715, allocations: 15.92 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.1715, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.723e-06/0.1715, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.509e-05/0.1716, allocations: 27.91 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.382e-05/0.1716, allocations: 33.7 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.586e-05/0.1717, allocations: 36.16 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.8e-06/0.1717, allocations: 4 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.898e-06/0.1717, allocations: 0 / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.515e-06/0.1717, allocations: 0 / 0.9802 GB, free: 26.67 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0002967/0.172, allocations: 355.2 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1721, allocations: 8.031 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.1721, allocations: 11.86 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.1723, allocations: 175 kB / 0.9807 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1723, allocations: 11.94 kB / 0.9807 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.1723, allocations: 4 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1725, allocations: 100.2 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1725, allocations: 11.86 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.661e-05/0.1725, allocations: 4 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.1726, allocations: 0 / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.507e-05/0.1727, allocations: 39.97 kB / 0.9809 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/0.1732, allocations: 0.6478 MB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.772e-05/0.1733, allocations: 177 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.384e-05/0.1733, allocations: 75.28 kB / 0.9818 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1733, allocations: 109.8 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.866e-06/0.1733, allocations: 4 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.543e-05/0.1734, allocations: 33.61 kB / 0.9819 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1735, allocations: 134.6 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.1736, allocations: 159.1 kB / 0.9822 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-06/0.1736, allocations: 29.7 kB / 0.9822 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.985e-05/0.1737, allocations: 100 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-06/0.1737, allocations: 7.984 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.472e-06/0.1737, allocations: 0 / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.327e-05/0.1738, allocations: 314.8 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.74e-05/0.1738, allocations: 4 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/0.1738, allocations: 26.56 kB / 0.9827 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.99e-05/0.1739, allocations: 11.95 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.27e-06/0.1739, allocations: 4 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001279/0.174, allocations: 53.55 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1741, allocations: 4 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.579e-06/0.1741, allocations: 8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1741, allocations: 3.984 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.1742, allocations: 4 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.591e-06/0.1742, allocations: 3.938 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.727e-05/0.1742, allocations: 11.84 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.619e-06/0.1743, allocations: 4.078 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 7.417e-05/0.1743, allocations: 201.1 kB / 0.983 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.556e-05/0.1744, allocations: 112.9 kB / 0.9831 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.984e-05/0.1745, allocations: 117.8 kB / 0.9832 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.737e-05/0.1745, allocations: 176.3 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.774e-05/0.1746, allocations: 176.3 kB / 0.9835 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.898e-05/0.1746, allocations: 188.2 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1748, allocations: 421.2 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.786e-05/0.1748, allocations: 112.8 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.888e-05/0.1748, allocations: 105 kB / 0.9843 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.679e-05/0.1749, allocations: 176.3 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.07e-05/0.1749, allocations: 192.4 kB / 0.9846 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.864e-05/0.175, allocations: 184.3 kB / 0.9848 GB, free: 21.56 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.666e-05/0.175, allocations: 180.2 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.834e-05/0.1751, allocations: 307.8 kB / 0.9853 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.834e-05/0.1751, allocations: 189.9 kB / 0.9855 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.1752, allocations: 188.2 kB / 0.9857 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.856e-05/0.1753, allocations: 104.9 kB / 0.9858 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1753, allocations: 180.3 kB / 0.9859 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.1754, allocations: 108.9 kB / 0.986 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001006/0.1755, allocations: 123.5 kB / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.7e-06/0.1755, allocations: 0 / 0.9861 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003016/0.1758, allocations: 11.94 kB / 0.9862 GB, free: 20.11 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 9.585e-05/0.1759, allocations: 182.5 kB / 0.9863 GB, free: 19.93 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.196e-05/0.176, allocations: 4 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.176, allocations: 0 / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.904e-06/0.176, allocations: 4 kB / 0.9863 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.1763, allocations: 0.5303 MB / 0.9869 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.1766, allocations: 234.1 kB / 0.9871 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.1768, allocations: 0.6965 MB / 0.9878 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.324e-05/0.1768, allocations: 7.984 kB / 0.9878 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.097e-05/0.1768, allocations: 11.44 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.4e-06/0.1768, allocations: 0 / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.002659/0.1795, allocations: 393.2 kB / 0.9882 GB, free: 18 MB / 0.6198 GB