Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.691/2.691, allocations: 285 MB / 292.5 MB, free: 10.53 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002825/0.002825, allocations: 188.9 kB / 360.7 MB, free: 7.27 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.3 MB / 0.6192 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 93.38 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.169e-05, allocations: 4 kB / 0.8509 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8715/0.8715, allocations: 115.2 MB / 0.9634 GB, free: 78.63 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2352/1.107, allocations: 137.3 MB / 1.097 GB, free: 3.172 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002719/1.107, allocations: 71.95 kB / 1.098 GB, free: 3.102 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.004783/1.112, allocations: 1.115 MB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.164e-06/1.112, allocations: 0 / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.608e-05/1.112, allocations: 4.594 kB / 1.099 GB, free: 2.004 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.0006365/1.113, allocations: 369.9 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.634e-05/1.113, allocations: 8.031 kB / 1.099 GB, free: 1.594 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/1.113, allocations: 9.109 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/1.113, allocations: 188.8 kB / 1.099 GB, free: 1.363 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/1.113, allocations: 4.594 kB / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.113, allocations: 0 / 1.099 GB, free: 1.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001453/1.113, allocations: 35.27 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/1.113, allocations: 63.77 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/1.113, allocations: 4.531 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.382e-05/1.113, allocations: 0 / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/1.113, allocations: 0.625 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/1.114, allocations: 305 kB / 1.1 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/1.114, allocations: 40.89 kB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.394e-05/1.114, allocations: 16.86 kB / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.073e-05/1.114, allocations: 96 / 1.1 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/1.114, allocations: 42.91 kB / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/1.114, allocations: 0 / 1.1 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002696/1.115, allocations: 57.59 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.575e-05/1.115, allocations: 51.41 kB / 1.1 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/1.115, allocations: 110.5 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/1.115, allocations: 25.7 kB / 1.1 GB, free: 0.543 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.593e-05/1.115, allocations: 91.72 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.476e-05/1.115, allocations: 15.75 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.556e-06/1.115, allocations: 0 / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/1.115, allocations: 325.2 kB / 1.1 GB, free: 116 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/1.115, allocations: 12 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.854e-05/1.115, allocations: 8 kB / 1.1 GB, free: 96 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.004e-05/1.115, allocations: 15.98 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/1.115, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001744/1.116, allocations: 61.62 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/1.116, allocations: 5.25 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.116, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.116, allocations: 0 / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002536/1.116, allocations: 27.97 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/1.116, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/1.116, allocations: 19.98 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.764e-05/1.116, allocations: 3.953 kB / 1.1 GB, free: 15.96 MB / 0.7136 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 () * 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 8.336e-05/1.116, allocations: 108.8 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.631e-05/1.116, allocations: 5.031 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00023/1.117, allocations: 69.95 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/1.117, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.117, allocations: 0 / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/1.117, allocations: 3.984 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/1.117, allocations: 158.2 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/1.117, allocations: 4 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001863/1.117, allocations: 24.97 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.117, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.117, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.117, allocations: 0 / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.117, allocations: 1.219 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002416/1.117, allocations: 170.7 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/1.117, allocations: 77.11 kB / 1.101 GB, free: 15.26 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.711e-05/1.117, allocations: 11.05 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/1.118, allocations: 15.98 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/1.118, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/1.118, allocations: 0 / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.579e-05/1.118, allocations: 92.69 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.118, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003216/1.118, allocations: 16 kB / 1.101 GB, free: 15.13 MB / 0.7136 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 () * 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.0001756/1.118, allocations: 99.19 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001424/1.118, allocations: 31.92 kB / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.119, allocations: 0 / 1.101 GB, free: 14.99 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.407e-05/1.119, allocations: 24.45 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.119, allocations: 3.953 kB / 1.101 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003302/1.119, allocations: 91.7 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002995/1.119, allocations: 0.7002 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.193e-05/1.12, allocations: 7.984 kB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/1.12, allocations: 7.438 kB / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.12, allocations: 0 / 1.102 GB, free: 14.11 MB / 0.7136 GB Notification: Performance of Templates: time 0.003451/1.123, allocations: 0.5566 MB / 1.103 GB, free: 13.59 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)