Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Examples.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Examples.Average") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 86.8 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001682/0.001681, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.65/1.65, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6409/0.6409, allocations: 95.63 MB / 366 MB, free: 10.35 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000653/0.0006533, allocations: 20 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.473, allocations: 70.33 MB / 0.5051 GB, free: 16.5 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001555/0.4746, allocations: 1.208 MB / 0.5062 GB, free: 15.28 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003168/0.4749, allocations: 96.33 kB / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.475, allocations: 0 / 0.5063 GB, free: 15.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.4751, allocations: 7.875 kB / 0.5063 GB, free: 15.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.859e-05/0.4751, allocations: 11.92 kB / 0.5064 GB, free: 15.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002305/0.4754, allocations: 19.98 kB / 0.5064 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.241e-05/0.4755, allocations: 47.78 kB / 0.5064 GB, free: 15.1 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.4756, allocations: 23.98 kB / 0.5064 GB, free: 15.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.631e-05/0.4757, allocations: 19.91 kB / 0.5065 GB, free: 15.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.918e-05/0.4758, allocations: 23.91 kB / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.674e-05/0.4758, allocations: 0 / 0.5065 GB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.062e-05/0.4759, allocations: 15.94 kB / 0.5065 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.257e-05/0.4759, allocations: 7.984 kB / 0.5065 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.728e-05/0.4759, allocations: 33.64 kB / 0.5065 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.4761, allocations: 41.89 kB / 0.5066 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.824e-06/0.4761, allocations: 0 / 0.5066 GB, free: 14.93 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.4761, allocations: 4 kB / 0.5066 GB, free: 14.93 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.348e-06/0.4761, allocations: 0 / 0.5066 GB, free: 14.93 MB / 382.1 MB 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.0004984/0.4766, allocations: 379.1 kB / 0.5069 GB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.4767, allocations: 15.98 kB / 0.507 GB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.4767, allocations: 7.906 kB / 0.507 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001854/0.4769, allocations: 179 kB / 0.5071 GB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.4769, allocations: 15.89 kB / 0.5072 GB, free: 14.26 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.681e-05/0.477, allocations: 4 kB / 0.5072 GB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.4773, allocations: 89.64 kB / 0.5072 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.4773, allocations: 4 kB / 0.5072 GB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.4773, allocations: 4 kB / 0.5073 GB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.782e-06/0.4773, allocations: 7.938 kB / 0.5073 GB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.4776, allocations: 103.9 kB / 0.5074 GB, free: 14.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005564/0.4782, allocations: 336.6 kB / 0.5077 GB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/0.4784, allocations: 70.53 kB / 0.5077 GB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001322/0.4785, allocations: 49.02 kB / 0.5078 GB, free: 13.54 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.14e-05/0.4786, allocations: 11.92 kB / 0.5078 GB, free: 13.52 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.969e-05/0.4786, allocations: 30.56 kB / 0.5078 GB, free: 13.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.462e-06/0.4786, allocations: 0 / 0.5078 GB, free: 13.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.0004975/0.4791, allocations: 177.5 kB / 0.508 GB, free: 13.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.4792, allocations: 55.41 kB / 0.5081 GB, free: 13.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.195e-05/0.4792, allocations: 109.8 kB / 0.5082 GB, free: 13.12 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/0.4793, allocations: 25.7 kB / 0.5082 GB, free: 13.09 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.64e-05/0.4793, allocations: 100.1 kB / 0.5083 GB, free: 12.99 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.995e-05/0.4793, allocations: 11.75 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.4793, allocations: 0 / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.389e-05/0.4794, allocations: 326.8 kB / 0.5086 GB, free: 12.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.4795, allocations: 43.95 kB / 0.5086 GB, free: 12.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001165/0.4797, allocations: 51.89 kB / 0.5087 GB, free: 12.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001238/0.4798, allocations: 39.97 kB / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4798, allocations: 0 / 0.5087 GB, free: 12.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002716/0.4801, allocations: 121.6 kB / 0.5089 GB, free: 12.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.4801, allocations: 12 kB / 0.5089 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.4801, allocations: 0 / 0.5089 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.4801, allocations: 0 / 0.5089 GB, free: 12.38 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4803, allocations: 19.98 kB / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.4803, allocations: 0 / 0.5089 GB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.822e-05/0.4804, allocations: 23.97 kB / 0.5089 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.313e-05/0.4804, allocations: 4 kB / 0.5089 GB, free: 12.33 MB / 382.1 MB 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 6.029e-05/0.4805, allocations: 121.8 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.435e-05/0.4805, allocations: 7.906 kB / 0.509 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003291/0.4808, allocations: 137.4 kB / 0.5092 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.4808, allocations: 0 / 0.5092 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.431e-06/0.4808, allocations: 7.938 kB / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4809, allocations: 0 / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001332/0.481, allocations: 177.6 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.481, allocations: 4 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.4811, allocations: 23.98 kB / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4811, allocations: 0 / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.4811, allocations: 0 / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4811, allocations: 0 / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.4811, allocations: 0 / 0.5094 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.4814, allocations: 231.3 kB / 0.5096 GB, free: 11.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.209e-05/0.4815, allocations: 77.11 kB / 0.5097 GB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.4815, allocations: 8 kB / 0.5097 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.4816, allocations: 23.97 kB / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.356e-05/0.4816, allocations: 0 / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.971e-06/0.4817, allocations: 0 / 0.5097 GB, free: 11.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.72e-05/0.4817, allocations: 99.64 kB / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4817, allocations: 0 / 0.5098 GB, free: 11.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002395/0.4819, allocations: 11.91 kB / 0.5098 GB, free: 11.32 MB / 382.1 MB 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.000142/0.4821, allocations: 99.25 kB / 0.5099 GB, free: 11.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.4824, allocations: 104.3 kB / 0.51 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.4824, allocations: 0 / 0.51 GB, free: 11.11 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001341/0.4826, allocations: 51.89 kB / 0.51 GB, free: 11.05 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003219/0.4829, allocations: 19.89 kB / 0.5101 GB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003826/0.4833, allocations: 160.8 kB / 0.5102 GB, free: 10.85 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002495/0.4836, allocations: 0.6926 MB / 0.5109 GB, free: 10.13 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.431e-05/0.4836, allocations: 12.17 kB / 0.5109 GB, free: 10.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.4837, allocations: 7.438 kB / 0.5109 GB, free: 10.11 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4837, allocations: 4 kB / 0.5109 GB, free: 10.11 MB / 382.1 MB Notification: Performance of Templates: time 0.003266/0.4869, allocations: 0.6081 MB / 0.5115 GB, free: 9.504 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Average.pipe 2>&1) Environment - environmentSimulation: