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.000984/0.0009839, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.0009915/0.0009916, allocations: 190.7 kB / 16.25 MB, free: 6.629 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.209/1.209, allocations: 205.1 MB / 222.1 MB, free: 4.668 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.296/1.296, allocations: 251.7 MB / 0.5089 GB, free: 3.25 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.001192/0.001192, allocations: 71.89 kB / 0.6218 GB, free: 1.867 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3972, allocations: 104.7 MB / 0.724 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002421/0.3997, allocations: 1.603 MB / 0.7255 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002698/0.4, allocations: 112.5 kB / 0.7257 GB, free: 11.38 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.459e-05/0.4, allocations: 4 kB / 0.7257 GB, free: 11.37 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.4002, allocations: 11.92 kB / 0.7257 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.151e-05/0.4002, allocations: 7.938 kB / 0.7257 GB, free: 11.35 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002048/0.4004, allocations: 27.95 kB / 0.7257 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.041e-05/0.4005, allocations: 55.78 kB / 0.7258 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.4006, allocations: 23.98 kB / 0.7258 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.4007, allocations: 27.92 kB / 0.7258 GB, free: 11.22 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.73e-05/0.4007, allocations: 27.91 kB / 0.7258 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.435e-05/0.4007, allocations: 4 kB / 0.7258 GB, free: 11.19 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.4008, allocations: 8 kB / 0.7258 GB, free: 11.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.869e-05/0.4009, allocations: 19.92 kB / 0.7259 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.4009, allocations: 23.86 kB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.401, allocations: 59.8 kB / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.401, allocations: 0 / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.332e-06/0.401, allocations: 0 / 0.7259 GB, free: 11.08 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.401, allocations: 4 kB / 0.7259 GB, free: 11.07 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.0004606/0.4015, allocations: 385.2 kB / 0.7263 GB, free: 10.65 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.4015, allocations: 8.031 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.4016, allocations: 4.938 kB / 0.7263 GB, free: 10.64 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.4017, allocations: 196.1 kB / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.733e-06/0.4017, allocations: 384 / 0.7265 GB, free: 10.41 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.213e-05/0.4018, allocations: 4.375 kB / 0.7265 GB, free: 10.4 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.402, allocations: 90.2 kB / 0.7266 GB, free: 10.31 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-06/0.402, allocations: 4.125 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.402, allocations: 3.938 kB / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.402, allocations: 0 / 0.7266 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002592/0.4023, allocations: 83.84 kB / 0.7267 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004397/0.4027, allocations: 324.7 kB / 0.727 GB, free: 9.852 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.4029, allocations: 66.55 kB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001332/0.4031, allocations: 44.91 kB / 0.7271 GB, free: 9.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.4031, allocations: 8 kB / 0.7271 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.4031, allocations: 34.56 kB / 0.7271 GB, free: 9.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 9.41e-07/0.4031, allocations: 0 / 0.7271 GB, free: 9.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0004675/0.4036, allocations: 137.5 kB / 0.7273 GB, free: 9.539 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.145e-05/0.4036, allocations: 55.34 kB / 0.7273 GB, free: 9.473 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.291e-05/0.4037, allocations: 121.7 kB / 0.7274 GB, free: 9.344 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.33e-05/0.4037, allocations: 29.69 kB / 0.7275 GB, free: 9.309 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.204e-05/0.4038, allocations: 88.14 kB / 0.7276 GB, free: 9.219 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.046e-05/0.4038, allocations: 15.75 kB / 0.7276 GB, free: 9.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.4039, allocations: 17.7 kB / 0.7276 GB, free: 9.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/0.4039, allocations: 318.8 kB / 0.7279 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001312/0.4041, allocations: 39.95 kB / 0.7279 GB, free: 8.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.4042, allocations: 27.97 kB / 0.728 GB, free: 8.793 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002337/0.4044, allocations: 72.78 kB / 0.728 GB, free: 8.719 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4045, allocations: 4 kB / 0.728 GB, free: 8.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002787/0.4047, allocations: 109.5 kB / 0.7281 GB, free: 8.602 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.4048, allocations: 7.938 kB / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.4048, allocations: 0 / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4048, allocations: 0 / 0.7281 GB, free: 8.594 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.4049, allocations: 15.98 kB / 0.7282 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.529e-06/0.4049, allocations: 0 / 0.7282 GB, free: 8.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.906e-05/0.405, allocations: 19.97 kB / 0.7282 GB, free: 8.559 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.405, allocations: 0 / 0.7282 GB, free: 8.559 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.782e-05/0.4051, allocations: 117.8 kB / 0.7283 GB, free: 8.434 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.4051, allocations: 3.906 kB / 0.7283 GB, free: 8.43 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.4054, allocations: 117.5 kB / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.4054, allocations: 0 / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.4055, allocations: 0 / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.4055, allocations: 0 / 0.7284 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.4056, allocations: 185.5 kB / 0.7286 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.4056, allocations: 0 / 0.7286 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.387e-05/0.4057, allocations: 15.98 kB / 0.7286 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4057, allocations: 4 kB / 0.7286 GB, free: 8.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/0.4057, allocations: 4 kB / 0.7286 GB, free: 8.051 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.4057, allocations: 3.938 kB / 0.7286 GB, free: 8.047 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.4057, allocations: 4 kB / 0.7286 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003058/0.4061, allocations: 199.7 kB / 0.7288 GB, free: 7.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.76e-05/0.4061, allocations: 77.11 kB / 0.7289 GB, free: 7.738 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.834e-05/0.4061, allocations: 7.984 kB / 0.7289 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.313e-05/0.4062, allocations: 15.98 kB / 0.7289 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.68e-05/0.4063, allocations: 8.031 kB / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.4063, allocations: 0 / 0.7289 GB, free: 7.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.055e-05/0.4063, allocations: 91.27 kB / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4063, allocations: 0 / 0.729 GB, free: 7.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002092/0.4065, allocations: 12 kB / 0.729 GB, free: 7.605 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.000117/0.4066, allocations: 111.1 kB / 0.7291 GB, free: 7.488 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4069, allocations: 75.92 kB / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.407, allocations: 0 / 0.7292 GB, free: 7.414 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001327/0.4071, allocations: 43.89 kB / 0.7292 GB, free: 7.371 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.4073, allocations: 8 kB / 0.7292 GB, free: 7.363 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/0.4076, allocations: 181 kB / 0.7294 GB, free: 7.16 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001961/0.4078, allocations: 0.6885 MB / 0.7301 GB, free: 6.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.848e-05/0.4079, allocations: 8.234 kB / 0.7301 GB, free: 6.438 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.39e-05/0.4079, allocations: 11.44 kB / 0.7301 GB, free: 6.426 MB / 0.545 GB Notification: Performance of SimCode: time 2.7e-07/0.4079, allocations: 0 / 0.7301 GB, free: 6.426 MB / 0.545 GB Notification: Performance of Templates: time 0.002493/0.4104, allocations: 0.6619 MB / 0.7307 GB, free: 5.77 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)