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.001486/0.001486, allocations: 108 kB / 15.61 MB, free: 148 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.001071/0.001071, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.255/1.255, allocations: 205.1 MB / 222.4 MB, free: 4.582 MB / 174.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.607/1.607, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001303/0.001303, allocations: 65.16 kB / 0.6715 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1856, allocations: 114.5 MB / 0.7834 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Average): time 0.002426/0.188, allocations: 1.527 MB / 0.7848 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002488/0.1883, allocations: 120.4 kB / 0.785 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.294e-05/0.1883, allocations: 4 kB / 0.785 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 8.935e-05/0.1884, allocations: 7.938 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.445e-05/0.1885, allocations: 11.86 kB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001838/0.1887, allocations: 27.97 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.424e-05/0.1887, allocations: 51.84 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1888, allocations: 31.97 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.1889, allocations: 23.92 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.216e-05/0.189, allocations: 31.84 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.189, allocations: 4 kB / 0.7851 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.017e-05/0.189, allocations: 8 kB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.1891, allocations: 15.98 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.399e-05/0.1891, allocations: 23.81 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001186/0.1893, allocations: 59.84 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.816e-06/0.1893, allocations: 7.938 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1893, allocations: 4 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.1893, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 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.0004593/0.1897, allocations: 375.6 kB / 0.7856 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.052e-05/0.1898, allocations: 8.031 kB / 0.7856 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.1898, allocations: 8.844 kB / 0.7856 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001446/0.19, allocations: 188.2 kB / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.514e-06/0.19, allocations: 384 / 0.7858 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.19, allocations: 8.375 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002506/0.1903, allocations: 90.14 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.1903, allocations: 192 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1903, allocations: 3.938 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1903, allocations: 0 / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002991/0.1906, allocations: 83.91 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.1911, allocations: 328.6 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.1913, allocations: 62.53 kB / 0.7864 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.1914, allocations: 40.91 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.1915, allocations: 7.984 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.1915, allocations: 38.59 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 2.224e-06/0.1915, allocations: 0 / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005106/0.192, allocations: 137.5 kB / 0.7866 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.724e-05/0.1921, allocations: 51.41 kB / 0.7866 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.1922, allocations: 125.8 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.1922, allocations: 25.7 kB / 0.7868 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.652e-05/0.1922, allocations: 95.98 kB / 0.7869 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.1923, allocations: 7.906 kB / 0.7869 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/0.1923, allocations: 21.7 kB / 0.7869 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.395e-05/0.1924, allocations: 318.8 kB / 0.7872 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.1925, allocations: 35.95 kB / 0.7872 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.1927, allocations: 27.97 kB / 0.7873 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002845/0.193, allocations: 80.72 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.193, allocations: 0 / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003161/0.1933, allocations: 105.5 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.1933, allocations: 4 kB / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.1933, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.1933, allocations: 0 / 0.7874 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.1935, allocations: 23.98 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1935, allocations: 3.984 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.4e-05/0.1936, allocations: 11.98 kB / 0.7875 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.38e-05/0.1936, allocations: 0 / 0.7875 GB, free: 9.008 MB / 0.6075 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 7.38e-05/0.1937, allocations: 121.7 kB / 0.7876 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.1937, allocations: 7.906 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.1941, allocations: 113.8 kB / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1941, allocations: 0 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-06/0.1941, allocations: 48 / 0.7877 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.1941, allocations: 7.984 kB / 0.7877 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001638/0.1942, allocations: 181.6 kB / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1943, allocations: 0 / 0.7879 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.718e-05/0.1944, allocations: 11.98 kB / 0.7879 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.1944, allocations: 8 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-06/0.1944, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.1944, allocations: 0 / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.1944, allocations: 7.922 kB / 0.7879 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003453/0.1947, allocations: 199.4 kB / 0.7881 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.149e-05/0.1948, allocations: 92.94 kB / 0.7882 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.1948, allocations: 8 kB / 0.7882 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.1949, allocations: 11.92 kB / 0.7882 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.56e-05/0.195, allocations: 4 kB / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/0.195, allocations: 0 / 0.7882 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.145e-05/0.195, allocations: 91.27 kB / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.195, allocations: 0 / 0.7883 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002141/0.1952, allocations: 12 kB / 0.7883 GB, free: 8.039 MB / 0.6075 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.0001166/0.1954, allocations: 111.2 kB / 0.7884 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003288/0.1957, allocations: 75.86 kB / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1957, allocations: 0 / 0.7885 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.1959, allocations: 39.95 kB / 0.7885 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.1961, allocations: 12 kB / 0.7885 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002688/0.1964, allocations: 149.5 kB / 0.7887 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002274/0.1966, allocations: 0.6885 MB / 0.7894 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.245e-05/0.1967, allocations: 15.89 kB / 0.7894 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.1967, allocations: 11.44 kB / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1967, allocations: 0 / 0.7894 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of Templates: time 0.002592/0.1993, allocations: 0.7563 MB / 0.7901 GB, free: 6.137 MB / 0.6075 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)