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.001784/0.001784, allocations: 111.9 kB / 16.64 MB, free: 6.371 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.00193/0.00193, allocations: 189.4 kB / 17.56 MB, free: 5.797 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.532/1.532, allocations: 222.9 MB / 241.2 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8185/0.8185, allocations: 125.4 MB / 416.7 MB, free: 13.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001945/0.001945, allocations: 68.03 kB / 0.4943 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3603/0.3623, allocations: 78.56 MB / 0.571 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Average): time 0.003594/0.3659, allocations: 1.589 MB / 0.5726 GB, free: 29.79 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003726/0.3663, allocations: 113.7 kB / 0.5727 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.081e-05/0.3664, allocations: 2.719 kB / 0.5727 GB, free: 29.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.3666, allocations: 7.359 kB / 0.5727 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.52e-05/0.3666, allocations: 9.047 kB / 0.5727 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002529/0.3669, allocations: 22.67 kB / 0.5727 GB, free: 29.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.367, allocations: 56.27 kB / 0.5728 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.3671, allocations: 26.97 kB / 0.5728 GB, free: 29.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.3672, allocations: 25.5 kB / 0.5728 GB, free: 29.64 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.747e-05/0.3673, allocations: 33.06 kB / 0.5728 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.237e-05/0.3673, allocations: 6.938 kB / 0.5728 GB, free: 29.63 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.39e-05/0.3674, allocations: 13.28 kB / 0.5729 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.888e-05/0.3675, allocations: 11.92 kB / 0.5729 GB, free: 29.62 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 4.241e-05/0.3675, allocations: 28.59 kB / 0.5729 GB, free: 29.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.3676, allocations: 43.3 kB / 0.5729 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.3676, allocations: 0 / 0.5729 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3676, allocations: 0 / 0.5729 GB, free: 29.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.188e-05/0.3677, allocations: 0.9688 kB / 0.5729 GB, free: 29.59 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.0005625/0.3682, allocations: 379.5 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.149e-05/0.3683, allocations: 9.125 kB / 0.5733 GB, free: 29.21 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.361e-05/0.3683, allocations: 13.84 kB / 0.5733 GB, free: 29.2 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001391/0.3685, allocations: 183.3 kB / 0.5735 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.3685, allocations: 3.938 kB / 0.5735 GB, free: 29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3685, allocations: 7.906 kB / 0.5735 GB, free: 28.99 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002891/0.3688, allocations: 88.42 kB / 0.5736 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3688, allocations: 4.125 kB / 0.5736 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.3688, allocations: 6.5 kB / 0.5736 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3689, allocations: 1 kB / 0.5736 GB, free: 28.94 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002922/0.3692, allocations: 83.97 kB / 0.5737 GB, free: 28.93 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/0.3697, allocations: 323.3 kB / 0.574 GB, free: 28.64 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000202/0.3699, allocations: 64.41 kB / 0.5741 GB, free: 28.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001507/0.37, allocations: 47.67 kB / 0.5741 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.3701, allocations: 1.812 kB / 0.5741 GB, free: 28.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.521e-05/0.3701, allocations: 36.98 kB / 0.5741 GB, free: 28.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3701, allocations: 0.625 kB / 0.5741 GB, free: 28.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=3): time 0.0005524/0.3707, allocations: 137.9 kB / 0.5743 GB, free: 28.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.3707, allocations: 52.25 kB / 0.5743 GB, free: 28.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.345e-05/0.3708, allocations: 119.9 kB / 0.5744 GB, free: 28.32 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.247e-06/0.3708, allocations: 26.33 kB / 0.5745 GB, free: 28.29 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.362e-05/0.3708, allocations: 94.55 kB / 0.5745 GB, free: 28.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.3709, allocations: 14.59 kB / 0.5746 GB, free: 28.19 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.3709, allocations: 14.45 kB / 0.5746 GB, free: 28.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.866e-05/0.371, allocations: 322.7 kB / 0.5749 GB, free: 27.86 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001489/0.3711, allocations: 33.8 kB / 0.5749 GB, free: 27.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.3713, allocations: 33.3 kB / 0.5749 GB, free: 27.85 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002748/0.3715, allocations: 74.09 kB / 0.575 GB, free: 27.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.3716, allocations: 0 / 0.575 GB, free: 27.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003375/0.3719, allocations: 112.6 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.3719, allocations: 5.578 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.3719, allocations: 1.438 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.372, allocations: 1.359 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.3721, allocations: 16.94 kB / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.3721, allocations: 0 / 0.5751 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.524e-05/0.3722, allocations: 11.88 kB / 0.5752 GB, free: 27.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.3723, allocations: 6.734 kB / 0.5752 GB, free: 27.78 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 7.223e-05/0.3723, allocations: 125 kB / 0.5753 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.824e-05/0.3724, allocations: 6.703 kB / 0.5753 GB, free: 27.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000378/0.3728, allocations: 112 kB / 0.5754 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.3728, allocations: 1.672 kB / 0.5754 GB, free: 27.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.3728, allocations: 3.938 kB / 0.5754 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3728, allocations: 1.906 kB / 0.5754 GB, free: 27.59 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001511/0.3729, allocations: 177.4 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3729, allocations: 1.562 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.823e-05/0.373, allocations: 21.11 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.3731, allocations: 0 / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.947e-06/0.3731, allocations: 2.047 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3731, allocations: 5.688 kB / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3731, allocations: 0 / 0.5756 GB, free: 27.39 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003579/0.3734, allocations: 201.8 kB / 0.5758 GB, free: 27.24 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.546e-05/0.3735, allocations: 82.95 kB / 0.5759 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/0.3735, allocations: 1.172 kB / 0.5759 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3736, allocations: 13.36 kB / 0.5759 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.768e-05/0.3737, allocations: 4.703 kB / 0.5759 GB, free: 27.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.3737, allocations: 5.578 kB / 0.5759 GB, free: 27.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.181e-05/0.3737, allocations: 90.33 kB / 0.576 GB, free: 27.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3737, allocations: 4.531 kB / 0.576 GB, free: 27.06 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002323/0.374, allocations: 16.25 kB / 0.576 GB, free: 27.05 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.00014/0.3741, allocations: 104.1 kB / 0.5761 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003744/0.3745, allocations: 76.66 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3745, allocations: 0 / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001575/0.3747, allocations: 38.3 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003093/0.375, allocations: 8.625 kB / 0.5762 GB, free: 26.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003841/0.3754, allocations: 198.5 kB / 0.5764 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000153/0.3756, allocations: 0.6953 MB / 0.5771 GB, free: 26.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.3756, allocations: 10.19 kB / 0.5771 GB, free: 26.06 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3756, allocations: 0 / 0.5771 GB, free: 26.06 MB / 446.1 MB Notification: Performance of Templates: time 0.003174/0.3788, allocations: 0.9347 MB / 0.578 GB, free: 26.02 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)