Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite.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.CubicHermite,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.CubicHermite") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.565/2.565, allocations: 287.9 MB / 302.9 MB, free: 8.199 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.00149/0.00149, allocations: 183 kB / 371.4 MB, free: 10.66 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.065/2.065, allocations: 205.4 MB / 0.6301 GB, free: 10.33 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.001016/0.001016, allocations: 84.8 kB / 0.7434 GB, free: 6.352 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005235/0.0005239, allocations: 13.75 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1659/0.1664, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.CubicHermite): time 0.0006162/0.1671, allocations: 349.8 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1687, allocations: 1.373 MB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.314e-05/0.1688, allocations: 0 / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.187e-05/0.1689, allocations: 3.938 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.213e-05/0.1689, allocations: 0 / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005998/0.1695, allocations: 135.2 kB / 0.9806 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.203e-05/0.1696, allocations: 23.97 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.457e-05/0.1697, allocations: 4 kB / 0.9806 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.387e-05/0.1697, allocations: 19.92 kB / 0.9806 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.552e-05/0.1698, allocations: 27.95 kB / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1698, allocations: 0 / 0.9806 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002752/0.1701, allocations: 167.8 kB / 0.9808 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.841e-05/0.1701, allocations: 19.92 kB / 0.9808 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.178e-05/0.1702, allocations: 29.64 kB / 0.9808 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000181/0.1704, allocations: 124 kB / 0.981 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.718e-06/0.1704, allocations: 7.938 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.012e-06/0.1704, allocations: 4 kB / 0.981 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.68e-06/0.1704, allocations: 0 / 0.981 GB, free: 25.89 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0002987/0.1707, allocations: 426.6 kB / 0.9814 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.1708, allocations: 12.02 kB / 0.9814 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.1708, allocations: 7.906 kB / 0.9814 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.432e-05/0.1709, allocations: 172.2 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.1709, allocations: 0 / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.515e-05/0.171, allocations: 4 kB / 0.9816 GB, free: 25.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1712, allocations: 97.58 kB / 0.9817 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-06/0.1712, allocations: 4 kB / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.085e-05/0.1712, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1712, allocations: 0 / 0.9817 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.689e-05/0.1713, allocations: 63.95 kB / 0.9817 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.1715, allocations: 181.5 kB / 0.9819 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.1716, allocations: 82.53 kB / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.286e-06/0.1716, allocations: 0 / 0.982 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.1716, allocations: 38.5 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.868e-06/0.1716, allocations: 0 / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004285/0.1721, allocations: 332.3 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.1721, allocations: 81.11 kB / 0.9824 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.1722, allocations: 143.5 kB / 0.9825 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.1723, allocations: 33.7 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.575e-05/0.1723, allocations: 88.14 kB / 0.9827 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.1723, allocations: 7.812 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.544e-06/0.1724, allocations: 3.938 kB / 0.9827 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.188e-05/0.1724, allocations: 330.8 kB / 0.983 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001363/0.1726, allocations: 99.94 kB / 0.9831 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001297/0.1727, allocations: 103.9 kB / 0.9832 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.1729, allocations: 171.3 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-06/0.1729, allocations: 0 / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003743/0.1733, allocations: 316.8 kB / 0.9836 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.043e-05/0.1733, allocations: 75.38 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.677e-06/0.1734, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.203e-05/0.1734, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.645e-06/0.1734, allocations: 0 / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.077e-06/0.1734, allocations: 4.062 kB / 0.9837 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001579/0.1736, allocations: 19.84 kB / 0.9837 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.812e-05/0.1736, allocations: 4 kB / 0.9837 GB, free: 22.75 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: 1 (i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 2 * 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 9.355e-05/0.1737, allocations: 151.5 kB / 0.9839 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.1737, allocations: 7.984 kB / 0.9839 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.7e-05/0.1738, allocations: 8.391 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.969e-06/0.1738, allocations: 7.922 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1738, allocations: 0 / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.954e-06/0.1738, allocations: 8 kB / 0.9839 GB, free: 22.56 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.1739, allocations: 173.5 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.846e-06/0.1739, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-06/0.1739, allocations: 4 kB / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.859e-06/0.174, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.174, allocations: 0 / 0.9841 GB, free: 22.34 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.099e-06/0.174, allocations: 3.938 kB / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.619e-06/0.174, allocations: 0 / 0.9841 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.1743, allocations: 230.7 kB / 0.9843 GB, free: 22.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.258e-05/0.1743, allocations: 92.91 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.1744, allocations: 0 / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.571e-05/0.1744, allocations: 7.984 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.119e-05/0.1745, allocations: 4 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.113e-05/0.1745, allocations: 4 kB / 0.9844 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.298e-05/0.1746, allocations: 108.8 kB / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.04e-07/0.1746, allocations: 0 / 0.9845 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003641/0.175, allocations: 67.98 kB / 0.9846 GB, free: 21.79 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: 1 (i) * Number of discrete states: 1 (i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0002655/0.1753, allocations: 151.2 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003989/0.1757, allocations: 374.6 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.1757, allocations: 0 / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000134/0.1758, allocations: 135.4 kB / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001149/0.176, allocations: 0 / 0.9852 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003297/0.1763, allocations: 215.5 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.1764, allocations: 0.6965 MB / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.135e-06/0.1765, allocations: 0 / 0.9861 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.664e-06/0.1765, allocations: 7.438 kB / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of SimCode: time 1.681e-06/0.1765, allocations: 0 / 0.9861 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of Templates: time 0.004857/0.1814, allocations: 1.872 MB / 0.9879 GB, free: 18.26 MB / 0.6198 GB