Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.613/1.613, allocations: 288.4 MB / 304.3 MB, free: 8.109 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.0008955/0.0008954, allocations: 191.2 kB / 373 MB, free: 10.18 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.373/1.373, allocations: 205.4 MB / 0.6317 GB, free: 9.93 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007371/0.0007371, allocations: 108.1 kB / 0.7451 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003619/0.0003621, allocations: 16.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2571, allocations: 115.3 MB / 0.9807 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6847/0.9419, allocations: 138.2 MB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002258/0.9422, allocations: 74.3 kB / 1.116 GB, free: 16.38 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003503/0.9457, allocations: 1.126 MB / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/0.9457, allocations: 0 / 1.117 GB, free: 32.01 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.367e-06/0.9457, allocations: 0 / 1.117 GB, free: 32.01 MB / 0.698 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.0004075/0.9462, allocations: 389.2 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.9462, allocations: 7.688 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.096e-05/0.9462, allocations: 4.75 kB / 1.117 GB, free: 31.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.9464, allocations: 189.2 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.526e-06/0.9464, allocations: 384 / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.818e-05/0.9464, allocations: 7.469 kB / 1.117 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002489/0.9467, allocations: 104.5 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.9467, allocations: 192 / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.9467, allocations: 7.781 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.9467, allocations: 0 / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.947, allocations: 102.2 kB / 1.118 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004733/0.9475, allocations: 335.6 kB / 1.118 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.9477, allocations: 71.58 kB / 1.118 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.9479, allocations: 53.52 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.863e-05/0.9479, allocations: 4 kB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.301e-05/0.9479, allocations: 38.44 kB / 1.118 GB, free: 31.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.573e-06/0.948, allocations: 3.984 kB / 1.118 GB, free: 31.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005017/0.9485, allocations: 169.2 kB / 1.118 GB, free: 30.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/0.9485, allocations: 55.41 kB / 1.118 GB, free: 30.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.715e-05/0.9486, allocations: 113.6 kB / 1.118 GB, free: 30.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.9486, allocations: 33.48 kB / 1.118 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.599e-05/0.9486, allocations: 94.25 kB / 1.119 GB, free: 30.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.754e-05/0.9487, allocations: 11.66 kB / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-06/0.9487, allocations: 0 / 1.119 GB, free: 30.69 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.53e-05/0.9488, allocations: 320.6 kB / 1.119 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.9489, allocations: 46.56 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.949, allocations: 40.59 kB / 1.119 GB, free: 30.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.9493, allocations: 102.1 kB / 1.119 GB, free: 30.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9493, allocations: 4 kB / 1.119 GB, free: 30.35 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003022/0.9496, allocations: 125.8 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.9496, allocations: 3.781 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.9497, allocations: 3.25 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.9497, allocations: 0 / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/0.9498, allocations: 21.78 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.485e-06/0.9498, allocations: 3.812 kB / 1.119 GB, free: 30.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.803e-05/0.9499, allocations: 18.16 kB / 1.119 GB, free: 30.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.355e-05/0.9499, allocations: 6.844 kB / 1.119 GB, free: 30.31 MB / 0.698 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 9.506e-05/0.95, allocations: 123.2 kB / 1.119 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.447e-05/0.9501, allocations: 7.812 kB / 1.119 GB, free: 30.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000383/0.9505, allocations: 143.5 kB / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.9505, allocations: 0 / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.9505, allocations: 0 / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.9505, allocations: 0 / 1.12 GB, free: 30.13 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001718/0.9507, allocations: 189.7 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.9507, allocations: 0 / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.599e-05/0.9508, allocations: 21.25 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.9508, allocations: 3.906 kB / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.167e-06/0.9508, allocations: 0 / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.9508, allocations: 0 / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.9508, allocations: 0 / 1.12 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003932/0.9512, allocations: 230.6 kB / 1.12 GB, free: 29.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.345e-05/0.9513, allocations: 82.48 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.9513, allocations: 0 / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.9514, allocations: 16.33 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.9515, allocations: 5.953 kB / 1.12 GB, free: 29.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/0.9515, allocations: 12.36 kB / 1.12 GB, free: 29.69 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.9516, allocations: 89.55 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 1e-07/0.9516, allocations: 4 kB / 1.12 GB, free: 29.61 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002064/0.9518, allocations: 15.66 kB / 1.12 GB, free: 29.61 MB / 0.698 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.0001513/0.9519, allocations: 103.9 kB / 1.12 GB, free: 29.52 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003477/0.9523, allocations: 97 kB / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.9523, allocations: 0 / 1.12 GB, free: 29.51 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001559/0.9525, allocations: 63.53 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000225/0.9527, allocations: 3.375 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003331/0.953, allocations: 159.8 kB / 1.121 GB, free: 29.37 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002955/0.9533, allocations: 0.6915 MB / 1.121 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.729e-05/0.9534, allocations: 6.828 kB / 1.121 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.9534, allocations: 11.25 kB / 1.121 GB, free: 28.66 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.9534, allocations: 0 / 1.121 GB, free: 28.66 MB / 0.698 GB Notification: Performance of Templates: time 0.002596/0.956, allocations: 0.6083 MB / 1.122 GB, free: 28.61 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)