Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.507/2.507, allocations: 287.9 MB / 302.9 MB, free: 8.363 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001442/0.001442, allocations: 165.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.155/2.155, allocations: 205.4 MB / 0.6301 GB, free: 10.38 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001/0.001, allocations: 98.84 kB / 0.7434 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004655/0.0004657, allocations: 12.31 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1727, allocations: 115.2 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002823/0.1756, allocations: 1.447 MB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.1775, allocations: 0.6294 MB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.1776, allocations: 0 / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.817e-05/0.1777, allocations: 11.86 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.1778, allocations: 19.97 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.1788, allocations: 148 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/0.179, allocations: 75.83 kB / 0.981 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.1792, allocations: 33.3 kB / 0.981 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.1794, allocations: 47.83 kB / 0.9811 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.1796, allocations: 35.84 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.648e-05/0.1796, allocations: 4 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.1798, allocations: 39.97 kB / 0.9812 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.691e-05/0.1799, allocations: 23.89 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.204e-05/0.1799, allocations: 41.58 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002314/0.1802, allocations: 100 kB / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.67e-06/0.1802, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.856e-06/0.1802, allocations: 0 / 0.9813 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.172e-05/0.1803, allocations: 0 / 0.9813 GB, free: 25.51 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0007576/0.181, allocations: 415 kB / 0.9817 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/0.1811, allocations: 12.02 kB / 0.9817 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001673/0.1828, allocations: 143.6 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.183, allocations: 178.9 kB / 0.982 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/0.1832, allocations: 71.39 kB / 0.9821 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.661e-05/0.1832, allocations: 8 kB / 0.9821 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001087/0.1843, allocations: 190.8 kB / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.1844, allocations: 0 / 0.9823 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/0.1845, allocations: 8 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1845, allocations: 3.953 kB / 0.9823 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001361/0.1859, allocations: 195.8 kB / 0.9825 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.1879, allocations: 497.9 kB / 0.983 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.1902, allocations: 274.3 kB / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.815e-05/0.1903, allocations: 0 / 0.9832 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.849e-05/0.1903, allocations: 38.55 kB / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 4.01e-06/0.1903, allocations: 0 / 0.9833 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.002247/0.1926, allocations: 313.6 kB / 0.9836 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.215e-05/0.1927, allocations: 51.41 kB / 0.9836 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1929, allocations: 143.7 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.1929, allocations: 37.58 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.352e-05/0.193, allocations: 108.2 kB / 0.9839 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.278e-05/0.1931, allocations: 19.66 kB / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.945e-05/0.1931, allocations: 0 / 0.9839 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.1932, allocations: 322.8 kB / 0.9842 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.1939, allocations: 91.92 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006884/0.1946, allocations: 114.5 kB / 0.9844 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006633/0.1953, allocations: 87.94 kB / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.348e-06/0.1954, allocations: 0 / 0.9845 GB, free: 22.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001517/0.1969, allocations: 237.7 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.197, allocations: 4 kB / 0.9847 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.197, allocations: 4.062 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.197, allocations: 4 kB / 0.9847 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005693/0.1976, allocations: 51.88 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1976, allocations: 4 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004341/0.1981, allocations: 39.83 kB / 0.9848 GB, free: 21.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.254e-05/0.1982, allocations: 8 kB / 0.9848 GB, free: 21.68 MB / 0.6198 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 0.0001609/0.1983, allocations: 113.8 kB / 0.985 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.1985, allocations: 11.89 kB / 0.985 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001558/0.2, allocations: 246.1 kB / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.848e-06/0.2001, allocations: 0 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.2001, allocations: 0 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.469e-06/0.2001, allocations: 0 / 0.9852 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004719/0.2006, allocations: 246.1 kB / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.565e-06/0.2006, allocations: 0 / 0.9854 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.2012, allocations: 47.94 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-06/0.2012, allocations: 0 / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.2013, allocations: 4 kB / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.2013, allocations: 0 / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.413e-06/0.2013, allocations: 0 / 0.9855 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.2028, allocations: 327.2 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.251e-05/0.2029, allocations: 84.95 kB / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.2029, allocations: 0 / 0.9859 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.2036, allocations: 43.95 kB / 0.9859 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.016e-05/0.2037, allocations: 11.92 kB / 0.9859 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.735e-05/0.2038, allocations: 7.984 kB / 0.9859 GB, free: 20.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000111/0.2039, allocations: 109.5 kB / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.115e-06/0.2039, allocations: 0 / 0.986 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006855/0.2046, allocations: 27.91 kB / 0.9861 GB, free: 20.33 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 (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 0.0001636/0.2048, allocations: 95.25 kB / 0.9862 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001475/0.2063, allocations: 207.9 kB / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.106e-06/0.2064, allocations: 0 / 0.9864 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.2071, allocations: 104 kB / 0.9865 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.2075, allocations: 5.719 kB / 0.9865 GB, free: 19.91 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001195/0.2088, allocations: 305.6 kB / 0.9868 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.209, allocations: 0.7004 MB / 0.9874 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.2093, allocations: 23.86 kB / 0.9875 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001114/0.2094, allocations: 11.44 kB / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of SimCode: time 2.552e-06/0.2094, allocations: 0 / 0.9875 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of Templates: time 0.006774/0.2162, allocations: 1.304 MB / 0.9887 GB, free: 17.54 MB / 0.6198 GB