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.0009744/0.0009743, allocations: 89.84 kB / 16.67 MB, free: 6.594 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.001276/0.001276, allocations: 187.9 kB / 17.58 MB, free: 6.188 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.351/1.351, allocations: 223.3 MB / 241.6 MB, free: 208 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7207/0.7207, allocations: 115.5 MB / 408.2 MB, free: 7.023 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003482, allocations: 8 kB / 496.5 MB, free: 15.67 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3604/0.3607, allocations: 77.51 MB / 0.5606 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.001488/0.3623, allocations: 1.252 MB / 0.5618 GB, free: 35.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003107/0.3626, allocations: 105.9 kB / 0.5619 GB, free: 35.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.3626, allocations: 5.25 kB / 0.5619 GB, free: 35.22 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.3628, allocations: 9.906 kB / 0.5619 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.874e-05/0.3628, allocations: 9.875 kB / 0.5619 GB, free: 35.21 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.363, allocations: 26.83 kB / 0.5619 GB, free: 35.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.203e-05/0.3631, allocations: 47.25 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.3632, allocations: 20.36 kB / 0.562 GB, free: 35.18 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.964e-05/0.3632, allocations: 21.06 kB / 0.562 GB, free: 35.17 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.3633, allocations: 29.66 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.3633, allocations: 2.75 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.332e-05/0.3634, allocations: 7.953 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.889e-05/0.3634, allocations: 11.09 kB / 0.5621 GB, free: 35.15 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.3635, allocations: 53.3 kB / 0.5621 GB, free: 35.1 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.082e-05/0.3636, allocations: 36.94 kB / 0.5622 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3636, allocations: 1.312 kB / 0.5622 GB, free: 35.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3636, allocations: 0.5938 kB / 0.5622 GB, free: 35.09 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.677e-06/0.3636, allocations: 0.875 kB / 0.5622 GB, free: 35.09 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.0004287/0.364, allocations: 377.8 kB / 0.5625 GB, free: 34.72 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.3641, allocations: 16.91 kB / 0.5625 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.3641, allocations: 13.33 kB / 0.5626 GB, free: 34.71 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3642, allocations: 185.4 kB / 0.5627 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3643, allocations: 7.031 kB / 0.5627 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.3643, allocations: 2.719 kB / 0.5627 GB, free: 34.5 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002849/0.3646, allocations: 103 kB / 0.5628 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.3646, allocations: 4.125 kB / 0.5628 GB, free: 34.45 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.3646, allocations: 5.531 kB / 0.5629 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.3646, allocations: 1.094 kB / 0.5629 GB, free: 34.44 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003494/0.365, allocations: 104 kB / 0.563 GB, free: 34.43 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004771/0.3655, allocations: 337.8 kB / 0.5633 GB, free: 34.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002198/0.3657, allocations: 73.39 kB / 0.5633 GB, free: 34.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3659, allocations: 52.78 kB / 0.5634 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.143e-05/0.3659, allocations: 3.812 kB / 0.5634 GB, free: 34.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.311e-05/0.3659, allocations: 31.12 kB / 0.5634 GB, free: 34.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.3659, allocations: 0.5625 kB / 0.5634 GB, free: 34.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0006062/0.3666, allocations: 174.7 kB / 0.5636 GB, free: 34 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.3666, allocations: 53.53 kB / 0.5636 GB, free: 33.94 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.557e-05/0.3667, allocations: 121.3 kB / 0.5638 GB, free: 33.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.3667, allocations: 27.8 kB / 0.5638 GB, free: 33.8 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.092e-05/0.3667, allocations: 93.42 kB / 0.5639 GB, free: 33.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.3667, allocations: 15 kB / 0.5639 GB, free: 33.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.128e-05/0.3668, allocations: 10.33 kB / 0.5639 GB, free: 33.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.342e-05/0.3668, allocations: 324.2 kB / 0.5642 GB, free: 33.36 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.367, allocations: 44.67 kB / 0.5643 GB, free: 33.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.3672, allocations: 45.34 kB / 0.5643 GB, free: 33.35 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003226/0.3675, allocations: 101.6 kB / 0.5644 GB, free: 33.33 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3675, allocations: 1.125 kB / 0.5644 GB, free: 33.33 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003665/0.3679, allocations: 128 kB / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/0.3679, allocations: 8.828 kB / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.167e-06/0.3679, allocations: 0 / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.3679, allocations: 1.438 kB / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.3681, allocations: 20.25 kB / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.3681, allocations: 1.312 kB / 0.5645 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.749e-05/0.3682, allocations: 17.84 kB / 0.5646 GB, free: 33.29 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.841e-05/0.3682, allocations: 2.484 kB / 0.5646 GB, free: 33.29 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.788e-05/0.3683, allocations: 124.3 kB / 0.5647 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3683, allocations: 6.891 kB / 0.5647 GB, free: 33.16 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004063/0.3687, allocations: 141.5 kB / 0.5648 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3687, allocations: 2.125 kB / 0.5648 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.3687, allocations: 0 / 0.5648 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.3687, allocations: 1.25 kB / 0.5648 GB, free: 33.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001425/0.3689, allocations: 181.5 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.3689, allocations: 1.656 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.369, allocations: 23.41 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.369, allocations: 0 / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.369, allocations: 0.7031 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.369, allocations: 1.688 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.369, allocations: 1.062 kB / 0.565 GB, free: 32.89 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003882/0.3694, allocations: 222.6 kB / 0.5652 GB, free: 32.75 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.095e-05/0.3695, allocations: 87.23 kB / 0.5653 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.419e-05/0.3695, allocations: 2.719 kB / 0.5653 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.3696, allocations: 17.33 kB / 0.5653 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.192e-05/0.3697, allocations: 3.953 kB / 0.5653 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.3697, allocations: 2.625 kB / 0.5654 GB, free: 32.65 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.703e-05/0.3697, allocations: 92.75 kB / 0.5654 GB, free: 32.57 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3697, allocations: 0.8125 kB / 0.5654 GB, free: 32.57 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.37, allocations: 12.81 kB / 0.5655 GB, free: 32.57 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.3701, allocations: 104.2 kB / 0.5656 GB, free: 32.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003881/0.3705, allocations: 95.2 kB / 0.5656 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3705, allocations: 0 / 0.5656 GB, free: 32.47 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.3707, allocations: 54.83 kB / 0.5657 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002931/0.371, allocations: 7.938 kB / 0.5657 GB, free: 32.46 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003881/0.3714, allocations: 199.6 kB / 0.5659 GB, free: 32.28 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001615/0.3716, allocations: 0.6915 MB / 0.5666 GB, free: 31.59 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.366e-05/0.3716, allocations: 14.38 kB / 0.5666 GB, free: 31.57 MB / 446.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3716, allocations: 0 / 0.5666 GB, free: 31.57 MB / 446.1 MB Notification: Performance of Templates: time 0.002584/0.3742, allocations: 0.9234 MB / 0.5675 GB, free: 31.52 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)