Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin.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.SmoothMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothMin") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.66/2.66, allocations: 287.9 MB / 302.9 MB, free: 8.277 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.001436/0.001436, allocations: 180.8 kB / 371.4 MB, free: 10.7 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.083/2.083, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.00194/0.00194, allocations: 90.44 kB / 0.7434 GB, free: 6.414 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004704, allocations: 12.38 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1601, allocations: 115.3 MB / 0.9788 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothMin): time 0.001466/0.1616, allocations: 1.172 MB / 0.9799 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003066/0.162, allocations: 140.5 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.035e-05/0.162, allocations: 4 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.035e-05/0.1621, allocations: 0 / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.293e-05/0.1621, allocations: 8 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1623, allocations: 27.91 kB / 0.9801 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.958e-05/0.1624, allocations: 19.97 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000104/0.1625, allocations: 19.98 kB / 0.9801 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.406e-05/0.1625, allocations: 11.94 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.631e-05/0.1626, allocations: 11.92 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.1626, allocations: 0 / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.1627, allocations: 35.91 kB / 0.9802 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.326e-05/0.1628, allocations: 0 / 0.9802 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.908e-05/0.1628, allocations: 37.64 kB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.163, allocations: 47.91 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.55e-06/0.163, allocations: 0 / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.609e-06/0.163, allocations: 0 / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.163, allocations: 0 / 0.9802 GB, free: 26.68 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005443/0.1636, allocations: 359.5 kB / 0.9806 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/0.1637, allocations: 12.02 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002169/0.1658, allocations: 243.5 kB / 0.9808 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001476/0.166, allocations: 171 kB / 0.981 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.428e-05/0.1661, allocations: 8 kB / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.1661, allocations: 0 / 0.981 GB, free: 25.81 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.1674, allocations: 217.4 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.1674, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.714e-05/0.1674, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.639e-06/0.1675, allocations: 0 / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/0.1691, allocations: 327.6 kB / 0.9815 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.1706, allocations: 445.4 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002184/0.1728, allocations: 338.1 kB / 0.9823 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.772e-05/0.1729, allocations: 7.984 kB / 0.9823 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.173, allocations: 38.62 kB / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 4.645e-06/0.173, allocations: 0 / 0.9823 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.002365/0.1754, allocations: 365.3 kB / 0.9827 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1754, allocations: 55.41 kB / 0.9827 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.1756, allocations: 122 kB / 0.9828 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.1756, allocations: 29.7 kB / 0.9829 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.063e-05/0.1757, allocations: 88.14 kB / 0.9829 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.1758, allocations: 7.844 kB / 0.9829 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.1758, allocations: 4 kB / 0.983 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.768e-05/0.1759, allocations: 318.8 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007106/0.1766, allocations: 111.9 kB / 0.9834 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000735/0.1774, allocations: 116.2 kB / 0.9835 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007134/0.1781, allocations: 103.9 kB / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.663e-06/0.1782, allocations: 0 / 0.9836 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.001716/0.1799, allocations: 253.4 kB / 0.9838 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.18, allocations: 7.938 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.344e-06/0.18, allocations: 3.938 kB / 0.9838 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.18, allocations: 3.953 kB / 0.9838 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005183/0.1806, allocations: 47.88 kB / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.161e-06/0.1806, allocations: 0 / 0.9839 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/0.1811, allocations: 43.95 kB / 0.9839 GB, free: 22.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/0.1811, allocations: 0 / 0.9839 GB, free: 22.69 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 (3): * Single equations (assignments): 3 * 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.0001283/0.1813, allocations: 113.8 kB / 0.984 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.1814, allocations: 7.906 kB / 0.984 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.1815, allocations: 15.91 kB / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.305e-06/0.1815, allocations: 0 / 0.984 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-06/0.1815, allocations: 3.953 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.704e-06/0.1815, allocations: 0 / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.182, allocations: 205.6 kB / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.26e-06/0.182, allocations: 0 / 0.9842 GB, free: 22.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004938/0.1825, allocations: 47.94 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.235e-06/0.1825, allocations: 0 / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.817e-05/0.1826, allocations: 4 kB / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.336e-06/0.1826, allocations: 0 / 0.9843 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.223e-06/0.1826, allocations: 3.953 kB / 0.9843 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001784/0.1844, allocations: 355.2 kB / 0.9846 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.408e-05/0.1845, allocations: 81.02 kB / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.506e-05/0.1846, allocations: 0 / 0.9847 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005454/0.1851, allocations: 39.95 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.1852, allocations: 7.953 kB / 0.9848 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.709e-05/0.1853, allocations: 7.984 kB / 0.9848 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.662e-05/0.1854, allocations: 91.27 kB / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.128e-06/0.1854, allocations: 0 / 0.9849 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006137/0.186, allocations: 12 kB / 0.9849 GB, free: 21.62 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 (3): * Single equations (assignments): 3 * 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.0001464/0.1862, allocations: 95.25 kB / 0.985 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001742/0.188, allocations: 236.1 kB / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.787e-06/0.188, allocations: 0 / 0.9852 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0008633/0.1889, allocations: 123.8 kB / 0.9853 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.1893, allocations: 12.22 kB / 0.9853 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.1911, allocations: 296.4 kB / 0.9856 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001707/0.1913, allocations: 0.6928 MB / 0.9863 GB, free: 20.12 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002174/0.1916, allocations: 19.98 kB / 0.9863 GB, free: 20.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.1917, allocations: 15.42 kB / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.218e-06/0.1917, allocations: 0 / 0.9863 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.005135/0.1969, allocations: 0.8056 MB / 0.9871 GB, free: 19.28 MB / 0.6198 GB