Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5614/0.5614, allocations: 95.61 MB / 110.6 MB, free: 9.371 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001355/0.001355, allocations: 170.3 kB / 134.2 MB, free: 2.254 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.507/1.507, allocations: 170.7 MB / 328.4 MB, free: 12.26 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001682/0.001682, allocations: 115.2 kB / 390.7 MB, free: 13.93 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003543, allocations: 8 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1027, allocations: 61.53 MB / 0.512 GB, free: 6.078 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3445/0.4472, allocations: 93.95 MB / 0.6037 GB, free: 13.36 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.4474, allocations: 70.77 kB / 0.6038 GB, free: 13.32 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003283/0.4507, allocations: 1.11 MB / 0.6049 GB, free: 12.31 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.4507, allocations: 0 / 0.6049 GB, free: 12.31 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.4508, allocations: 5.531 kB / 0.6049 GB, free: 12.31 MB / 410.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.0004988/0.4513, allocations: 379.7 kB / 0.6052 GB, free: 11.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.4513, allocations: 14.94 kB / 0.6053 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.4514, allocations: 7.906 kB / 0.6053 GB, free: 11.88 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.4516, allocations: 182.5 kB / 0.6054 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.4516, allocations: 0 / 0.6054 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.751e-05/0.4516, allocations: 4 kB / 0.6054 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002807/0.4519, allocations: 109.1 kB / 0.6055 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.4519, allocations: 0 / 0.6055 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4519, allocations: 3.812 kB / 0.6055 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.452, allocations: 0 / 0.6055 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000315/0.4523, allocations: 99.55 kB / 0.6056 GB, free: 11.47 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005759/0.4529, allocations: 335 kB / 0.606 GB, free: 11.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.4531, allocations: 70.03 kB / 0.606 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.437e-05/0.4531, allocations: 4 kB / 0.606 GB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.409e-05/0.4532, allocations: 38.89 kB / 0.6061 GB, free: 10.99 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4532, allocations: 0 / 0.6061 GB, free: 10.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 0.000537/0.4537, allocations: 172.4 kB / 0.6062 GB, free: 10.83 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.4538, allocations: 51.41 kB / 0.6063 GB, free: 10.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.195e-05/0.4539, allocations: 112.7 kB / 0.6064 GB, free: 10.66 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.4539, allocations: 25.7 kB / 0.6064 GB, free: 10.62 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.4539, allocations: 98.48 kB / 0.6065 GB, free: 10.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.454, allocations: 7.891 kB / 0.6065 GB, free: 10.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.351e-06/0.454, allocations: 4 kB / 0.6065 GB, free: 10.52 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000112/0.4541, allocations: 314.3 kB / 0.6068 GB, free: 10.21 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001467/0.4542, allocations: 47.83 kB / 0.6069 GB, free: 10.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.4544, allocations: 43.66 kB / 0.6069 GB, free: 10.12 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.4545, allocations: 47.33 kB / 0.607 GB, free: 10.09 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4546, allocations: 3.953 kB / 0.607 GB, free: 10.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003248/0.4549, allocations: 128.3 kB / 0.6071 GB, free: 9.957 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.4549, allocations: 7.984 kB / 0.6071 GB, free: 9.949 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.4549, allocations: 4 kB / 0.6071 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.455, allocations: 0 / 0.6071 GB, free: 9.945 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.4551, allocations: 19.98 kB / 0.6071 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.4551, allocations: 0 / 0.6071 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.558e-05/0.4552, allocations: 19.86 kB / 0.6071 GB, free: 9.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4552, allocations: 4 kB / 0.6071 GB, free: 9.906 MB / 410.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.71e-05/0.4553, allocations: 121.6 kB / 0.6072 GB, free: 9.781 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.54e-05/0.4554, allocations: 4.281 kB / 0.6073 GB, free: 9.777 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003855/0.4558, allocations: 147.6 kB / 0.6074 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.4558, allocations: 0 / 0.6074 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.4558, allocations: 0 / 0.6074 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.4558, allocations: 0 / 0.6074 GB, free: 9.637 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.456, allocations: 176.1 kB / 0.6076 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.456, allocations: 0 / 0.6076 GB, free: 9.426 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.4561, allocations: 31.92 kB / 0.6076 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/0.4561, allocations: 0 / 0.6076 GB, free: 9.395 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.4561, allocations: 4 kB / 0.6076 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4561, allocations: 0 / 0.6076 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.4561, allocations: 0 / 0.6076 GB, free: 9.391 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003736/0.4565, allocations: 221 kB / 0.6078 GB, free: 9.172 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.934e-05/0.4566, allocations: 84.95 kB / 0.6079 GB, free: 9.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.512e-05/0.4566, allocations: 7.891 kB / 0.6079 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.4567, allocations: 19.98 kB / 0.6079 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.04e-05/0.4568, allocations: 11.36 kB / 0.6079 GB, free: 9.035 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.262e-06/0.4568, allocations: 0 / 0.6079 GB, free: 9.035 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.87e-05/0.4568, allocations: 91.62 kB / 0.608 GB, free: 8.949 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4568, allocations: 0 / 0.608 GB, free: 8.949 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002099/0.457, allocations: 11.94 kB / 0.608 GB, free: 8.938 MB / 410.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 () * 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 (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.0001417/0.4572, allocations: 107.2 kB / 0.6081 GB, free: 8.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0003364/0.4575, allocations: 102.8 kB / 0.6082 GB, free: 8.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4575, allocations: 3.938 kB / 0.6082 GB, free: 8.727 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001571/0.4577, allocations: 47.53 kB / 0.6083 GB, free: 8.684 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001673/0.4579, allocations: 11.73 kB / 0.6083 GB, free: 8.676 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003214/0.4582, allocations: 160.6 kB / 0.6084 GB, free: 8.492 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002774/0.4585, allocations: 0.6926 MB / 0.6091 GB, free: 7.773 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.4586, allocations: 11.98 kB / 0.6091 GB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.541e-05/0.4586, allocations: 7.438 kB / 0.6091 GB, free: 7.754 MB / 410.7 MB Notification: Performance of SimCode: time 3.81e-07/0.4586, allocations: 0 / 0.6091 GB, free: 7.754 MB / 410.7 MB Notification: Performance of Templates: time 0.002582/0.4612, allocations: 0.6003 MB / 0.6097 GB, free: 7.172 MB / 410.7 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)