Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.498/1.498, allocations: 252 MB / 267.6 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001014/0.001014, allocations: 174.3 kB / 327.3 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.658/1.658, allocations: 205.4 MB / 0.5783 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007206/0.0007208, allocations: 84.47 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003151/0.0003151, allocations: 12.75 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1765, allocations: 106.3 MB / 0.9008 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001551/0.1781, allocations: 1.459 MB / 0.9022 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008261/0.1789, allocations: 0.6641 MB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.078e-05/0.179, allocations: 4 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.179, allocations: 3.938 kB / 0.9029 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.1791, allocations: 15.84 kB / 0.9029 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004596/0.1795, allocations: 144.2 kB / 0.9031 GB, free: 61.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.954e-05/0.1796, allocations: 111.7 kB / 0.9032 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.1798, allocations: 37.28 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.51e-05/0.1799, allocations: 43.83 kB / 0.9032 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.1799, allocations: 39.78 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.146e-05/0.18, allocations: 4 kB / 0.9033 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.597e-05/0.18, allocations: 43.97 kB / 0.9033 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.989e-05/0.1801, allocations: 19.91 kB / 0.9033 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.441e-05/0.1801, allocations: 45.64 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1802, allocations: 87.81 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1802, allocations: 0 / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.1802, allocations: 0 / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.1802, allocations: 3.938 kB / 0.9035 GB, free: 61.21 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004454/0.1807, allocations: 424 kB / 0.9039 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.1807, allocations: 16.03 kB / 0.9039 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007954/0.1815, allocations: 139.6 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.559e-05/0.1816, allocations: 178.9 kB / 0.9042 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.518e-05/0.1817, allocations: 67.39 kB / 0.9043 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.1817, allocations: 8 kB / 0.9043 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004589/0.1822, allocations: 193.5 kB / 0.9045 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.1822, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.212e-05/0.1823, allocations: 4 kB / 0.9045 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1823, allocations: 7.891 kB / 0.9045 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005537/0.1828, allocations: 187.8 kB / 0.9046 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000988/0.1838, allocations: 0.4977 MB / 0.9051 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009224/0.1848, allocations: 282.2 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002688/0.185, allocations: 100.9 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1851, allocations: 3.984 kB / 0.9055 GB, free: 58.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.936e-05/0.1851, allocations: 30.56 kB / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.1851, allocations: 0 / 0.9055 GB, free: 58.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.0009232/0.186, allocations: 313.5 kB / 0.9058 GB, free: 58.61 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.692e-05/0.1861, allocations: 51.41 kB / 0.9059 GB, free: 58.54 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.101e-05/0.1862, allocations: 148 kB / 0.906 GB, free: 58.39 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1862, allocations: 29.7 kB / 0.906 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.243e-05/0.1862, allocations: 108.1 kB / 0.9061 GB, free: 58.25 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.073e-05/0.1863, allocations: 19.72 kB / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.1863, allocations: 0 / 0.9062 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.261e-05/0.1863, allocations: 322.8 kB / 0.9065 GB, free: 57.9 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000267/0.1866, allocations: 91.92 kB / 0.9066 GB, free: 57.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002732/0.1869, allocations: 114.5 kB / 0.9067 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1872, allocations: 87.94 kB / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1872, allocations: 0 / 0.9068 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006178/0.1878, allocations: 237.4 kB / 0.907 GB, free: 57.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1878, allocations: 4 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.1878, allocations: 160 / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1879, allocations: 4 kB / 0.907 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002498/0.1881, allocations: 51.88 kB / 0.907 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.1881, allocations: 7.984 kB / 0.907 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.1883, allocations: 39.86 kB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.1884, allocations: 4 kB / 0.9071 GB, free: 57.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 8.005e-05/0.1884, allocations: 117.8 kB / 0.9072 GB, free: 57.13 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.1885, allocations: 11.91 kB / 0.9072 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006484/0.1891, allocations: 242.1 kB / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.1891, allocations: 0 / 0.9074 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.1892, allocations: 7.938 kB / 0.9075 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.1892, allocations: 0 / 0.9075 GB, free: 56.87 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.1894, allocations: 238.3 kB / 0.9077 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.1894, allocations: 4.359 kB / 0.9077 GB, free: 56.59 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002078/0.1896, allocations: 39.95 kB / 0.9077 GB, free: 56.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.1896, allocations: 4 kB / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.288e-05/0.1896, allocations: 8 kB / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1896, allocations: 0 / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.1896, allocations: 0 / 0.9077 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005848/0.1902, allocations: 319.2 kB / 0.908 GB, free: 56.21 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.139e-05/0.1902, allocations: 89.02 kB / 0.9081 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.1903, allocations: 0 / 0.9081 GB, free: 56.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002829/0.1906, allocations: 39.95 kB / 0.9082 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.1906, allocations: 11.92 kB / 0.9082 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.1906, allocations: 11.98 kB / 0.9082 GB, free: 56.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.331e-05/0.1907, allocations: 109.6 kB / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1907, allocations: 0 / 0.9083 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002318/0.1909, allocations: 27.94 kB / 0.9083 GB, free: 55.91 MB / 0.6042 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 (6): * Single equations (assignments): 6 * 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 9.881e-05/0.191, allocations: 95.25 kB / 0.9084 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.1917, allocations: 203.8 kB / 0.9086 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1917, allocations: 0 / 0.9086 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1919, allocations: 100 kB / 0.9087 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002855/0.1922, allocations: 8 kB / 0.9087 GB, free: 55.5 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005676/0.1928, allocations: 327.1 kB / 0.909 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1929, allocations: 0.7043 MB / 0.9097 GB, free: 54.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.673e-05/0.193, allocations: 15.42 kB / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.193, allocations: 0 / 0.9097 GB, free: 54.4 MB / 0.6042 GB Notification: Performance of Templates: time 0.002445/0.1955, allocations: 1.588 MB / 0.9113 GB, free: 52.81 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1)