Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.556/2.556, allocations: 287.9 MB / 302.9 MB, free: 8.312 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.001424/0.001424, allocations: 182.1 kB / 371.4 MB, free: 10.67 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.09/2.09, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001019/0.001019, allocations: 85.41 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004622/0.0004624, allocations: 11.69 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1537, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss): time 0.001801/0.1556, allocations: 1.543 MB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003572/0.1592, allocations: 3.035 MB / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.1593, allocations: 0 / 0.9832 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1595, allocations: 43.81 kB / 0.9833 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0004011/0.16, allocations: 123.5 kB / 0.9834 GB, free: 23.42 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.848e-05/0.16, allocations: 19.97 kB / 0.9834 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001746/0.1602, allocations: 111.8 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.1604, allocations: 21.69 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.1606, allocations: 75.62 kB / 0.9836 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.1607, allocations: 63.69 kB / 0.9837 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1607, allocations: 8 kB / 0.9837 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.287e-05/0.1608, allocations: 19.98 kB / 0.9837 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.84e-05/0.1609, allocations: 35.83 kB / 0.9837 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.161, allocations: 53.64 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000158/0.1611, allocations: 103.8 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.928e-06/0.1611, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.226e-06/0.1612, allocations: 0 / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.907e-06/0.1612, allocations: 0 / 0.9839 GB, free: 22.91 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0007848/0.162, allocations: 498.3 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.162, allocations: 12.03 kB / 0.9844 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.1621, allocations: 19.77 kB / 0.9844 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000345/0.1624, allocations: 233.7 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1625, allocations: 4 kB / 0.9846 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1625, allocations: 7.984 kB / 0.9846 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004056/0.1629, allocations: 141.6 kB / 0.9847 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.163, allocations: 3.938 kB / 0.9847 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.163, allocations: 4 kB / 0.9848 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.261e-05/0.163, allocations: 8 kB / 0.9848 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005287/0.1636, allocations: 159.8 kB / 0.9849 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007833/0.1644, allocations: 452.5 kB / 0.9853 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004926/0.1649, allocations: 180.1 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.1649, allocations: 0 / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.325e-05/0.165, allocations: 42.45 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=13): time 3.611e-06/0.165, allocations: 4 kB / 0.9856 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13): time 0.001009/0.166, allocations: 293.5 kB / 0.9858 GB, free: 20.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.732e-05/0.166, allocations: 59.41 kB / 0.9859 GB, free: 20.65 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.1663, allocations: 201 kB / 0.9861 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.1663, allocations: 37.64 kB / 0.9861 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.379e-05/0.1664, allocations: 116.1 kB / 0.9862 GB, free: 20.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.021e-05/0.1664, allocations: 43.36 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/0.1665, allocations: 4 kB / 0.9863 GB, free: 20.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.372e-05/0.1665, allocations: 330.8 kB / 0.9866 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.1668, allocations: 71.94 kB / 0.9867 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002708/0.1671, allocations: 91.38 kB / 0.9868 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000291/0.1674, allocations: 91.94 kB / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.241e-06/0.1674, allocations: 0 / 0.9868 GB, free: 19.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006905/0.1681, allocations: 213.4 kB / 0.987 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.1682, allocations: 4 kB / 0.987 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.079e-06/0.1682, allocations: 3.953 kB / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1682, allocations: 0 / 0.9871 GB, free: 19.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003217/0.1686, allocations: 43.95 kB / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.1686, allocations: 0 / 0.9871 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1688, allocations: 27.83 kB / 0.9871 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.331e-05/0.1688, allocations: 4 kB / 0.9871 GB, free: 19.36 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * 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 0.0001179/0.169, allocations: 129.8 kB / 0.9872 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.155e-05/0.169, allocations: 19.81 kB / 0.9873 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.435e-05/0.1691, allocations: 25.83 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.803e-06/0.1691, allocations: 3.953 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.215e-06/0.1691, allocations: 4 kB / 0.9873 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.437e-06/0.1691, allocations: 3.984 kB / 0.9873 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.1695, allocations: 265.4 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-06/0.1695, allocations: 3.938 kB / 0.9876 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002878/0.1698, allocations: 39.97 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-06/0.1698, allocations: 0 / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.1698, allocations: 3.984 kB / 0.9876 GB, free: 18.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.599e-06/0.1698, allocations: 4 kB / 0.9876 GB, free: 18.81 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.782e-06/0.1698, allocations: 11.89 kB / 0.9876 GB, free: 18.8 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007007/0.1706, allocations: 319.2 kB / 0.9879 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.1707, allocations: 112.8 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.1707, allocations: 4 kB / 0.988 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002384/0.171, allocations: 19.97 kB / 0.9881 GB, free: 18.32 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.676e-05/0.1711, allocations: 11.94 kB / 0.9881 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.131e-05/0.1711, allocations: 12 kB / 0.9881 GB, free: 18.3 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001382/0.1712, allocations: 152.5 kB / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.26e-07/0.1713, allocations: 0 / 0.9882 GB, free: 18.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003753/0.1716, allocations: 36 kB / 0.9883 GB, free: 18.12 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 (13): * Single equations (assignments): 13 * 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.0001542/0.1718, allocations: 103.2 kB / 0.9884 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006504/0.1725, allocations: 185.1 kB / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.153e-06/0.1725, allocations: 0 / 0.9885 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.1728, allocations: 103.8 kB / 0.9886 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.1732, allocations: 20.66 kB / 0.9886 GB, free: 17.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.174, allocations: 479.5 kB / 0.9891 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.1742, allocations: 0.7316 MB / 0.9898 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.1745, allocations: 52.58 kB / 0.9899 GB, free: 16.4 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.198e-05/0.1746, allocations: 19.42 kB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.549e-06/0.1746, allocations: 3.938 kB / 0.9899 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.005341/0.1799, allocations: 1.483 MB / 0.9913 GB, free: 14.91 MB / 0.6198 GB