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 4.954/4.954, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002384/0.002383, allocations: 363 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.126/4.126, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 183.7 kB / 1.225 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004974/0.0004976, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1678/0.1683, allocations: 115.3 MB / 1.461 GB, free: 6.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.001707/0.17, allocations: 1.443 MB / 1.462 GB, free: 5.129 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001029/0.1711, allocations: 0.6371 MB / 1.463 GB, free: 4.484 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.081e-05/0.1712, allocations: 4 kB / 1.463 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.592e-05/0.1712, allocations: 7.922 kB / 1.463 GB, free: 4.473 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.202e-05/0.1713, allocations: 7.875 kB / 1.463 GB, free: 4.465 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005574/0.1719, allocations: 143.4 kB / 1.463 GB, free: 4.328 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001203/0.172, allocations: 111.6 kB / 1.463 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.1721, allocations: 33.3 kB / 1.463 GB, free: 4.188 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.1723, allocations: 47.83 kB / 1.463 GB, free: 4.141 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.1724, allocations: 35.84 kB / 1.463 GB, free: 4.105 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.44e-05/0.1724, allocations: 4 kB / 1.463 GB, free: 4.102 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.1725, allocations: 39.89 kB / 1.463 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.821e-05/0.1725, allocations: 27.91 kB / 1.463 GB, free: 4.035 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.048e-05/0.1726, allocations: 37.64 kB / 1.463 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.1727, allocations: 92.05 kB / 1.463 GB, free: 3.902 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.334e-06/0.1727, allocations: 7.922 kB / 1.463 GB, free: 3.895 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.091e-06/0.1728, allocations: 4 kB / 1.463 GB, free: 3.891 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1728, allocations: 0 / 1.463 GB, free: 3.891 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.0004936/0.1733, allocations: 411 kB / 1.464 GB, free: 3.441 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.1733, allocations: 11.97 kB / 1.464 GB, free: 3.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001378/0.1747, allocations: 151.6 kB / 1.464 GB, free: 3.281 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.1749, allocations: 175 kB / 1.464 GB, free: 3.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000144/0.1751, allocations: 67.39 kB / 1.464 GB, free: 2.992 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.55e-05/0.1751, allocations: 4 kB / 1.464 GB, free: 2.988 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009904/0.1761, allocations: 193.4 kB / 1.464 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.868e-05/0.1762, allocations: 0 / 1.464 GB, free: 2.793 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/0.1762, allocations: 4 kB / 1.464 GB, free: 2.789 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.1763, allocations: 15.88 kB / 1.464 GB, free: 2.773 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.1776, allocations: 191.8 kB / 1.465 GB, free: 2.586 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1791, allocations: 0.4902 MB / 1.465 GB, free: 2.047 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.1803, allocations: 274.3 kB / 1.465 GB, free: 1.77 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003538/0.1806, allocations: 96.91 kB / 1.465 GB, free: 1.672 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/0.1807, allocations: 7.984 kB / 1.465 GB, free: 1.664 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.314e-05/0.1807, allocations: 38.5 kB / 1.465 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.754e-06/0.1807, allocations: 0 / 1.465 GB, free: 1.617 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.001203/0.1819, allocations: 309.5 kB / 1.466 GB, free: 1.309 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/0.182, allocations: 59.39 kB / 1.466 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001683/0.1822, allocations: 137.8 kB / 1.466 GB, free: 1.094 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.958e-05/0.1822, allocations: 29.7 kB / 1.466 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 9.084e-05/0.1823, allocations: 108.2 kB / 1.466 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.1824, allocations: 23.66 kB / 1.466 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.1824, allocations: 0 / 1.466 GB, free: 0.9258 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1826, allocations: 318.8 kB / 1.466 GB, free: 0.6055 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004011/0.183, allocations: 95.92 kB / 1.466 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004059/0.1834, allocations: 114.5 kB / 1.467 GB, free: 400 kB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.1838, allocations: 87.94 kB / 1.467 GB, free: 312 kB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.16e-06/0.1839, allocations: 3.938 kB / 1.467 GB, free: 308 kB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0008978/0.1848, allocations: 237.4 kB / 1.467 GB, free: 64 kB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.1848, allocations: 7.281 kB / 1.467 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-06/0.1848, allocations: 0 / 1.467 GB, free: 60 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.1848, allocations: 7.984 kB / 1.467 GB, free: 52 kB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003324/0.1852, allocations: 39.95 kB / 1.467 GB, free: 12 kB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.924e-06/0.1852, allocations: 0 / 1.467 GB, free: 12 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/0.1855, allocations: 47.83 kB / 1.467 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.1855, allocations: 0 / 1.467 GB, free: 15.96 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.0001492/0.1857, allocations: 117.8 kB / 1.467 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.326e-05/0.1858, allocations: 7.906 kB / 1.467 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009558/0.1867, allocations: 250.1 kB / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.942e-06/0.1867, allocations: 0 / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.362e-06/0.1868, allocations: 0 / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.121e-06/0.1868, allocations: 0 / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003782/0.1872, allocations: 250.1 kB / 1.468 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.453e-06/0.1872, allocations: 4 kB / 1.468 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002994/0.1875, allocations: 39.95 kB / 1.468 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.294e-06/0.1875, allocations: 0 / 1.468 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.1875, allocations: 384 / 1.468 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.472e-06/0.1876, allocations: 4 kB / 1.468 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.181e-06/0.1876, allocations: 7.938 kB / 1.468 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009238/0.1885, allocations: 323.2 kB / 1.468 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 6.539e-05/0.1886, allocations: 85.02 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.07e-05/0.1886, allocations: 4 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.189, allocations: 43.95 kB / 1.468 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.1891, allocations: 7.984 kB / 1.468 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.168e-05/0.1891, allocations: 7.984 kB / 1.468 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001034/0.1892, allocations: 106 kB / 1.468 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.53e-07/0.1892, allocations: 4 kB / 1.468 GB, free: 14.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003696/0.1896, allocations: 27.91 kB / 1.468 GB, free: 14.61 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.0001657/0.1898, allocations: 99.77 kB / 1.468 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0008762/0.1907, allocations: 199.8 kB / 1.468 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.785e-06/0.1907, allocations: 4 kB / 1.468 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004039/0.1911, allocations: 96.03 kB / 1.469 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.1915, allocations: 8 kB / 1.469 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008147/0.1923, allocations: 297.6 kB / 1.469 GB, free: 13.88 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000385/0.1927, allocations: 0.7082 MB / 1.47 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001424/0.1929, allocations: 19.92 kB / 1.47 GB, free: 13.12 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.435e-05/0.193, allocations: 15.42 kB / 1.47 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of SimCode: time 1.5e-06/0.193, allocations: 4 kB / 1.47 GB, free: 13.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.004647/0.1977, allocations: 1.303 MB / 1.471 GB, free: 11.81 MB / 0.6198 GB