Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009044/0.0009044, allocations: 115.3 kB / 15.34 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009271/0.0009272, allocations: 191.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.139/1.139, allocations: 205.1 MB / 222.1 MB, free: 4.695 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.468/1.468, allocations: 292.2 MB / 0.5485 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 63.58 kB / 0.671 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1666, allocations: 114.5 MB / 0.7828 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.00226/0.1689, allocations: 1.604 MB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000239/0.1692, allocations: 113.6 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.54e-05/0.1692, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.1693, allocations: 7.922 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.244e-05/0.1694, allocations: 11.88 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001795/0.1696, allocations: 27.97 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.7e-05/0.1696, allocations: 55.84 kB / 0.7846 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.964e-05/0.1697, allocations: 23.98 kB / 0.7846 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.1698, allocations: 27.91 kB / 0.7847 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.807e-05/0.1698, allocations: 23.86 kB / 0.7847 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.26e-05/0.1699, allocations: 4 kB / 0.7847 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 4.576e-05/0.1699, allocations: 15.98 kB / 0.7847 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.179e-05/0.1699, allocations: 15.98 kB / 0.7847 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.11e-05/0.17, allocations: 27.81 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.206e-05/0.1701, allocations: 59.84 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.404e-06/0.1701, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1701, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.1701, allocations: 0 / 0.7848 GB, free: 11.93 MB / 0.6075 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.0004059/0.1705, allocations: 375.5 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.777e-05/0.1705, allocations: 16.02 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.505e-05/0.1706, allocations: 4.844 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001224/0.1707, allocations: 184.2 kB / 0.7854 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.624e-06/0.1707, allocations: 12.38 kB / 0.7854 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.1707, allocations: 8.312 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002281/0.171, allocations: 82.2 kB / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.392e-06/0.171, allocations: 192 / 0.7855 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.171, allocations: 11.88 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.171, allocations: 4 kB / 0.7855 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.1713, allocations: 79.91 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004214/0.1717, allocations: 332.6 kB / 0.7859 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.1719, allocations: 62.53 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.172, allocations: 40.91 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.1721, allocations: 96 / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.1721, allocations: 34.5 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 7.42e-07/0.1721, allocations: 4 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0004602/0.1725, allocations: 137.6 kB / 0.7861 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.283e-05/0.1726, allocations: 51.41 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.094e-05/0.1726, allocations: 113.8 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.1727, allocations: 25.7 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.851e-05/0.1727, allocations: 108 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.514e-05/0.1727, allocations: 3.906 kB / 0.7864 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.1728, allocations: 13.72 kB / 0.7864 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.833e-05/0.1728, allocations: 326.8 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001254/0.173, allocations: 27.97 kB / 0.7868 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.1731, allocations: 39.89 kB / 0.7868 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002287/0.1733, allocations: 73.06 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.1733, allocations: 0 / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002841/0.1736, allocations: 113.5 kB / 0.787 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.1737, allocations: 4 kB / 0.787 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.1737, allocations: 4 kB / 0.787 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.1737, allocations: 4 kB / 0.787 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.1738, allocations: 11.98 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1738, allocations: 0 / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.949e-05/0.1739, allocations: 15.97 kB / 0.787 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.1739, allocations: 0 / 0.787 GB, free: 9.422 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.174, allocations: 121.7 kB / 0.7871 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.174, allocations: 11.91 kB / 0.7872 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.1743, allocations: 113.5 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1743, allocations: 0 / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.766e-06/0.1743, allocations: 0 / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.014e-06/0.1743, allocations: 0 / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1745, allocations: 181.6 kB / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1745, allocations: 0 / 0.7874 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.348e-05/0.1746, allocations: 19.98 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1746, allocations: 0 / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.1746, allocations: 0 / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.1746, allocations: 4 kB / 0.7875 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1746, allocations: 3.938 kB / 0.7875 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003072/0.1749, allocations: 207.3 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.323e-05/0.1749, allocations: 88.95 kB / 0.7877 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.175, allocations: 3.938 kB / 0.7877 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.645e-05/0.1751, allocations: 15.97 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.1751, allocations: 0 / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.1751, allocations: 4 kB / 0.7878 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.96e-05/0.1752, allocations: 95.27 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1752, allocations: 0 / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000206/0.1754, allocations: 12 kB / 0.7879 GB, free: 8.449 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001059/0.1755, allocations: 99.19 kB / 0.788 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002971/0.1758, allocations: 79.84 kB / 0.788 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.337e-06/0.1758, allocations: 4 kB / 0.788 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001316/0.1759, allocations: 43.95 kB / 0.7881 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.1762, allocations: 4 kB / 0.7881 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002667/0.1764, allocations: 165.5 kB / 0.7882 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.1766, allocations: 0.6963 MB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.713e-05/0.1767, allocations: 11.89 kB / 0.7889 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.146e-05/0.1767, allocations: 7.438 kB / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of SimCode: time 2.01e-07/0.1767, allocations: 0 / 0.7889 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of Templates: time 0.002187/0.1789, allocations: 0.6645 MB / 0.7896 GB, free: 6.625 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)