Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.625/1.625, allocations: 293 MB / 309 MB, free: 4.801 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001066/0.001066, allocations: 181.3 kB / 378.7 MB, free: 1.016 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.413/1.413, allocations: 205.4 MB / 0.6383 GB, free: 9.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007503/0.0007502, allocations: 89.25 kB / 0.7527 GB, free: 62.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003759, allocations: 16 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 116.4 MB / 0.9904 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5518/0.7679, allocations: 139.2 MB / 1.126 GB, free: 34.62 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.7682, allocations: 75.84 kB / 1.126 GB, free: 34.56 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002855/0.771, allocations: 1.14 MB / 1.128 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.422e-06/0.7711, allocations: 0.5625 kB / 1.128 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.7711, allocations: 0 / 1.128 GB, free: 33.69 MB / 0.7292 GB 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.0003596/0.7714, allocations: 382.2 kB / 1.128 GB, free: 33.29 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.7715, allocations: 11.59 kB / 1.128 GB, free: 33.28 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.07e-05/0.7715, allocations: 8.938 kB / 1.128 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.7717, allocations: 183.8 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.067e-06/0.7717, allocations: 0.9375 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.7717, allocations: 4.938 kB / 1.128 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.7719, allocations: 99.78 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.772, allocations: 4.188 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.023e-05/0.772, allocations: 3.938 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.772, allocations: 4.219 kB / 1.128 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002667/0.7722, allocations: 101.9 kB / 1.128 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.7727, allocations: 340.3 kB / 1.129 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.7729, allocations: 64.31 kB / 1.129 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000138/0.7731, allocations: 59.92 kB / 1.129 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.313e-05/0.7731, allocations: 0 / 1.129 GB, free: 32.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.7731, allocations: 31.22 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 2.154e-06/0.7731, allocations: 4 kB / 1.129 GB, free: 32.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.00053/0.7737, allocations: 177.1 kB / 1.129 GB, free: 32.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.7737, allocations: 54.97 kB / 1.129 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.907e-05/0.7738, allocations: 109.3 kB / 1.129 GB, free: 32.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.7738, allocations: 26.27 kB / 1.129 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.822e-05/0.7738, allocations: 103.6 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.7739, allocations: 15.81 kB / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.527e-06/0.7739, allocations: 0 / 1.129 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.603e-05/0.7739, allocations: 318.8 kB / 1.13 GB, free: 31.58 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.7741, allocations: 42.64 kB / 1.13 GB, free: 31.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001223/0.7742, allocations: 47.95 kB / 1.13 GB, free: 31.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000241/0.7745, allocations: 97.66 kB / 1.13 GB, free: 31.44 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7745, allocations: 4 kB / 1.13 GB, free: 31.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002757/0.7747, allocations: 125.6 kB / 1.13 GB, free: 31.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.7748, allocations: 4 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.7748, allocations: 0 / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.7748, allocations: 6.156 kB / 1.13 GB, free: 31.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.7749, allocations: 22.84 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.7749, allocations: 4 kB / 1.13 GB, free: 31.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.241e-05/0.775, allocations: 15.97 kB / 1.13 GB, free: 31.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.607e-05/0.775, allocations: 0 / 1.13 GB, free: 31.29 MB / 0.7292 GB 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 5.573e-05/0.7751, allocations: 129.1 kB / 1.13 GB, free: 31.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.358e-05/0.7751, allocations: 7.906 kB / 1.13 GB, free: 31.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003105/0.7754, allocations: 133.9 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.7755, allocations: 0 / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7755, allocations: 0.75 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.7755, allocations: 3.328 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.7756, allocations: 183.8 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7756, allocations: 0.5625 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.014e-05/0.7757, allocations: 26.8 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/0.7757, allocations: 0.7969 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.7757, allocations: 0 / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7757, allocations: 0.5625 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7757, allocations: 1.125 kB / 1.13 GB, free: 30.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002895/0.776, allocations: 231.3 kB / 1.131 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.7761, allocations: 77.11 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.481e-05/0.7761, allocations: 1.5 kB / 1.131 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.817e-05/0.7762, allocations: 19.47 kB / 1.131 GB, free: 30.47 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.409e-05/0.7762, allocations: 7.375 kB / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.7762, allocations: 0 / 1.131 GB, free: 30.46 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.707e-05/0.7763, allocations: 94.64 kB / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7763, allocations: 0 / 1.131 GB, free: 30.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002044/0.7765, allocations: 23.84 kB / 1.131 GB, free: 30.35 MB / 0.7292 GB 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.0001222/0.7766, allocations: 110.6 kB / 1.131 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003132/0.7769, allocations: 95.88 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.7769, allocations: 0.75 kB / 1.131 GB, free: 30.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001352/0.7771, allocations: 50.2 kB / 1.131 GB, free: 30.12 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.7773, allocations: 8 kB / 1.131 GB, free: 30.11 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003067/0.7776, allocations: 165.8 kB / 1.131 GB, free: 29.94 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7778, allocations: 0.6882 MB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.87e-05/0.7778, allocations: 8.766 kB / 1.132 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.153e-05/0.7778, allocations: 15.44 kB / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of SimCode: time 2.2e-07/0.7778, allocations: 0 / 1.132 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of Templates: time 0.002237/0.7801, allocations: 0.5992 MB / 1.133 GB, free: 28.89 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)