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.75/1.75, allocations: 288.3 MB / 303.2 MB, free: 8.117 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.001188/0.001188, allocations: 191.5 kB / 371.8 MB, free: 10.27 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.636/1.636, allocations: 205.4 MB / 0.6306 GB, free: 9.938 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.0007953/0.0007953, allocations: 101.1 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003918/0.0003917, allocations: 12.22 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2132/0.2136, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6891/0.9028, allocations: 138.2 MB / 1.114 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002322/0.9031, allocations: 72.3 kB / 1.114 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003658/0.9067, allocations: 1.118 MB / 1.116 GB, free: 31.82 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.993e-06/0.9067, allocations: 2.766 kB / 1.116 GB, free: 31.82 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.089e-05/0.9068, allocations: 7.812 kB / 1.116 GB, free: 31.82 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.0004632/0.9072, allocations: 388 kB / 1.116 GB, free: 31.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.9073, allocations: 11.67 kB / 1.116 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.55e-05/0.9073, allocations: 3.875 kB / 1.116 GB, free: 31.44 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001712/0.9075, allocations: 186.7 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.9075, allocations: 6.812 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.9075, allocations: 2.344 kB / 1.116 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000269/0.9078, allocations: 100 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.9078, allocations: 9.891 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.9078, allocations: 0 / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.9079, allocations: 0 / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.9082, allocations: 102.5 kB / 1.116 GB, free: 31.19 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005222/0.9087, allocations: 340.4 kB / 1.117 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001971/0.9089, allocations: 68.25 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.387e-05/0.9089, allocations: 3.844 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.996e-05/0.909, allocations: 30.56 kB / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.909, allocations: 0 / 1.117 GB, free: 30.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005756/0.9096, allocations: 180.2 kB / 1.117 GB, free: 30.8 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.952e-05/0.9096, allocations: 51.41 kB / 1.117 GB, free: 30.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.1e-05/0.9097, allocations: 110.3 kB / 1.117 GB, free: 30.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.617e-05/0.9097, allocations: 25.7 kB / 1.117 GB, free: 30.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/0.9098, allocations: 98.64 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-05/0.9098, allocations: 10.77 kB / 1.117 GB, free: 30.52 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.9098, allocations: 7.938 kB / 1.117 GB, free: 30.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.9099, allocations: 314.6 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.9101, allocations: 41.16 kB / 1.118 GB, free: 30.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.9103, allocations: 49.36 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.9104, allocations: 44.73 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9104, allocations: 4 kB / 1.118 GB, free: 30.19 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003142/0.9107, allocations: 126.6 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.9108, allocations: 7.844 kB / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.9108, allocations: 0 / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.9108, allocations: 0 / 1.118 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.9109, allocations: 24.78 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.911, allocations: 3.984 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.501e-05/0.911, allocations: 25.11 kB / 1.118 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.192e-05/0.9111, allocations: 7.891 kB / 1.118 GB, free: 30.13 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 7.499e-05/0.9112, allocations: 112.5 kB / 1.118 GB, free: 30.02 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.9112, allocations: 7.812 kB / 1.118 GB, free: 30.01 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003655/0.9116, allocations: 135.2 kB / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.9116, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.9116, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.9116, allocations: 0 / 1.118 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.9118, allocations: 190.7 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.9118, allocations: 0 / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.9119, allocations: 25.06 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.9119, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.076e-05/0.9119, allocations: 1.688 kB / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9119, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.9119, allocations: 0 / 1.118 GB, free: 29.77 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003645/0.9123, allocations: 225.6 kB / 1.118 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.167e-05/0.9123, allocations: 82.56 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.394e-05/0.9123, allocations: 0 / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9125, allocations: 19.78 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.326e-05/0.9125, allocations: 6.984 kB / 1.119 GB, free: 29.54 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.9125, allocations: 4 kB / 1.119 GB, free: 29.53 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.961e-05/0.9126, allocations: 93.33 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9126, allocations: 4 kB / 1.119 GB, free: 29.45 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002118/0.9128, allocations: 15.44 kB / 1.119 GB, free: 29.45 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.0001387/0.913, allocations: 103.7 kB / 1.119 GB, free: 29.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003339/0.9133, allocations: 94.23 kB / 1.119 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.9133, allocations: 3.969 kB / 1.119 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.9135, allocations: 52.08 kB / 1.119 GB, free: 29.35 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.9136, allocations: 11.5 kB / 1.119 GB, free: 29.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.914, allocations: 156.3 kB / 1.119 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.9143, allocations: 0.7013 MB / 1.12 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.615e-05/0.9144, allocations: 6.703 kB / 1.12 GB, free: 28.51 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.061e-05/0.9144, allocations: 11.06 kB / 1.12 GB, free: 28.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.9144, allocations: 3.938 kB / 1.12 GB, free: 28.5 MB / 0.698 GB Notification: Performance of Templates: time 0.002907/0.9173, allocations: 0.601 MB / 1.12 GB, free: 28.44 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)