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.694/2.694, allocations: 287.5 MB / 302.4 MB, free: 8.203 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.001546/0.001546, allocations: 178.2 kB / 371 MB, free: 10.79 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.142/2.142, allocations: 205.4 MB / 0.6297 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 94.91 kB / 0.743 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000486/0.000486, allocations: 12.12 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9784 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9278/1.155, allocations: 138 MB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002603/1.155, allocations: 71.67 kB / 1.113 GB, free: 15.64 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005155/1.16, allocations: 1.12 MB / 1.114 GB, free: 31.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/1.16, allocations: 0 / 1.114 GB, free: 31.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.435e-05/1.16, allocations: 3.594 kB / 1.114 GB, free: 31.28 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.000633/1.161, allocations: 384.2 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/1.161, allocations: 15.67 kB / 1.115 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/1.161, allocations: 7.969 kB / 1.115 GB, free: 30.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002056/1.161, allocations: 192.5 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/1.161, allocations: 3.906 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/1.161, allocations: 3.688 kB / 1.115 GB, free: 30.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004163/1.162, allocations: 94.72 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/1.162, allocations: 6.078 kB / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/1.162, allocations: 0 / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/1.162, allocations: 0 / 1.115 GB, free: 30.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/1.162, allocations: 102.8 kB / 1.115 GB, free: 30.65 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007278/1.163, allocations: 335.6 kB / 1.115 GB, free: 30.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003294/1.163, allocations: 70.8 kB / 1.115 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.174e-05/1.163, allocations: 9.031 kB / 1.115 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/1.163, allocations: 30.56 kB / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.723e-06/1.163, allocations: 0 / 1.116 GB, free: 30.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0009495/1.164, allocations: 165.3 kB / 1.116 GB, free: 30.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.073e-05/1.164, allocations: 67.11 kB / 1.116 GB, free: 30.2 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.444e-05/1.164, allocations: 107 kB / 1.116 GB, free: 30.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/1.165, allocations: 25.7 kB / 1.116 GB, free: 30.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.202e-05/1.165, allocations: 98.34 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-05/1.165, allocations: 11.41 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/1.165, allocations: 3.938 kB / 1.116 GB, free: 29.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001227/1.165, allocations: 316.2 kB / 1.116 GB, free: 29.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/1.165, allocations: 47.45 kB / 1.116 GB, free: 29.66 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/1.165, allocations: 49.16 kB / 1.116 GB, free: 29.66 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002658/1.166, allocations: 46.83 kB / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.166, allocations: 0 / 1.116 GB, free: 29.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005838/1.166, allocations: 128 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/1.166, allocations: 6.641 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.166, allocations: 0.875 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.166, allocations: 0 / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002144/1.167, allocations: 28.92 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/1.167, allocations: 3.844 kB / 1.117 GB, free: 29.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/1.167, allocations: 18.23 kB / 1.117 GB, free: 29.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/1.167, allocations: 2.859 kB / 1.117 GB, free: 29.6 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 0.000108/1.167, allocations: 113.4 kB / 1.117 GB, free: 29.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.371e-05/1.167, allocations: 11.88 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/1.168, allocations: 139.1 kB / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/1.168, allocations: 0 / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/1.168, allocations: 0 / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/1.168, allocations: 0 / 1.117 GB, free: 29.44 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/1.168, allocations: 181.2 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/1.168, allocations: 0 / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001781/1.168, allocations: 21 kB / 1.117 GB, free: 29.25 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/1.168, allocations: 7.938 kB / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/1.168, allocations: 0 / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.168, allocations: 0 / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.168, allocations: 2.812 kB / 1.117 GB, free: 29.24 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/1.169, allocations: 224.7 kB / 1.117 GB, free: 29.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.308e-05/1.169, allocations: 81.02 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/1.169, allocations: 0 / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/1.169, allocations: 21.09 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.848e-05/1.169, allocations: 9.922 kB / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/1.169, allocations: 0 / 1.117 GB, free: 29 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.974e-05/1.169, allocations: 93.34 kB / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.169, allocations: 0 / 1.117 GB, free: 28.92 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003055/1.17, allocations: 14.66 kB / 1.117 GB, free: 28.92 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.0001681/1.17, allocations: 97.3 kB / 1.118 GB, free: 28.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006/1.17, allocations: 101.8 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.17, allocations: 4 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002804/1.171, allocations: 47.8 kB / 1.118 GB, free: 28.82 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/1.171, allocations: 18.05 kB / 1.118 GB, free: 28.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004248/1.171, allocations: 157.5 kB / 1.118 GB, free: 28.67 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000316/1.172, allocations: 0.6952 MB / 1.119 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 6.892e-05/1.172, allocations: 6.469 kB / 1.119 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.791e-05/1.172, allocations: 11.12 kB / 1.119 GB, free: 27.97 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.172, allocations: 4 kB / 1.119 GB, free: 27.96 MB / 0.698 GB Notification: Performance of Templates: time 0.003405/1.175, allocations: 0.6031 MB / 1.119 GB, free: 27.91 MB / 0.698 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)