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.000995/0.0009951, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006422/0.006422, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.6359/0.6359, allocations: 95.63 MB / 366.4 MB, free: 10.22 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.0006205/0.0006205, allocations: 12 kB / 447.5 MB, free: 8.957 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3981/0.3987, allocations: 70.33 MB / 0.5057 GB, free: 16.34 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.001503/0.4002, allocations: 1.224 MB / 0.5069 GB, free: 15.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000397/0.4007, allocations: 88.27 kB / 0.5069 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.045e-05/0.4007, allocations: 15.88 kB / 0.507 GB, free: 15.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.4009, allocations: 7.938 kB / 0.507 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.59e-05/0.4009, allocations: 7.922 kB / 0.507 GB, free: 14.99 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002391/0.4011, allocations: 19.98 kB / 0.507 GB, free: 14.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.54e-05/0.4012, allocations: 51.89 kB / 0.507 GB, free: 14.92 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.4014, allocations: 23.98 kB / 0.5071 GB, free: 14.9 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.563e-05/0.4014, allocations: 23.86 kB / 0.5071 GB, free: 14.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.144e-05/0.4015, allocations: 27.84 kB / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.497e-05/0.4015, allocations: 0 / 0.5071 GB, free: 14.85 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.4016, allocations: 8 kB / 0.5071 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.196e-05/0.4016, allocations: 15.98 kB / 0.5071 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.4017, allocations: 45.52 kB / 0.5072 GB, free: 14.77 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001226/0.4018, allocations: 53.81 kB / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.4018, allocations: 0 / 0.5072 GB, free: 14.72 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4018, allocations: 7.938 kB / 0.5072 GB, free: 14.71 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.4019, allocations: 0 / 0.5072 GB, free: 14.71 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.0004732/0.4023, allocations: 375.3 kB / 0.5076 GB, free: 14.3 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4024, allocations: 15.98 kB / 0.5076 GB, free: 14.29 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.4024, allocations: 8.844 kB / 0.5076 GB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.4026, allocations: 184.2 kB / 0.5078 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.4026, allocations: 4.375 kB / 0.5078 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.4026, allocations: 7.938 kB / 0.5078 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.4029, allocations: 101.6 kB / 0.5079 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.4029, allocations: 3.984 kB / 0.5079 GB, free: 13.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.4029, allocations: 8 kB / 0.5079 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4029, allocations: 0 / 0.5079 GB, free: 13.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.4032, allocations: 95.92 kB / 0.508 GB, free: 13.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.4037, allocations: 352.6 kB / 0.5083 GB, free: 13.44 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.4039, allocations: 66.53 kB / 0.5084 GB, free: 13.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.4041, allocations: 48.92 kB / 0.5084 GB, free: 13.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.621e-05/0.4041, allocations: 4 kB / 0.5085 GB, free: 13.31 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.237e-05/0.4041, allocations: 30.56 kB / 0.5085 GB, free: 13.27 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.4041, allocations: 96 / 0.5085 GB, free: 13.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=3): time 0.00055/0.4047, allocations: 181.5 kB / 0.5087 GB, free: 13.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.4047, allocations: 59.28 kB / 0.5087 GB, free: 13.02 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.602e-05/0.4048, allocations: 117.8 kB / 0.5088 GB, free: 12.89 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.176e-05/0.4048, allocations: 29.64 kB / 0.5089 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.808e-05/0.4049, allocations: 96.05 kB / 0.5089 GB, free: 12.76 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.5e-05/0.4049, allocations: 11.83 kB / 0.509 GB, free: 12.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.4049, allocations: 17.72 kB / 0.509 GB, free: 12.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.009e-05/0.405, allocations: 318.8 kB / 0.5093 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.4052, allocations: 43.95 kB / 0.5093 GB, free: 12.36 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.4053, allocations: 43.97 kB / 0.5094 GB, free: 12.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.4056, allocations: 104.7 kB / 0.5095 GB, free: 12.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4056, allocations: 0 / 0.5095 GB, free: 12.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003101/0.4059, allocations: 125.5 kB / 0.5096 GB, free: 12.09 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.4059, allocations: 4 kB / 0.5096 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.406, allocations: 4 kB / 0.5096 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.406, allocations: 0 / 0.5096 GB, free: 12.08 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.4061, allocations: 27.97 kB / 0.5096 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4061, allocations: 3.938 kB / 0.5096 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.906e-05/0.4062, allocations: 19.98 kB / 0.5096 GB, free: 12.03 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.976e-05/0.4062, allocations: 0 / 0.5096 GB, free: 12.03 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.815e-05/0.4063, allocations: 113.8 kB / 0.5097 GB, free: 11.91 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.4063, allocations: 8 kB / 0.5098 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003633/0.4067, allocations: 137.4 kB / 0.5099 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.4067, allocations: 0 / 0.5099 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.179e-06/0.4067, allocations: 3.938 kB / 0.5099 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.4067, allocations: 0 / 0.5099 GB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/0.4069, allocations: 181.9 kB / 0.5101 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.4069, allocations: 0 / 0.5101 GB, free: 11.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.011e-05/0.407, allocations: 23.97 kB / 0.5101 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.407, allocations: 4 kB / 0.5101 GB, free: 11.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.407, allocations: 4 kB / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.407, allocations: 0 / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.407, allocations: 3.938 kB / 0.5101 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.4073, allocations: 231.3 kB / 0.5103 GB, free: 11.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.262e-05/0.4074, allocations: 81.02 kB / 0.5104 GB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.558e-05/0.4074, allocations: 4 kB / 0.5104 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.4075, allocations: 15.98 kB / 0.5104 GB, free: 11.13 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.415e-05/0.4076, allocations: 11.92 kB / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.591e-06/0.4076, allocations: 0 / 0.5104 GB, free: 11.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.851e-05/0.4076, allocations: 87.28 kB / 0.5105 GB, free: 11.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4076, allocations: 0 / 0.5105 GB, free: 11.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002173/0.4078, allocations: 15.98 kB / 0.5105 GB, free: 11.02 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001421/0.408, allocations: 99.25 kB / 0.5106 GB, free: 10.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003421/0.4083, allocations: 95.92 kB / 0.5107 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.4084, allocations: 4 kB / 0.5107 GB, free: 10.81 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.4085, allocations: 55.83 kB / 0.5108 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003046/0.4088, allocations: 9.406 kB / 0.5108 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000347/0.4092, allocations: 168.6 kB / 0.5109 GB, free: 10.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001449/0.4093, allocations: 0.6887 MB / 0.5116 GB, free: 9.84 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.886e-05/0.4094, allocations: 7.984 kB / 0.5116 GB, free: 9.832 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.435e-05/0.4094, allocations: 11.44 kB / 0.5116 GB, free: 9.82 MB / 382.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4094, allocations: 0 / 0.5116 GB, free: 9.82 MB / 382.1 MB Notification: Performance of Templates: time 0.00289/0.4123, allocations: 0.622 MB / 0.5122 GB, free: 9.207 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: