Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Average.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.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.653/2.653, allocations: 287.9 MB / 302.9 MB, free: 8.371 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.001426/0.001426, allocations: 165.2 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.084/2.084, 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.001537/0.001537, allocations: 96.41 kB / 0.7434 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004846/0.0004849, allocations: 14.91 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1596, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001525/0.1611, allocations: 1.23 MB / 0.9799 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002658/0.1614, allocations: 112.6 kB / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.3e-05/0.1615, allocations: 0 / 0.9801 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.1616, allocations: 7.875 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.746e-05/0.1617, allocations: 15.92 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.1618, allocations: 19.97 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.996e-05/0.1619, allocations: 35.94 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.862e-05/0.162, allocations: 16 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.707e-05/0.1621, allocations: 23.91 kB / 0.9802 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.1621, allocations: 19.92 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1622, allocations: 4 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.745e-05/0.1622, allocations: 4 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.056e-05/0.1623, allocations: 19.91 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.666e-05/0.1623, allocations: 33.7 kB / 0.9802 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.467e-05/0.1624, allocations: 35.92 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.914e-06/0.1624, allocations: 3.938 kB / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.016e-06/0.1624, allocations: 0 / 0.9803 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.021e-06/0.1624, allocations: 4 kB / 0.9803 GB, free: 26.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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000434/0.1629, allocations: 384.7 kB / 0.9807 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1629, allocations: 16.02 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.163, allocations: 15.83 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.1631, allocations: 183 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.1631, allocations: 4 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.234e-05/0.1632, allocations: 0 / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002976/0.1635, allocations: 101.6 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.128e-06/0.1635, allocations: 0 / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1635, allocations: 4 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.271e-06/0.1635, allocations: 0 / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003726/0.1639, allocations: 103.9 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005253/0.1645, allocations: 340.6 kB / 0.9814 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1647, allocations: 74.53 kB / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.1648, allocations: 0 / 0.9815 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.757e-05/0.1648, allocations: 30.56 kB / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.872e-06/0.1648, allocations: 0 / 0.9815 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006366/0.1654, allocations: 181.7 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.469e-05/0.1655, allocations: 51.41 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.694e-05/0.1656, allocations: 121.8 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.032e-05/0.1656, allocations: 25.7 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.877e-05/0.1656, allocations: 95.98 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.171e-05/0.1657, allocations: 11.89 kB / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-06/0.1657, allocations: 0 / 0.982 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.1657, allocations: 318.8 kB / 0.9823 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1659, allocations: 47.95 kB / 0.9823 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.1661, allocations: 43.97 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001691/0.1663, allocations: 43.95 kB / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.363e-06/0.1663, allocations: 0 / 0.9824 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003969/0.1667, allocations: 129.8 kB / 0.9825 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.1667, allocations: 7.938 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.461e-06/0.1668, allocations: 3.984 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.1668, allocations: 11.98 kB / 0.9825 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.1669, allocations: 19.98 kB / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-06/0.167, allocations: 0 / 0.9826 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.275e-05/0.1671, allocations: 15.98 kB / 0.9826 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.448e-05/0.1671, allocations: 4 kB / 0.9826 GB, free: 24.03 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 (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 6.857e-05/0.1672, allocations: 121.8 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.771e-05/0.1672, allocations: 3.906 kB / 0.9827 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004308/0.1677, allocations: 137.5 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.806e-06/0.1677, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.1677, allocations: 3.953 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.263e-06/0.1677, allocations: 0 / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001889/0.1679, allocations: 173.6 kB / 0.983 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.987e-06/0.1679, allocations: 3.938 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.168, allocations: 31.97 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.902e-06/0.1681, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.1681, allocations: 4 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.228e-06/0.1681, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.609e-06/0.1681, allocations: 0 / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004086/0.1685, allocations: 223.4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.1686, allocations: 81.02 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.1686, allocations: 4 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1687, allocations: 19.98 kB / 0.9833 GB, free: 23.13 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.635e-05/0.1688, allocations: 7.984 kB / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.1688, allocations: 0 / 0.9834 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.469e-05/0.1689, allocations: 95.22 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.38e-07/0.1689, allocations: 3.938 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003108/0.1692, allocations: 11.94 kB / 0.9835 GB, free: 23.02 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 (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 Backend phase and start with SimCode phase: time 0.0001254/0.1693, allocations: 107.2 kB / 0.9836 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000399/0.1697, allocations: 95.92 kB / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.44e-06/0.1698, allocations: 0 / 0.9837 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001895/0.17, allocations: 51.95 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1702, allocations: 8 kB / 0.9837 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003467/0.1706, allocations: 157.9 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.1707, allocations: 0.7004 MB / 0.9845 GB, free: 21.84 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.419e-05/0.1708, allocations: 11.98 kB / 0.9846 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.91e-05/0.1708, allocations: 7.438 kB / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of SimCode: time 1.442e-06/0.1708, allocations: 0 / 0.9846 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.003076/0.1739, allocations: 0.6098 MB / 0.9852 GB, free: 21.22 MB / 0.6198 GB