Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.545/2.545, allocations: 287.9 MB / 302.9 MB, free: 8.289 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.001485/0.001485, allocations: 181.2 kB / 371.4 MB, free: 10.68 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.101/2.101, allocations: 205.4 MB / 0.6301 GB, free: 10.43 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.001163/0.001163, allocations: 97.66 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009965/0.0009968, allocations: 17.25 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1646, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.0005729/0.1652, allocations: 325.8 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.1664, allocations: 1.108 MB / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.924e-05/0.1665, allocations: 0 / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.909e-06/0.1665, allocations: 0 / 0.9802 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1667, allocations: 19.86 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 2.929e-06/0.1667, allocations: 4 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.813e-05/0.1667, allocations: 7.984 kB / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.698e-05/0.1668, allocations: 0 / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.152e-05/0.1668, allocations: 0 / 0.9802 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.055e-05/0.1668, allocations: 3.984 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-06/0.1668, allocations: 4 kB / 0.9802 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.392e-05/0.1669, allocations: 15.98 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.162e-06/0.167, allocations: 7.922 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.314e-05/0.167, allocations: 25.7 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 4.588e-05/0.167, allocations: 4 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.827e-06/0.167, allocations: 4 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.839e-06/0.1671, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.1671, allocations: 0 / 0.9803 GB, free: 26.62 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.0001677/0.1672, allocations: 319.4 kB / 0.9806 GB, free: 26.26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1673, allocations: 8.031 kB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.606e-05/0.1673, allocations: 0 / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.068e-05/0.1674, allocations: 163 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.1674, allocations: 0 / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.788e-05/0.1674, allocations: 4 kB / 0.9807 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.937e-05/0.1675, allocations: 37.69 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1675, allocations: 7.938 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-06/0.1676, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.168e-06/0.1676, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.466e-05/0.1676, allocations: 15.86 kB / 0.9808 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001078/0.1677, allocations: 157.8 kB / 0.9809 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.1679, allocations: 34.61 kB / 0.981 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001199/0.168, allocations: 81.11 kB / 0.981 GB, free: 25.64 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.532e-05/0.1681, allocations: 38.64 kB / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.1681, allocations: 0 / 0.9811 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5): time 0.004075/0.1722, allocations: 0.5676 MB / 0.9816 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1722, allocations: 51.41 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.952e-05/0.1723, allocations: 89.86 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.1723, allocations: 25.7 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.507e-05/0.1723, allocations: 84.08 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.014e-05/0.1724, allocations: 15.81 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.27e-05/0.1724, allocations: 4 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.754e-05/0.1724, allocations: 314.8 kB / 0.9822 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005972/0.173, allocations: 83.95 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005972/0.1737, allocations: 102.5 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005994/0.1743, allocations: 87.95 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.871e-06/0.1743, allocations: 0 / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001276/0.1756, allocations: 205.6 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1756, allocations: 12.06 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.18e-06/0.1756, allocations: 4.172 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1756, allocations: 0 / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004169/0.1761, allocations: 55.97 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.878e-06/0.1761, allocations: 0 / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003464/0.1764, allocations: 43.98 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.919e-05/0.1765, allocations: 0 / 0.9828 GB, free: 23.8 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 (5): * Single equations (assignments): 5 * 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 6.953e-05/0.1766, allocations: 117.7 kB / 0.9829 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.1766, allocations: 7.891 kB / 0.9829 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.178, allocations: 233.1 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.493e-06/0.178, allocations: 4.422 kB / 0.9831 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.403e-06/0.178, allocations: 4 kB / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.951e-06/0.1781, allocations: 0 / 0.9831 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.1795, allocations: 458.4 kB / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1795, allocations: 0 / 0.9836 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.1799, allocations: 47.97 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.18, allocations: 3.984 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.18, allocations: 3.938 kB / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.343e-06/0.18, allocations: 0 / 0.9836 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.18, allocations: 4 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001285/0.1813, allocations: 311.3 kB / 0.9839 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.1813, allocations: 77.11 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.1814, allocations: 8 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003895/0.1818, allocations: 39.97 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.368e-05/0.1818, allocations: 4 kB / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.1818, allocations: 192 / 0.984 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.669e-05/0.1819, allocations: 75.28 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.72e-07/0.1819, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003342/0.1822, allocations: 16 kB / 0.9841 GB, free: 22.32 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 (5): * Single equations (assignments): 5 * 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.0001434/0.1824, allocations: 111.2 kB / 0.9842 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001273/0.1837, allocations: 179.9 kB / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.268e-06/0.1837, allocations: 0 / 0.9844 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006039/0.1843, allocations: 88.08 kB / 0.9845 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001552/0.1845, allocations: 7.938 kB / 0.9845 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.1856, allocations: 218.7 kB / 0.9847 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.1857, allocations: 0.677 MB / 0.9854 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003036/0.186, allocations: 24.25 kB / 0.9854 GB, free: 20.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.008e-05/0.1861, allocations: 11.44 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of SimCode: time 1.552e-06/0.1861, allocations: 7.938 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Templates: time 0.003095/0.1892, allocations: 0.7873 MB / 0.9862 GB, free: 20.16 MB / 0.6198 GB