Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.7/1.7, allocations: 297.8 MB / 313.7 MB, free: 92 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 188.4 kB / 384.6 MB, free: 10.83 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 223.2 MB / 0.6626 GB, free: 4.109 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009186/0.0009184, allocations: 93.06 kB / 0.7808 GB, free: 50.2 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005025/0.0005027, allocations: 15.94 kB / 0.9088 GB, free: 2.781 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7255/0.7261, allocations: 120.3 MB / 1.026 GB, free: 55.73 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1808/0.9069, allocations: 141.4 MB / 1.164 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/0.9072, allocations: 76.5 kB / 1.164 GB, free: 1.949 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003371/0.9106, allocations: 1.133 MB / 1.166 GB, free: 1.094 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.694e-06/0.9106, allocations: 5.344 kB / 1.166 GB, free: 1.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.152e-05/0.9106, allocations: 0 / 1.166 GB, free: 1.09 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.0004833/0.9111, allocations: 380.7 kB / 1.166 GB, free: 0.6875 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.141e-05/0.9112, allocations: 9.25 kB / 1.166 GB, free: 0.6797 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.663e-05/0.9112, allocations: 10.45 kB / 1.166 GB, free: 0.6719 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001893/0.9114, allocations: 185.9 kB / 1.166 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.9114, allocations: 1.812 kB / 1.166 GB, free: 468 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.828e-05/0.9115, allocations: 9.031 kB / 1.166 GB, free: 460 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.9118, allocations: 102.9 kB / 1.166 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9118, allocations: 192 / 1.166 GB, free: 372 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.9118, allocations: 7 kB / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.9118, allocations: 0 / 1.166 GB, free: 368 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003251/0.9122, allocations: 103 kB / 1.166 GB, free: 292 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.9127, allocations: 337 kB / 1.167 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/0.9129, allocations: 69.8 kB / 1.167 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001573/0.9131, allocations: 52.8 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.064e-05/0.9131, allocations: 5.297 kB / 1.167 GB, free: 15.84 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.71e-05/0.9132, allocations: 37.16 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.9132, allocations: 0 / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005706/0.9138, allocations: 176.2 kB / 1.167 GB, free: 15.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.9138, allocations: 52.2 kB / 1.167 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.9139, allocations: 116.7 kB / 1.167 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.913e-05/0.9139, allocations: 25.7 kB / 1.167 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.914, allocations: 99.2 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.914, allocations: 16.98 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.298e-06/0.9141, allocations: 1.062 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9142, allocations: 316.8 kB / 1.168 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001586/0.9144, allocations: 45.72 kB / 1.168 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001451/0.9145, allocations: 45.42 kB / 1.168 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002965/0.9148, allocations: 99.12 kB / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.9149, allocations: 0 / 1.168 GB, free: 14.87 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003426/0.9152, allocations: 127.5 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.794e-05/0.9152, allocations: 4.609 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9152, allocations: 0.8438 kB / 1.168 GB, free: 14.76 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.9153, allocations: 4 kB / 1.168 GB, free: 14.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.9154, allocations: 21.34 kB / 1.168 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.9154, allocations: 4.797 kB / 1.168 GB, free: 14.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.117e-05/0.9155, allocations: 16.59 kB / 1.168 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.775e-05/0.9155, allocations: 4 kB / 1.168 GB, free: 14.72 MB / 0.7448 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 8.056e-05/0.9156, allocations: 119.7 kB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.9157, allocations: 3.906 kB / 1.168 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.9161, allocations: 145.7 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.9161, allocations: 1.219 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9161, allocations: 0.5625 kB / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.9161, allocations: 0 / 1.168 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002112/0.9163, allocations: 177.4 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.9163, allocations: 8.75 kB / 1.168 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/0.9164, allocations: 21.48 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/0.9164, allocations: 4.656 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.9165, allocations: 0 / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.9165, allocations: 0 / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.9165, allocations: 1.703 kB / 1.168 GB, free: 14.23 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003836/0.9169, allocations: 232.2 kB / 1.169 GB, free: 14.01 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.9169, allocations: 77.77 kB / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.9169, allocations: 0 / 1.169 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001142/0.917, allocations: 26.33 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.9171, allocations: 6.016 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.923e-06/0.9171, allocations: 0.6562 kB / 1.169 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.657e-05/0.9172, allocations: 91.7 kB / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9172, allocations: 0 / 1.169 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002172/0.9174, allocations: 20.5 kB / 1.169 GB, free: 13.79 MB / 0.7448 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.0001369/0.9176, allocations: 104.9 kB / 1.169 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003496/0.9179, allocations: 97.33 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.9179, allocations: 4 kB / 1.169 GB, free: 13.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001599/0.9181, allocations: 50.81 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.9183, allocations: 3.438 kB / 1.169 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003667/0.9187, allocations: 177.4 kB / 1.169 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/0.919, allocations: 0.6886 MB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.336e-05/0.9191, allocations: 7.344 kB / 1.17 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.313e-05/0.9191, allocations: 11.44 kB / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of SimCode: time 3.4e-07/0.9191, allocations: 0 / 1.17 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of Templates: time 0.002781/0.9219, allocations: 0.6058 MB / 1.171 GB, free: 12.31 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_latest_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)