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.001578/0.001578, allocations: 107.8 kB / 16.36 MB, free: 5.961 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.001879/0.001879, allocations: 193.8 kB / 17.3 MB, free: 5.574 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.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.29 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.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.68 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.001416/0.001416, allocations: 67.91 kB / 0.6729 GB, free: 5.902 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2334, allocations: 114.6 MB / 0.7848 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.003075/0.2365, allocations: 1.532 MB / 0.7863 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0003254/0.2369, allocations: 112.5 kB / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.3e-05/0.2369, allocations: 0 / 0.7864 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0001177/0.2371, allocations: 3.938 kB / 0.7864 GB, free: 1.566 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.223e-05/0.2371, allocations: 11.81 kB / 0.7864 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.2374, allocations: 27.97 kB / 0.7864 GB, free: 1.527 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001011/0.2375, allocations: 55.83 kB / 0.7865 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001183/0.2376, allocations: 27.97 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.425e-05/0.2377, allocations: 27.92 kB / 0.7865 GB, free: 1.418 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001641/0.2379, allocations: 31.84 kB / 0.7866 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.171e-05/0.2379, allocations: 4 kB / 0.7866 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 6.174e-05/0.2379, allocations: 8 kB / 0.7866 GB, free: 1.375 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 4.125e-05/0.238, allocations: 15.98 kB / 0.7866 GB, free: 1.359 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.414e-05/0.238, allocations: 27.81 kB / 0.7866 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.2382, allocations: 67.78 kB / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2382, allocations: 0 / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.734e-06/0.2382, allocations: 0 / 0.7867 GB, free: 1.266 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.837e-06/0.2382, allocations: 0 / 0.7867 GB, free: 1.266 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.0005394/0.2388, allocations: 375.3 kB / 0.787 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.2388, allocations: 8.031 kB / 0.787 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.052e-05/0.2388, allocations: 16.84 kB / 0.7871 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001715/0.239, allocations: 188.1 kB / 0.7872 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.422e-05/0.239, allocations: 8.375 kB / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.2391, allocations: 384 / 0.7872 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002894/0.2394, allocations: 86.2 kB / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.2394, allocations: 192 / 0.7873 GB, free: 0.5039 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.2394, allocations: 7.875 kB / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2394, allocations: 0 / 0.7873 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003909/0.2398, allocations: 91.84 kB / 0.7874 GB, free: 416 kB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005694/0.2404, allocations: 320.6 kB / 0.7877 GB, free: 44 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.348/0.5884, allocations: 62.75 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.5886, allocations: 39.2 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.5887, allocations: 1.938 kB / 0.7878 GB, free: 48.86 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.5887, allocations: 33.72 kB / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.5887, allocations: 0 / 0.7879 GB, free: 48.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0005178/0.5892, allocations: 144.2 kB / 0.788 GB, free: 48.79 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.539e-05/0.5893, allocations: 51.41 kB / 0.788 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.5894, allocations: 115 kB / 0.7882 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 8.977e-06/0.5894, allocations: 25.7 kB / 0.7882 GB, free: 48.59 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.037e-05/0.5894, allocations: 101.4 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.5894, allocations: 12.47 kB / 0.7883 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.301e-05/0.5895, allocations: 14.22 kB / 0.7883 GB, free: 48.5 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.5895, allocations: 318.5 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001397/0.5897, allocations: 36.7 kB / 0.7886 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.5898, allocations: 34.66 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.5901, allocations: 74.03 kB / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5901, allocations: 0 / 0.7887 GB, free: 48.18 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000291/0.5904, allocations: 106.3 kB / 0.7888 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.5904, allocations: 6.625 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.5904, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.5904, allocations: 0 / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.5905, allocations: 18.38 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.5906, allocations: 3.156 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.862e-05/0.5906, allocations: 14.67 kB / 0.7889 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.5907, allocations: 0 / 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.6e-05/0.5907, allocations: 123.5 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.5908, allocations: 3.281 kB / 0.789 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/0.5911, allocations: 113.5 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.5911, allocations: 3.422 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.5911, allocations: 0.5938 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.5911, allocations: 4.906 kB / 0.7891 GB, free: 47.99 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001296/0.5913, allocations: 181.7 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5913, allocations: 0 / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.5914, allocations: 19.97 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.5914, allocations: 0 / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/0.5914, allocations: 0.625 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5914, allocations: 0.5312 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5914, allocations: 1.062 kB / 0.7893 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003009/0.5917, allocations: 208.4 kB / 0.7895 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 1.728e-05/0.5917, allocations: 83.61 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.5918, allocations: 6.422 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.5919, allocations: 11.11 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.675e-05/0.5919, allocations: 7.188 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.5919, allocations: 3.844 kB / 0.7896 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.106e-05/0.592, allocations: 93.75 kB / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.21e-07/0.592, allocations: 0 / 0.7897 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002812/0.5922, allocations: 10.5 kB / 0.7897 GB, free: 47.5 MB / 0.6544 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.0001096/0.5924, allocations: 99.78 kB / 0.7898 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0003205/0.5927, allocations: 76.84 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5927, allocations: 0 / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.5929, allocations: 44.33 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002879/0.5931, allocations: 10.89 kB / 0.7899 GB, free: 47.41 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.5934, allocations: 147.7 kB / 0.7901 GB, free: 47.3 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.5935, allocations: 0.6919 MB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.756e-05/0.5936, allocations: 11.02 kB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.5936, allocations: 10.66 kB / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/0.5936, allocations: 0 / 0.7908 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of Templates: time 0.00279/0.5964, allocations: 0.7603 MB / 0.7915 GB, free: 46.58 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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.Average.pipe 2>&1)