Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.65/1.65, allocations: 287.4 MB / 303.2 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009222/0.0009222, allocations: 183 kB / 371.8 MB, free: 10.8 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.4 MB / 0.6305 GB, free: 10.53 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008647/0.000865, allocations: 93.22 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000353/0.0003531, allocations: 17.83 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1722, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001294/0.1736, allocations: 1.238 MB / 0.9805 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002474/0.1738, allocations: 108.5 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.23e-05/0.1739, allocations: 0 / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.668e-05/0.174, allocations: 7.922 kB / 0.9806 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.373e-05/0.174, allocations: 11.92 kB / 0.9806 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.1742, allocations: 27.91 kB / 0.9806 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.495e-05/0.1743, allocations: 43.84 kB / 0.9807 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.1744, allocations: 20 kB / 0.9807 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.293e-05/0.1744, allocations: 23.91 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.146e-05/0.1745, allocations: 23.91 kB / 0.9807 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1745, allocations: 7.938 kB / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.594e-05/0.1746, allocations: 4 kB / 0.9807 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/0.1746, allocations: 11.98 kB / 0.9808 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1746, allocations: 41.64 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.559e-05/0.1747, allocations: 39.92 kB / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1747, allocations: 0 / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1747, allocations: 0 / 0.9808 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.807e-06/0.1747, allocations: 0 / 0.9808 GB, free: 26.56 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.0003869/0.1751, allocations: 379.5 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1752, allocations: 8.031 kB / 0.9812 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1752, allocations: 12.83 kB / 0.9812 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1753, allocations: 180.2 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1754, allocations: 8.375 kB / 0.9814 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.1754, allocations: 4.375 kB / 0.9814 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.1756, allocations: 106.1 kB / 0.9815 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.1756, allocations: 192 / 0.9815 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.1757, allocations: 3.938 kB / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.1757, allocations: 0 / 0.9815 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.176, allocations: 103.9 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1764, allocations: 340.6 kB / 0.9819 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001791/0.1766, allocations: 74.52 kB / 0.982 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001516/0.1767, allocations: 48.91 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.1768, allocations: 4 kB / 0.9821 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.283e-05/0.1768, allocations: 38.56 kB / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.1768, allocations: 0 / 0.9821 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0004937/0.1773, allocations: 173.5 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.27e-05/0.1773, allocations: 51.41 kB / 0.9823 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.355e-05/0.1774, allocations: 113.8 kB / 0.9824 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.1774, allocations: 29.7 kB / 0.9824 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.847e-05/0.1774, allocations: 99.97 kB / 0.9825 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.415e-05/0.1775, allocations: 3.906 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-06/0.1775, allocations: 4 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.669e-05/0.1775, allocations: 322.8 kB / 0.9829 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1776, allocations: 43.97 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.1778, allocations: 43.95 kB / 0.9829 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.178, allocations: 96.78 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1781, allocations: 0 / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002948/0.1784, allocations: 129.5 kB / 0.9832 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.1784, allocations: 4 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1784, allocations: 4 kB / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.1784, allocations: 0 / 0.9832 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1785, allocations: 23.92 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.1785, allocations: 0 / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.551e-05/0.1786, allocations: 19.89 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.722e-05/0.1786, allocations: 4 kB / 0.9832 GB, free: 23.91 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 5.165e-05/0.1787, allocations: 127.1 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.1787, allocations: 4 kB / 0.9833 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.1791, allocations: 133.5 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1791, allocations: 4 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1791, allocations: 3.984 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.594e-05/0.1791, allocations: 81.02 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.1791, allocations: 4 kB / 0.9835 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1792, allocations: 27.86 kB / 0.9836 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.564e-05/0.1793, allocations: 7.984 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000362/0.1797, allocations: 208.9 kB / 0.9838 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003203/0.18, allocations: 299.1 kB / 0.9841 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001423/0.1801, allocations: 55.98 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.544e-05/0.1802, allocations: 91.7 kB / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of Backend: time 3.51e-07/0.1802, allocations: 0 / 0.9842 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.1806, allocations: 131.9 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003486/0.181, allocations: 0.6033 MB / 0.9849 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of Templates: time 0.00241/0.1834, allocations: 0.7939 MB / 0.9857 GB, free: 21.26 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)