Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Utilities.Math.Examples.Average") translateModel(Buildings.Utilities.Math.Examples.Average,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001036/0.001036, allocations: 104 kB / 16.37 MB, free: 6.363 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.001017/0.001017, allocations: 191.8 kB / 17.3 MB, free: 5.898 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.291/1.291, allocations: 205.1 MB / 223.2 MB, free: 12.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.737/1.737, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.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.001654/0.001654, allocations: 71.91 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2029, allocations: 114.6 MB / 0.7848 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002843/0.2057, allocations: 1.535 MB / 0.7863 GB, free: 1.629 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003382/0.2061, allocations: 112.5 kB / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.2062, allocations: 0 / 0.7864 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001243/0.2063, allocations: 11.86 kB / 0.7864 GB, free: 1.504 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 2.617e-05/0.2064, allocations: 3.938 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.2066, allocations: 27.91 kB / 0.7864 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001026/0.2067, allocations: 59.78 kB / 0.7865 GB, free: 1.414 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001197/0.2068, allocations: 23.98 kB / 0.7865 GB, free: 1.391 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.433e-05/0.2069, allocations: 31.91 kB / 0.7865 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.089e-05/0.207, allocations: 31.84 kB / 0.7866 GB, free: 1.328 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.207, allocations: 4 kB / 0.7866 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.158e-05/0.2071, allocations: 8 kB / 0.7866 GB, free: 1.316 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.36e-05/0.2071, allocations: 19.98 kB / 0.7866 GB, free: 1.297 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.127e-05/0.2072, allocations: 23.8 kB / 0.7866 GB, free: 1.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.2073, allocations: 67.73 kB / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2073, allocations: 0 / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.232e-06/0.2074, allocations: 0 / 0.7867 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.2074, allocations: 0 / 0.7867 GB, free: 1.207 MB / 0.6544 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.0005113/0.2079, allocations: 379.3 kB / 0.7871 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.2079, allocations: 8.031 kB / 0.7871 GB, free: 0.7773 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.208, allocations: 12.84 kB / 0.7871 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.2081, allocations: 184.2 kB / 0.7872 GB, free: 0.5469 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.2082, allocations: 4.375 kB / 0.7873 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.575e-05/0.2082, allocations: 4.375 kB / 0.7873 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.2085, allocations: 90.14 kB / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.2085, allocations: 192 / 0.7873 GB, free: 456 kB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.14e-05/0.2085, allocations: 3.938 kB / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.2085, allocations: 0 / 0.7873 GB, free: 452 kB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.2088, allocations: 87.91 kB / 0.7874 GB, free: 364 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3396/0.5484, allocations: 324.6 kB / 0.7877 GB, free: 48.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.5488, allocations: 53.94 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.5489, allocations: 46.95 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.549, allocations: 4.312 kB / 0.7878 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.549, allocations: 31.88 kB / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.549, allocations: 0 / 0.7879 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005568/0.5496, allocations: 136.7 kB / 0.788 GB, free: 48.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.582e-05/0.5496, allocations: 59.19 kB / 0.7881 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.803e-05/0.5497, allocations: 112 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.987e-06/0.5497, allocations: 27.3 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.5497, allocations: 99.64 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.107e-05/0.5498, allocations: 10.88 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.5498, allocations: 14.84 kB / 0.7883 GB, free: 48.49 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.688e-05/0.5499, allocations: 322.2 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001432/0.55, allocations: 35.52 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.5502, allocations: 31.48 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.5504, allocations: 77.31 kB / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5504, allocations: 0 / 0.7888 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002901/0.5507, allocations: 108.4 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.5508, allocations: 3.406 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5508, allocations: 5.812 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5508, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.5509, allocations: 17.91 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.5509, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.415e-05/0.551, allocations: 11.98 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.157e-05/0.551, allocations: 3.812 kB / 0.7889 GB, free: 48.14 MB / 0.6544 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 5.806e-05/0.5511, allocations: 126.6 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.5511, allocations: 6.969 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00034/0.5515, allocations: 112.7 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.5515, allocations: 3.031 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.5515, allocations: 0 / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.16e-05/0.5515, allocations: 77.61 kB / 0.7892 GB, free: 47.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.5516, allocations: 6.125 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.5517, allocations: 19.19 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.5517, allocations: 6.234 kB / 0.7892 GB, free: 47.89 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003493/0.5521, allocations: 185.1 kB / 0.7894 GB, free: 47.79 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003149/0.5524, allocations: 277.9 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001548/0.5526, allocations: 47.88 kB / 0.7897 GB, free: 47.58 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.386e-05/0.5526, allocations: 91.53 kB / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of Backend: time 8.62e-07/0.5526, allocations: 0 / 0.7898 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004938/0.5531, allocations: 121.3 kB / 0.7899 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of SimCode: time 0.000488/0.5536, allocations: 0.5894 MB / 0.7905 GB, free: 46.87 MB / 0.6544 GB Notification: Performance of Templates: time 0.002943/0.5566, allocations: 0.9513 MB / 0.7914 GB, free: 46.85 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.Average.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Average.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.Average -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)