Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Average") translateModel(IBPSA.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001357/0.001357, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001809/0.001809, allocations: 210.2 kB / 16.79 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.5 MB, free: 4.641 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7268/0.7268, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 67.92 kB / 0.4904 GB, free: 14.47 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1652/0.1666, allocations: 77.93 MB / 0.5665 GB, free: 0.7578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002553/0.1692, allocations: 1.589 MB / 0.5681 GB, free: 15.14 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003106/0.1695, allocations: 112.5 kB / 0.5682 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.1695, allocations: 0 / 0.5682 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001105/0.1697, allocations: 3.938 kB / 0.5682 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.688e-05/0.1697, allocations: 11.92 kB / 0.5682 GB, free: 15.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002177/0.1699, allocations: 23.97 kB / 0.5682 GB, free: 14.99 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.681e-05/0.17, allocations: 51.84 kB / 0.5683 GB, free: 14.94 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001037/0.1701, allocations: 31.95 kB / 0.5683 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.293e-05/0.1702, allocations: 23.92 kB / 0.5683 GB, free: 14.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.576e-05/0.1703, allocations: 35.83 kB / 0.5683 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.735e-05/0.1703, allocations: 4 kB / 0.5683 GB, free: 14.85 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.542e-05/0.1703, allocations: 4 kB / 0.5684 GB, free: 14.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1704, allocations: 11.98 kB / 0.5684 GB, free: 14.83 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.926e-05/0.1704, allocations: 27.81 kB / 0.5684 GB, free: 14.8 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001199/0.1706, allocations: 59.78 kB / 0.5684 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1706, allocations: 0 / 0.5684 GB, free: 14.75 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1706, allocations: 4 kB / 0.5685 GB, free: 14.74 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1706, allocations: 0 / 0.5685 GB, free: 14.74 MB / 446.1 MB 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.0005051/0.1711, allocations: 375.6 kB / 0.5688 GB, free: 14.32 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.1711, allocations: 8.031 kB / 0.5688 GB, free: 14.32 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.538e-05/0.1712, allocations: 8.844 kB / 0.5688 GB, free: 14.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.1714, allocations: 188.2 kB / 0.569 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-06/0.1714, allocations: 8.375 kB / 0.569 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.1714, allocations: 4.375 kB / 0.569 GB, free: 14.07 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.1717, allocations: 90.14 kB / 0.5691 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.1717, allocations: 192 / 0.5691 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1717, allocations: 3.938 kB / 0.5691 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.1717, allocations: 0 / 0.5691 GB, free: 13.98 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003064/0.172, allocations: 87.84 kB / 0.5692 GB, free: 13.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.1726, allocations: 320.7 kB / 0.5695 GB, free: 13.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002072/0.1728, allocations: 66.56 kB / 0.5696 GB, free: 13.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001511/0.173, allocations: 40.91 kB / 0.5696 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.932e-05/0.173, allocations: 4 kB / 0.5696 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1731, allocations: 30.56 kB / 0.5696 GB, free: 13.37 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.253e-06/0.1731, allocations: 3.938 kB / 0.5696 GB, free: 13.36 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005804/0.1736, allocations: 137.6 kB / 0.5698 GB, free: 13.22 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.1737, allocations: 51.41 kB / 0.5698 GB, free: 13.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1738, allocations: 124.2 kB / 0.5699 GB, free: 13.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.1738, allocations: 29.64 kB / 0.57 GB, free: 13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.977e-05/0.1739, allocations: 99.98 kB / 0.5701 GB, free: 12.89 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.905e-05/0.1739, allocations: 3.906 kB / 0.5701 GB, free: 12.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.174, allocations: 21.7 kB / 0.5701 GB, free: 12.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001113/0.1741, allocations: 314.8 kB / 0.5704 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001507/0.1742, allocations: 35.95 kB / 0.5704 GB, free: 12.51 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001324/0.1744, allocations: 27.97 kB / 0.5704 GB, free: 12.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000274/0.1747, allocations: 80.78 kB / 0.5705 GB, free: 12.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1747, allocations: 0 / 0.5705 GB, free: 12.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003302/0.175, allocations: 105.5 kB / 0.5706 GB, free: 12.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.483e-05/0.175, allocations: 4 kB / 0.5706 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.429e-06/0.175, allocations: 4 kB / 0.5706 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.1751, allocations: 0 / 0.5706 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001322/0.1752, allocations: 19.92 kB / 0.5706 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.1752, allocations: 3.984 kB / 0.5707 GB, free: 12.26 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.1753, allocations: 11.98 kB / 0.5707 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.1753, allocations: 0 / 0.5707 GB, free: 12.25 MB / 446.1 MB 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 9.404e-05/0.1754, allocations: 117.8 kB / 0.5708 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.1754, allocations: 7.906 kB / 0.5708 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003716/0.1758, allocations: 113.8 kB / 0.5709 GB, free: 12 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.1758, allocations: 4.031 kB / 0.5709 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.1758, allocations: 4 kB / 0.5709 GB, free: 11.99 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1759, allocations: 7.938 kB / 0.5709 GB, free: 11.98 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.176, allocations: 181.6 kB / 0.5711 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1761, allocations: 0 / 0.5711 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.822e-05/0.1762, allocations: 19.92 kB / 0.5711 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1762, allocations: 4 kB / 0.5711 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/0.1762, allocations: 0 / 0.5711 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1762, allocations: 3.938 kB / 0.5711 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.1762, allocations: 3.984 kB / 0.5711 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003615/0.1766, allocations: 199.4 kB / 0.5713 GB, free: 11.51 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1766, allocations: 85 kB / 0.5714 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.1766, allocations: 0 / 0.5714 GB, free: 11.41 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.1767, allocations: 11.98 kB / 0.5714 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.1768, allocations: 8 kB / 0.5714 GB, free: 11.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.1768, allocations: 0 / 0.5714 GB, free: 11.39 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.988e-05/0.1769, allocations: 91.27 kB / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1769, allocations: 0 / 0.5715 GB, free: 11.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002297/0.1771, allocations: 19.94 kB / 0.5715 GB, free: 11.28 MB / 446.1 MB 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.0001363/0.1772, allocations: 107.2 kB / 0.5716 GB, free: 11.17 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003259/0.1776, allocations: 75.86 kB / 0.5717 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1776, allocations: 0 / 0.5717 GB, free: 11.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001658/0.1778, allocations: 43.95 kB / 0.5717 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1781, allocations: 4 kB / 0.5717 GB, free: 11.05 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003372/0.1784, allocations: 167.1 kB / 0.5719 GB, free: 10.86 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1787, allocations: 0.6965 MB / 0.5726 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.418e-05/0.1788, allocations: 7.984 kB / 0.5726 GB, free: 10.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.1788, allocations: 7.438 kB / 0.5726 GB, free: 10.12 MB / 446.1 MB Notification: Performance of SimCode: time 2.004e-06/0.1788, allocations: 0 / 0.5726 GB, free: 10.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002954/0.1818, allocations: 0.6401 MB / 0.5732 GB, free: 9.492 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.makefile (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.sim & ./IBPSA_latest_IBPSA.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)