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.0009787/0.0009786, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001157/0.001157, allocations: 177.3 kB / 15.94 MB, free: 228 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.861/1.861, allocations: 205.4 MB / 222.1 MB, free: 5.555 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.652/1.652, allocations: 251.9 MB / 0.51 GB, free: 4.844 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.0005914/0.0005915, allocations: 24 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.661/0.6616, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002152/0.6639, allocations: 1.238 MB / 0.7292 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003122/0.6642, allocations: 112.5 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.569e-05/0.6643, allocations: 4 kB / 0.7293 GB, free: 10.07 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.6644, allocations: 11.92 kB / 0.7293 GB, free: 10.06 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 2.174e-05/0.6644, allocations: 3.938 kB / 0.7293 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002239/0.6647, allocations: 27.95 kB / 0.7293 GB, free: 10.03 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.339e-05/0.6648, allocations: 35.89 kB / 0.7294 GB, free: 9.992 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001291/0.6649, allocations: 23.98 kB / 0.7294 GB, free: 9.969 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.087e-05/0.665, allocations: 23.86 kB / 0.7294 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.226e-05/0.665, allocations: 19.91 kB / 0.7294 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.6651, allocations: 4 kB / 0.7294 GB, free: 9.922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.6651, allocations: 7.984 kB / 0.7294 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.521e-05/0.6652, allocations: 11.94 kB / 0.7294 GB, free: 9.902 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.763e-05/0.6652, allocations: 29.7 kB / 0.7295 GB, free: 9.867 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001039/0.6653, allocations: 39.92 kB / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.6653, allocations: 0 / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6653, allocations: 0 / 0.7295 GB, free: 9.828 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.6654, allocations: 4 kB / 0.7295 GB, free: 9.824 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.0005823/0.6659, allocations: 381.1 kB / 0.7299 GB, free: 9.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.666, allocations: 8.031 kB / 0.7299 GB, free: 9.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.666, allocations: 7.906 kB / 0.7299 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000205/0.6663, allocations: 190.9 kB / 0.7301 GB, free: 9.164 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.304e-05/0.6663, allocations: 7.938 kB / 0.7301 GB, free: 9.156 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.6663, allocations: 11.98 kB / 0.7301 GB, free: 9.145 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002975/0.6666, allocations: 93.64 kB / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.909e-06/0.6666, allocations: 0 / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.255e-05/0.6666, allocations: 0 / 0.7302 GB, free: 9.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.6667, allocations: 4 kB / 0.7302 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003337/0.667, allocations: 107.8 kB / 0.7303 GB, free: 8.938 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005784/0.6676, allocations: 336.7 kB / 0.7306 GB, free: 8.559 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002142/0.6678, allocations: 70.56 kB / 0.7307 GB, free: 8.48 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.348e-05/0.6679, allocations: 4 kB / 0.7307 GB, free: 8.477 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.482e-05/0.6679, allocations: 34.56 kB / 0.7307 GB, free: 8.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.212e-06/0.6679, allocations: 0 / 0.7307 GB, free: 8.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0006084/0.6685, allocations: 169.5 kB / 0.7309 GB, free: 8.262 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.6686, allocations: 55.39 kB / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001146/0.6687, allocations: 121.7 kB / 0.731 GB, free: 8.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6687, allocations: 29.7 kB / 0.7311 GB, free: 8.031 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.6688, allocations: 96.05 kB / 0.7312 GB, free: 7.934 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.22e-05/0.6688, allocations: 11.83 kB / 0.7312 GB, free: 7.922 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.479e-06/0.6688, allocations: 3.938 kB / 0.7312 GB, free: 7.918 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.669, allocations: 314.8 kB / 0.7315 GB, free: 7.602 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.6691, allocations: 51.89 kB / 0.7315 GB, free: 7.551 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/0.6693, allocations: 43.97 kB / 0.7316 GB, free: 7.508 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001486/0.6694, allocations: 47.95 kB / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6695, allocations: 0 / 0.7316 GB, free: 7.461 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003334/0.6698, allocations: 117.6 kB / 0.7317 GB, free: 7.34 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/0.6698, allocations: 11.98 kB / 0.7317 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6698, allocations: 0 / 0.7317 GB, free: 7.328 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.862e-05/0.6699, allocations: 3.953 kB / 0.7317 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.67, allocations: 23.98 kB / 0.7318 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.67, allocations: 0 / 0.7318 GB, free: 7.301 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.106e-05/0.6701, allocations: 19.89 kB / 0.7318 GB, free: 7.281 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.848e-05/0.6701, allocations: 8 kB / 0.7318 GB, free: 7.273 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001026/0.6702, allocations: 121.8 kB / 0.7319 GB, free: 7.145 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.6703, allocations: 4 kB / 0.7319 GB, free: 7.141 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003854/0.6707, allocations: 137.5 kB / 0.732 GB, free: 6.996 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.6707, allocations: 4 kB / 0.7321 GB, free: 6.992 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.6707, allocations: 3.953 kB / 0.7321 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.6707, allocations: 4 kB / 0.7321 GB, free: 6.984 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.6709, allocations: 173.6 kB / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.6709, allocations: 384 / 0.7322 GB, free: 6.766 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.901e-05/0.671, allocations: 23.97 kB / 0.7322 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.671, allocations: 0 / 0.7322 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.671, allocations: 0 / 0.7322 GB, free: 6.742 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.671, allocations: 4 kB / 0.7323 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.671, allocations: 0 / 0.7323 GB, free: 6.738 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004131/0.6715, allocations: 235.2 kB / 0.7325 GB, free: 6.492 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.6715, allocations: 77.11 kB / 0.7325 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.6715, allocations: 4 kB / 0.7326 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/0.6716, allocations: 11.98 kB / 0.7326 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.439e-05/0.6717, allocations: 15.98 kB / 0.7326 GB, free: 6.367 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.6717, allocations: 0 / 0.7326 GB, free: 6.367 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.6718, allocations: 99.59 kB / 0.7327 GB, free: 6.27 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6718, allocations: 0 / 0.7327 GB, free: 6.27 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002344/0.672, allocations: 15.91 kB / 0.7327 GB, free: 6.254 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 (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.0001656/0.6722, allocations: 95.25 kB / 0.7328 GB, free: 6.152 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000373/0.6726, allocations: 99.91 kB / 0.7329 GB, free: 6.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6726, allocations: 3.938 kB / 0.7329 GB, free: 6.051 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.6728, allocations: 51.97 kB / 0.7329 GB, free: 6 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002322/0.673, allocations: 7.938 kB / 0.7329 GB, free: 5.992 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003934/0.6734, allocations: 176.5 kB / 0.7331 GB, free: 5.793 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.6737, allocations: 0.6887 MB / 0.7338 GB, free: 5.078 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.243e-05/0.6738, allocations: 7.984 kB / 0.7338 GB, free: 5.07 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.519e-05/0.6738, allocations: 11.44 kB / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.6738, allocations: 0 / 0.7338 GB, free: 5.059 MB / 0.545 GB Notification: Performance of Templates: time 0.002881/0.6767, allocations: 0.6068 MB / 0.7344 GB, free: 4.461 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Average.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: