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.001105/0.001106, allocations: 111.5 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.001117/0.001117, allocations: 195 kB / 17.98 MB, free: 5.027 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.3/1.3, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7353/0.7353, allocations: 115.1 MB / 406.9 MB, free: 6.34 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 59.89 kB / 494.8 MB, free: 15.86 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3341, allocations: 76.15 MB / 0.5576 GB, free: 36.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.002486/0.3367, allocations: 1.526 MB / 0.5591 GB, free: 35.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003036/0.337, allocations: 109.2 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.337, allocations: 1.125 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.3372, allocations: 12.33 kB / 0.5592 GB, free: 35.48 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.649e-05/0.3372, allocations: 13.27 kB / 0.5592 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002057/0.3374, allocations: 27.8 kB / 0.5592 GB, free: 35.46 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.975e-05/0.3375, allocations: 51.92 kB / 0.5593 GB, free: 35.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.3376, allocations: 31.16 kB / 0.5593 GB, free: 35.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.723e-05/0.3377, allocations: 31.12 kB / 0.5593 GB, free: 35.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.513e-05/0.3377, allocations: 27.2 kB / 0.5593 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.3378, allocations: 4.219 kB / 0.5594 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.104e-05/0.3378, allocations: 14.48 kB / 0.5594 GB, free: 35.4 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.3379, allocations: 17.61 kB / 0.5594 GB, free: 35.39 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.552e-05/0.3379, allocations: 24.34 kB / 0.5594 GB, free: 35.38 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001071/0.338, allocations: 61.38 kB / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.338, allocations: 0 / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.338, allocations: 0 / 0.5595 GB, free: 35.35 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.338, allocations: 2.219 kB / 0.5595 GB, free: 35.35 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.0004113/0.3385, allocations: 376.3 kB / 0.5598 GB, free: 34.98 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.963e-05/0.3385, allocations: 11.56 kB / 0.5598 GB, free: 34.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.173e-05/0.3385, allocations: 8.109 kB / 0.5598 GB, free: 34.97 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.3386, allocations: 193.5 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.667e-06/0.3387, allocations: 2.062 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.107e-05/0.3387, allocations: 2.688 kB / 0.56 GB, free: 34.76 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002428/0.3389, allocations: 87.52 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.355e-06/0.3389, allocations: 2.016 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.339, allocations: 3.938 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.339, allocations: 2 kB / 0.5601 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002783/0.3393, allocations: 86.83 kB / 0.5602 GB, free: 34.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004549/0.3397, allocations: 317.6 kB / 0.5605 GB, free: 34.41 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001939/0.3399, allocations: 70.22 kB / 0.5606 GB, free: 34.37 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001382/0.3401, allocations: 41.83 kB / 0.5606 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-05/0.3401, allocations: 3.688 kB / 0.5606 GB, free: 34.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.384e-05/0.3401, allocations: 31.22 kB / 0.5607 GB, free: 34.32 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.3401, allocations: 0 / 0.5607 GB, free: 34.32 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005115/0.3406, allocations: 137 kB / 0.5608 GB, free: 34.27 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.034e-05/0.3407, allocations: 53.25 kB / 0.5608 GB, free: 34.21 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.534e-05/0.3408, allocations: 117.9 kB / 0.5609 GB, free: 34.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.3408, allocations: 27.2 kB / 0.561 GB, free: 34.07 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.261e-05/0.3408, allocations: 93.92 kB / 0.5611 GB, free: 33.98 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.815e-05/0.3408, allocations: 18.98 kB / 0.5611 GB, free: 33.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.3409, allocations: 12.83 kB / 0.5611 GB, free: 33.95 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.196e-05/0.3409, allocations: 323.2 kB / 0.5614 GB, free: 33.63 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3411, allocations: 34.88 kB / 0.5614 GB, free: 33.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.3412, allocations: 34.47 kB / 0.5615 GB, free: 33.62 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002456/0.3414, allocations: 71.88 kB / 0.5615 GB, free: 33.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3414, allocations: 1.094 kB / 0.5615 GB, free: 33.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002914/0.3417, allocations: 108.2 kB / 0.5616 GB, free: 33.56 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.3418, allocations: 5.781 kB / 0.5616 GB, free: 33.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3418, allocations: 5.312 kB / 0.5616 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.3418, allocations: 0 / 0.5616 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.3419, allocations: 21.45 kB / 0.5617 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.369e-06/0.3419, allocations: 1.031 kB / 0.5617 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.021e-05/0.342, allocations: 11.52 kB / 0.5617 GB, free: 33.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.342, allocations: 3.203 kB / 0.5617 GB, free: 33.55 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 4.974e-05/0.3421, allocations: 120.8 kB / 0.5618 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.603e-05/0.3421, allocations: 2.719 kB / 0.5618 GB, free: 33.43 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.3424, allocations: 115.9 kB / 0.5619 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3424, allocations: 1.938 kB / 0.5619 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3425, allocations: 5.312 kB / 0.5619 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.3425, allocations: 0 / 0.5619 GB, free: 33.38 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.3426, allocations: 182.4 kB / 0.5621 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3426, allocations: 2 kB / 0.5621 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.973e-05/0.3427, allocations: 16.95 kB / 0.5621 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3427, allocations: 4.734 kB / 0.5621 GB, free: 33.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-06/0.3427, allocations: 4 kB / 0.5621 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.3427, allocations: 2.438 kB / 0.5621 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.3427, allocations: 0.7031 kB / 0.5621 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003023/0.343, allocations: 199.7 kB / 0.5623 GB, free: 33.02 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.266e-05/0.3431, allocations: 85.27 kB / 0.5624 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3431, allocations: 1.375 kB / 0.5624 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.3432, allocations: 10.91 kB / 0.5624 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3433, allocations: 9.531 kB / 0.5624 GB, free: 32.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3433, allocations: 1.281 kB / 0.5624 GB, free: 32.92 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.494e-05/0.3433, allocations: 93.34 kB / 0.5625 GB, free: 32.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3433, allocations: 1.031 kB / 0.5625 GB, free: 32.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3435, allocations: 14.28 kB / 0.5625 GB, free: 32.84 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.0001042/0.3437, allocations: 106.3 kB / 0.5626 GB, free: 32.74 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003247/0.344, allocations: 78.19 kB / 0.5627 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.344, allocations: 1.094 kB / 0.5627 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.3441, allocations: 38.64 kB / 0.5627 GB, free: 32.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002922/0.3444, allocations: 12.28 kB / 0.5627 GB, free: 32.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002967/0.3447, allocations: 150.5 kB / 0.5629 GB, free: 32.59 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.3449, allocations: 0.6892 MB / 0.5636 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.03e-05/0.3449, allocations: 9.062 kB / 0.5636 GB, free: 31.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.42e-05/0.345, allocations: 10.19 kB / 0.5636 GB, free: 31.89 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.345, allocations: 0 / 0.5636 GB, free: 31.89 MB / 446.1 MB Notification: Performance of Templates: time 0.002947/0.3479, allocations: 0.7681 MB / 0.5643 GB, free: 31.83 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 gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Utilities.Math.Examples.Average.pipe 2>&1)