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.00107/0.00107, allocations: 115 kB / 17.04 MB, free: 5.812 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.0009358/0.0009357, allocations: 196 kB / 17.98 MB, free: 5.031 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.259/1.259, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7014/0.7014, allocations: 115.1 MB / 407 MB, free: 6.344 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 63.91 kB / 494.8 MB, free: 15.85 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3456, allocations: 76.13 MB / 0.5576 GB, free: 36.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002378/0.348, allocations: 1.531 MB / 0.5591 GB, free: 35.8 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002866/0.3483, allocations: 115.3 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.3484, allocations: 1.062 kB / 0.5592 GB, free: 35.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001223/0.3485, allocations: 13.3 kB / 0.5592 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.119e-05/0.3485, allocations: 4.688 kB / 0.5592 GB, free: 35.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002188/0.3488, allocations: 28.67 kB / 0.5592 GB, free: 35.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.028e-05/0.3489, allocations: 59.14 kB / 0.5593 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.349, allocations: 22.92 kB / 0.5593 GB, free: 35.67 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.126e-05/0.349, allocations: 26.59 kB / 0.5593 GB, free: 35.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.3491, allocations: 31.97 kB / 0.5593 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.3491, allocations: 5.875 kB / 0.5594 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.832e-05/0.3492, allocations: 13.55 kB / 0.5594 GB, free: 35.64 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.855e-05/0.3493, allocations: 15.62 kB / 0.5594 GB, free: 35.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/0.3493, allocations: 24.83 kB / 0.5594 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001234/0.3494, allocations: 64.64 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.3494, allocations: 1.562 kB / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3494, allocations: 0 / 0.5595 GB, free: 35.58 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.3495, allocations: 1.438 kB / 0.5595 GB, free: 35.58 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.0004436/0.3499, allocations: 379.1 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.483e-05/0.3499, allocations: 9.375 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.374e-05/0.35, allocations: 9.344 kB / 0.5598 GB, free: 35.21 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000138/0.3501, allocations: 188.6 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-06/0.3501, allocations: 1.719 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.684e-05/0.3502, allocations: 5.266 kB / 0.56 GB, free: 35 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.3504, allocations: 90.31 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.3504, allocations: 1.594 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.3505, allocations: 3.938 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3505, allocations: 2.594 kB / 0.5601 GB, free: 34.95 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.3508, allocations: 80.61 kB / 0.5602 GB, free: 34.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004545/0.3512, allocations: 330.5 kB / 0.5605 GB, free: 34.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.3514, allocations: 55.47 kB / 0.5606 GB, free: 34.61 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001911/0.3516, allocations: 44.97 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.663e-05/0.3517, allocations: 2.344 kB / 0.5606 GB, free: 34.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.511e-05/0.3517, allocations: 32.48 kB / 0.5606 GB, free: 34.55 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.442e-06/0.3517, allocations: 1.25 kB / 0.5607 GB, free: 34.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006779/0.3524, allocations: 141.6 kB / 0.5608 GB, free: 34.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.221e-05/0.3524, allocations: 51.41 kB / 0.5608 GB, free: 34.44 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.922e-05/0.3525, allocations: 121.4 kB / 0.561 GB, free: 34.34 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3525, allocations: 25.7 kB / 0.561 GB, free: 34.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.053e-05/0.3525, allocations: 93.98 kB / 0.5611 GB, free: 34.21 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.3526, allocations: 14.42 kB / 0.5611 GB, free: 34.2 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.3526, allocations: 15.84 kB / 0.5611 GB, free: 34.19 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.576e-05/0.3526, allocations: 321.4 kB / 0.5614 GB, free: 33.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.3528, allocations: 33.27 kB / 0.5614 GB, free: 33.86 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.3529, allocations: 39.75 kB / 0.5615 GB, free: 33.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002653/0.3532, allocations: 72.64 kB / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3532, allocations: 0 / 0.5615 GB, free: 33.84 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002934/0.3535, allocations: 113.3 kB / 0.5616 GB, free: 33.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.246e-05/0.3535, allocations: 4.188 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3535, allocations: 5.797 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.3536, allocations: 3.938 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.3537, allocations: 16.64 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.86e-06/0.3537, allocations: 1.438 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.176e-05/0.3538, allocations: 12.31 kB / 0.5617 GB, free: 33.79 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.3538, allocations: 1.062 kB / 0.5617 GB, free: 33.79 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 5.791e-05/0.3539, allocations: 121.3 kB / 0.5618 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3539, allocations: 3.812 kB / 0.5618 GB, free: 33.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003255/0.3542, allocations: 114.8 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3542, allocations: 2.312 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3542, allocations: 0 / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3542, allocations: 1.484 kB / 0.5619 GB, free: 33.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.3544, allocations: 178 kB / 0.5621 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.3544, allocations: 5.562 kB / 0.5621 GB, free: 33.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.951e-05/0.3545, allocations: 20.48 kB / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3545, allocations: 0 / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.3545, allocations: 2.766 kB / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.3545, allocations: 0 / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3545, allocations: 1.312 kB / 0.5621 GB, free: 33.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003021/0.3548, allocations: 209.1 kB / 0.5623 GB, free: 33.25 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.094e-05/0.3548, allocations: 78.72 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.421e-05/0.3549, allocations: 3.641 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.943e-05/0.355, allocations: 11.22 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.355, allocations: 3.891 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.355, allocations: 2.766 kB / 0.5624 GB, free: 33.16 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.338e-05/0.3551, allocations: 90.59 kB / 0.5625 GB, free: 33.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3551, allocations: 1.438 kB / 0.5625 GB, free: 33.08 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002239/0.3553, allocations: 18.34 kB / 0.5625 GB, free: 33.07 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.0001092/0.3554, allocations: 101.6 kB / 0.5626 GB, free: 32.98 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003165/0.3557, allocations: 75.77 kB / 0.5627 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.3558, allocations: 0 / 0.5627 GB, free: 32.97 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001393/0.3559, allocations: 43.67 kB / 0.5627 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3562, allocations: 12.72 kB / 0.5627 GB, free: 32.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/0.3565, allocations: 156.6 kB / 0.5629 GB, free: 32.83 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.3566, allocations: 0.6913 MB / 0.5636 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.008e-05/0.3566, allocations: 8.094 kB / 0.5636 GB, free: 32.13 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.446e-05/0.3567, allocations: 15.91 kB / 0.5636 GB, free: 32.12 MB / 446.1 MB Notification: Performance of SimCode: time 2e-07/0.3567, allocations: 0 / 0.5636 GB, free: 32.12 MB / 446.1 MB Notification: Performance of Templates: time 0.002949/0.3596, allocations: 0.7558 MB / 0.5643 GB, free: 32.07 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)