Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.0009234/0.0009235, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009636/0.0009636, allocations: 191.4 kB / 16.53 MB, free: 6.391 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.226/1.226, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.363/1.363, allocations: 251.7 MB / 0.5092 GB, free: 3.152 MB / 414.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: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 71.89 kB / 0.6223 GB, free: 1.527 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3815, allocations: 104.7 MB / 0.7245 GB, free: 12.92 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002418/0.384, allocations: 1.532 MB / 0.726 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.3843, allocations: 112.6 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.3843, allocations: 3.938 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3844, allocations: 7.922 kB / 0.7261 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.533e-05/0.3845, allocations: 7.938 kB / 0.7261 GB, free: 11.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.3847, allocations: 31.89 kB / 0.7262 GB, free: 11.21 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.345e-05/0.3848, allocations: 55.84 kB / 0.7262 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.3849, allocations: 23.98 kB / 0.7262 GB, free: 11.13 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.644e-05/0.385, allocations: 27.86 kB / 0.7263 GB, free: 11.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.927e-05/0.385, allocations: 23.91 kB / 0.7263 GB, free: 11.08 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3851, allocations: 8 kB / 0.7263 GB, free: 11.07 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.284e-05/0.3851, allocations: 11.98 kB / 0.7263 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.753e-05/0.3852, allocations: 19.92 kB / 0.7263 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.651e-05/0.3852, allocations: 27.86 kB / 0.7264 GB, free: 11.02 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.3853, allocations: 55.81 kB / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3853, allocations: 0 / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3853, allocations: 0 / 0.7264 GB, free: 10.96 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.3853, allocations: 0 / 0.7264 GB, free: 10.96 MB / 0.545 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.0005038/0.3859, allocations: 381.2 kB / 0.7268 GB, free: 10.54 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.3859, allocations: 12.03 kB / 0.7268 GB, free: 10.53 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.91e-05/0.3859, allocations: 4.938 kB / 0.7268 GB, free: 10.52 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.3861, allocations: 188.1 kB / 0.727 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.3861, allocations: 12.38 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.3861, allocations: 4.375 kB / 0.727 GB, free: 10.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.3864, allocations: 94.06 kB / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.3864, allocations: 192 / 0.7271 GB, free: 10.19 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.3864, allocations: 7.938 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.3864, allocations: 4 kB / 0.7271 GB, free: 10.18 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002996/0.3867, allocations: 79.92 kB / 0.7272 GB, free: 10.1 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004764/0.3872, allocations: 328.6 kB / 0.7275 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.3874, allocations: 62.53 kB / 0.7275 GB, free: 9.656 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/0.3876, allocations: 36.92 kB / 0.7276 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.853e-05/0.3876, allocations: 0 / 0.7276 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.074e-05/0.3876, allocations: 30.56 kB / 0.7276 GB, free: 9.578 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.944e-06/0.3876, allocations: 4.094 kB / 0.7276 GB, free: 9.574 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0005292/0.3882, allocations: 149.4 kB / 0.7277 GB, free: 9.422 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.3882, allocations: 51.41 kB / 0.7278 GB, free: 9.359 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.702e-05/0.3883, allocations: 113.7 kB / 0.7279 GB, free: 9.238 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.3883, allocations: 25.7 kB / 0.7279 GB, free: 9.207 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.314e-05/0.3884, allocations: 100.1 kB / 0.728 GB, free: 9.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.3884, allocations: 11.75 kB / 0.728 GB, free: 9.094 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3884, allocations: 17.72 kB / 0.728 GB, free: 9.07 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.3885, allocations: 318.8 kB / 0.7284 GB, free: 8.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001406/0.3887, allocations: 31.95 kB / 0.7284 GB, free: 8.719 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001325/0.3888, allocations: 35.95 kB / 0.7284 GB, free: 8.684 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/0.3891, allocations: 81 kB / 0.7285 GB, free: 8.602 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3891, allocations: 0 / 0.7285 GB, free: 8.602 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003089/0.3894, allocations: 101.6 kB / 0.7286 GB, free: 8.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.3894, allocations: 4 kB / 0.7286 GB, free: 8.492 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.3895, allocations: 4 kB / 0.7286 GB, free: 8.488 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3895, allocations: 7.984 kB / 0.7286 GB, free: 8.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.3896, allocations: 15.92 kB / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.988e-06/0.3896, allocations: 0 / 0.7286 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.221e-05/0.3897, allocations: 11.98 kB / 0.7286 GB, free: 8.453 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.674e-05/0.3897, allocations: 0 / 0.7286 GB, free: 8.453 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.817e-05/0.3898, allocations: 121.8 kB / 0.7287 GB, free: 8.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3898, allocations: 11.91 kB / 0.7288 GB, free: 8.312 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000359/0.3902, allocations: 113.5 kB / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.3902, allocations: 0 / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3902, allocations: 0 / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.3902, allocations: 0 / 0.7289 GB, free: 8.191 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001627/0.3904, allocations: 181.6 kB / 0.729 GB, free: 7.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3904, allocations: 3.938 kB / 0.729 GB, free: 7.961 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.198e-05/0.3905, allocations: 23.97 kB / 0.7291 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3905, allocations: 0 / 0.7291 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/0.3905, allocations: 0 / 0.7291 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.3905, allocations: 0 / 0.7291 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.3905, allocations: 4 kB / 0.7291 GB, free: 7.934 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.3909, allocations: 211.2 kB / 0.7293 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.952e-05/0.3909, allocations: 81.11 kB / 0.7294 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.345e-05/0.3909, allocations: 0 / 0.7294 GB, free: 7.613 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.391, allocations: 11.98 kB / 0.7294 GB, free: 7.602 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3911, allocations: 7.984 kB / 0.7294 GB, free: 7.594 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.873e-06/0.3911, allocations: 4 kB / 0.7294 GB, free: 7.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.099e-05/0.3911, allocations: 91.27 kB / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3911, allocations: 0 / 0.7295 GB, free: 7.5 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002078/0.3914, allocations: 12 kB / 0.7295 GB, free: 7.488 MB / 0.545 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 (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.0001107/0.3915, allocations: 99.19 kB / 0.7296 GB, free: 7.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003428/0.3918, allocations: 71.92 kB / 0.7296 GB, free: 7.312 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.3918, allocations: 11.94 kB / 0.7296 GB, free: 7.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001468/0.392, allocations: 39.95 kB / 0.7297 GB, free: 7.262 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00025/0.3922, allocations: 7.234 kB / 0.7297 GB, free: 7.258 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002915/0.3925, allocations: 173 kB / 0.7299 GB, free: 7.062 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002323/0.3928, allocations: 0.6924 MB / 0.7305 GB, free: 6.344 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.572e-05/0.3928, allocations: 4 kB / 0.7305 GB, free: 6.34 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.135e-05/0.3929, allocations: 11.44 kB / 0.7305 GB, free: 6.328 MB / 0.545 GB Notification: Performance of SimCode: time 2.41e-07/0.3929, allocations: 0 / 0.7305 GB, free: 6.328 MB / 0.545 GB Notification: Performance of Templates: time 0.00265/0.3955, allocations: 0.7719 MB / 0.7313 GB, free: 5.566 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)