Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") translateModel(Buildings.Utilities.Math.Examples.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.659/1.659, allocations: 288.4 MB / 303.7 MB, free: 8.023 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001008/0.001008, allocations: 180.5 kB / 372.3 MB, free: 10.09 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008451/0.000845, allocations: 103.2 kB / 0.7444 GB, free: 5.773 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003685/0.0003686, allocations: 12.75 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1852/0.1856, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001259/0.1869, allocations: 1.148 MB / 0.9813 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003264/0.1872, allocations: 180.5 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.64e-05/0.1873, allocations: 0 / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.507e-05/0.1873, allocations: 3.938 kB / 0.9814 GB, free: 26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.422e-05/0.1874, allocations: 7.938 kB / 0.9814 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.1876, allocations: 29.17 kB / 0.9815 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 4.651e-05/0.1876, allocations: 19.92 kB / 0.9815 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.053e-05/0.1877, allocations: 8 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.289e-05/0.1877, allocations: 7.984 kB / 0.9815 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.1878, allocations: 11.92 kB / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.1878, allocations: 0 / 0.9815 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.378e-05/0.1879, allocations: 35.95 kB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.1879, allocations: 0 / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.246e-05/0.1879, allocations: 37.64 kB / 0.9816 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 6.788e-05/0.188, allocations: 19.95 kB / 0.9816 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.188, allocations: 4 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.443e-06/0.188, allocations: 0 / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.105e-06/0.188, allocations: 4 kB / 0.9816 GB, free: 25.81 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003024/0.1883, allocations: 347.7 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.1884, allocations: 8.031 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1884, allocations: 0.9375 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.033e-05/0.1884, allocations: 168.4 kB / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.1885, allocations: 384 / 0.9821 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-06/0.1885, allocations: 4.375 kB / 0.9821 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.1886, allocations: 54.23 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.192e-06/0.1886, allocations: 192 / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1887, allocations: 7.938 kB / 0.9822 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.1887, allocations: 4 kB / 0.9822 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.1888, allocations: 51.89 kB / 0.9822 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002284/0.1891, allocations: 248.9 kB / 0.9825 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001061/0.1892, allocations: 42.5 kB / 0.9825 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.67e-05/0.1893, allocations: 36.84 kB / 0.9825 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.057e-05/0.1893, allocations: 81.11 kB / 0.9826 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.461e-05/0.1894, allocations: 34.55 kB / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.1894, allocations: 0 / 0.9826 GB, free: 24.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000312/0.1897, allocations: 97.59 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.056e-05/0.1897, allocations: 59.39 kB / 0.9828 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.1898, allocations: 101.8 kB / 0.9829 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.394e-06/0.1898, allocations: 29.83 kB / 0.9829 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.265e-05/0.1898, allocations: 84.14 kB / 0.983 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.1898, allocations: 7.891 kB / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-06/0.1898, allocations: 0 / 0.983 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.538e-05/0.1899, allocations: 314.8 kB / 0.9833 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.596e-05/0.1899, allocations: 19.98 kB / 0.9833 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.834e-05/0.19, allocations: 23.98 kB / 0.9834 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.1902, allocations: 52.75 kB / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1902, allocations: 0 / 0.9834 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001673/0.1903, allocations: 81.67 kB / 0.9835 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.1904, allocations: 4 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1904, allocations: 3.984 kB / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1904, allocations: 0 / 0.9835 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.1905, allocations: 12.03 kB / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.06e-06/0.1905, allocations: 0 / 0.9835 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.508e-05/0.1905, allocations: 20.16 kB / 0.9835 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.1905, allocations: 4 kB / 0.9835 GB, free: 23.61 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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 4.337e-05/0.1906, allocations: 121.8 kB / 0.9836 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.1906, allocations: 3.906 kB / 0.9836 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002/0.1908, allocations: 88.72 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1908, allocations: 3.984 kB / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.1908, allocations: 0 / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.1909, allocations: 0 / 0.9837 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.191, allocations: 161.6 kB / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.191, allocations: 0 / 0.9839 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.286e-05/0.191, allocations: 16.02 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-06/0.191, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.631e-06/0.191, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.1911, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.1911, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.1912, allocations: 183.4 kB / 0.9841 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.1913, allocations: 77.11 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.1913, allocations: 0 / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.868e-05/0.1914, allocations: 11.98 kB / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.739e-05/0.1914, allocations: 0 / 0.9842 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.1914, allocations: 7.875 kB / 0.9842 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.1914, allocations: 91.3 kB / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1914, allocations: 0 / 0.9843 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002064/0.1917, allocations: 12 kB / 0.9843 GB, free: 22.74 MB / 0.6198 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 (2): * Single equations (assignments): 2 * 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.0001167/0.1918, allocations: 103.2 kB / 0.9844 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001844/0.192, allocations: 51.95 kB / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.192, allocations: 0 / 0.9844 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.659e-05/0.1921, allocations: 27.92 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002323/0.1923, allocations: 7.938 kB / 0.9844 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002001/0.1925, allocations: 116.7 kB / 0.9846 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.016e-05/0.1926, allocations: 0.677 MB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.1926, allocations: 0 / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.468e-05/0.1927, allocations: 7.438 kB / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.1927, allocations: 0 / 0.9852 GB, free: 21.7 MB / 0.6198 GB Notification: Performance of Templates: time 0.001975/0.1946, allocations: 0.4966 MB / 0.9857 GB, free: 21.2 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.SmoothExponential.pipe 2>&1)