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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4716/0.4716, allocations: 90.82 MB / 104.5 MB, free: 9.777 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 221.3 MB / 348.3 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008251/0.0008252, allocations: 102.8 kB / 421.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.705e-05/3.709e-05, allocations: 4 kB / 0.4896 GB, free: 5.352 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.33/0.3301, allocations: 72.3 MB / 0.5602 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.4454, allocations: 101.7 MB / 0.6595 GB, free: 2.648 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002324/0.4457, allocations: 71.91 kB / 0.6596 GB, free: 2.578 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003298/0.449, allocations: 1.14 MB / 0.6607 GB, free: 1.441 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.449, allocations: 0 / 0.6607 GB, free: 1.441 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.004e-05/0.449, allocations: 4 kB / 0.6607 GB, free: 1.438 MB / 474.7 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.0004165/0.4495, allocations: 370.4 kB / 0.661 GB, free: 1.031 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/0.4495, allocations: 11.98 kB / 0.6611 GB, free: 1.02 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.018e-05/0.4496, allocations: 11.86 kB / 0.6611 GB, free: 1.008 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.4498, allocations: 184.6 kB / 0.6612 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.48e-05/0.4498, allocations: 8 kB / 0.6612 GB, free: 0.7812 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.378e-05/0.4498, allocations: 4 kB / 0.6613 GB, free: 0.7773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.45, allocations: 61.67 kB / 0.6613 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.45, allocations: 0 / 0.6613 GB, free: 0.7109 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.45, allocations: 5.156 kB / 0.6613 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.45, allocations: 0 / 0.6613 GB, free: 0.707 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.638e-05/0.4501, allocations: 39.94 kB / 0.6614 GB, free: 0.668 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.4507, allocations: 336.7 kB / 0.6617 GB, free: 296 kB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.33e-05/0.4508, allocations: 34.67 kB / 0.6617 GB, free: 252 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.4508, allocations: 20.8 kB / 0.6617 GB, free: 228 kB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.4509, allocations: 12.03 kB / 0.6617 GB, free: 216 kB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.4509, allocations: 30.56 kB / 0.6618 GB, free: 176 kB / 474.7 MB Notification: Performance of pre-optimization done (n=3): time 1.123e-06/0.4509, allocations: 0 / 0.6618 GB, free: 176 kB / 474.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001683/0.4511, allocations: 57.59 kB / 0.6618 GB, free: 112 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.4511, allocations: 55.41 kB / 0.6619 GB, free: 44 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.4512, allocations: 101 kB / 0.662 GB, free: 15.94 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4512, allocations: 30.45 kB / 0.662 GB, free: 15.9 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.4513, allocations: 96.03 kB / 0.6621 GB, free: 15.8 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.4513, allocations: 11.84 kB / 0.6621 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.947e-06/0.4513, allocations: 0 / 0.6621 GB, free: 15.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/0.4514, allocations: 318.8 kB / 0.6624 GB, free: 15.47 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.934e-05/0.4515, allocations: 12 kB / 0.6624 GB, free: 15.46 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.378e-05/0.4515, allocations: 11.94 kB / 0.6624 GB, free: 15.45 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.211e-05/0.4515, allocations: 19.98 kB / 0.6624 GB, free: 15.43 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.4515, allocations: 1.875 kB / 0.6625 GB, free: 15.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 9.5e-05/0.4516, allocations: 53.69 kB / 0.6625 GB, free: 15.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.4517, allocations: 13.2 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.4517, allocations: 0.875 kB / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.048e-05/0.4517, allocations: 0 / 0.6625 GB, free: 15.36 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4518, allocations: 19.98 kB / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.4518, allocations: 0 / 0.6625 GB, free: 15.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.401e-05/0.4519, allocations: 23.89 kB / 0.6626 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.781e-05/0.452, allocations: 0 / 0.6626 GB, free: 15.32 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.974e-05/0.452, allocations: 109 kB / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.4521, allocations: 0 / 0.6627 GB, free: 15.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.4522, allocations: 79.91 kB / 0.6627 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.4522, allocations: 3.938 kB / 0.6627 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.4522, allocations: 4.047 kB / 0.6627 GB, free: 15.11 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.4523, allocations: 3.984 kB / 0.6627 GB, free: 15.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.4524, allocations: 181.6 kB / 0.6629 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.4524, allocations: 0 / 0.6629 GB, free: 14.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.4526, allocations: 19.98 kB / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4526, allocations: 0 / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-06/0.4526, allocations: 0 / 0.6629 GB, free: 14.86 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.4526, allocations: 9.828 kB / 0.663 GB, free: 14.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4526, allocations: 4 kB / 0.663 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.4527, allocations: 155.4 kB / 0.6631 GB, free: 14.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.969e-05/0.4528, allocations: 81.11 kB / 0.6632 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.4528, allocations: 4 kB / 0.6632 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.4529, allocations: 19.98 kB / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.453, allocations: 7.938 kB / 0.6632 GB, free: 14.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.453, allocations: 8 kB / 0.6632 GB, free: 14.54 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.877e-05/0.4531, allocations: 89.14 kB / 0.6633 GB, free: 14.45 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4531, allocations: 0 / 0.6633 GB, free: 14.45 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001986/0.4533, allocations: 11.91 kB / 0.6633 GB, free: 14.44 MB / 490.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001407/0.4534, allocations: 103.2 kB / 0.6634 GB, free: 14.33 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001068/0.4535, allocations: 28 kB / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4535, allocations: 0 / 0.6634 GB, free: 14.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 4.995e-05/0.4536, allocations: 27.92 kB / 0.6635 GB, free: 14.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001637/0.4538, allocations: 9.406 kB / 0.6635 GB, free: 14.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002389/0.454, allocations: 100.9 kB / 0.6636 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002524/0.4543, allocations: 0.6903 MB / 0.6642 GB, free: 13.43 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 4.232e-05/0.4543, allocations: 7.984 kB / 0.6643 GB, free: 13.42 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.547e-05/0.4544, allocations: 11.44 kB / 0.6643 GB, free: 13.41 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.4544, allocations: 4 kB / 0.6643 GB, free: 13.41 MB / 490.7 MB Notification: Performance of Templates: time 0.002582/0.457, allocations: 0.5988 MB / 0.6649 GB, free: 12.83 MB / 490.7 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)