Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.616/2.616, allocations: 287.9 MB / 302.9 MB, free: 8.301 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.001405/0.001405, allocations: 190.7 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.104/2.104, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001026/0.001026, allocations: 88.23 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004714/0.0004717, allocations: 13.25 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1699, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000608/0.1706, allocations: 357.8 kB / 0.9791 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0005819/0.1712, allocations: 320.9 kB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/0.1712, allocations: 0 / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.103e-05/0.1713, allocations: 3.938 kB / 0.9794 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.931e-05/0.1713, allocations: 0 / 0.9794 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.1717, allocations: 71.78 kB / 0.9795 GB, free: 27.42 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.973e-05/0.1717, allocations: 19.97 kB / 0.9795 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.312e-05/0.1718, allocations: 4 kB / 0.9795 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.995e-05/0.1718, allocations: 11.94 kB / 0.9795 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.682e-05/0.1719, allocations: 11.92 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.1719, allocations: 0 / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003531/0.1723, allocations: 255.7 kB / 0.9798 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.434e-05/0.1723, allocations: 15.97 kB / 0.9798 GB, free: 27.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.743e-05/0.1723, allocations: 25.7 kB / 0.9798 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001187/0.1724, allocations: 63.89 kB / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.772e-06/0.1725, allocations: 0 / 0.9799 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.905e-06/0.1725, allocations: 3.938 kB / 0.9799 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.695e-06/0.1725, allocations: 4 kB / 0.9799 GB, free: 27.01 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003097/0.1728, allocations: 355.5 kB / 0.9802 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.1728, allocations: 16 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.047e-05/0.1729, allocations: 8 kB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.825e-05/0.173, allocations: 167 kB / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.173, allocations: 0 / 0.9804 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.174e-05/0.1731, allocations: 4 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.1732, allocations: 49.69 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.1732, allocations: 4 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1732, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.513e-06/0.1732, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.464e-05/0.1733, allocations: 19.98 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001416/0.1735, allocations: 177.5 kB / 0.9806 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.1736, allocations: 58.5 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/0.1742, allocations: 461.5 kB / 0.9811 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.1742, allocations: 34.55 kB / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.072e-06/0.1742, allocations: 0 / 0.9812 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001369/0.1756, allocations: 0.5995 MB / 0.9818 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.134e-05/0.1757, allocations: 51.41 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.024e-05/0.1757, allocations: 93.86 kB / 0.9819 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.1757, allocations: 33.7 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.122e-05/0.1758, allocations: 85.14 kB / 0.982 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.53e-05/0.1758, allocations: 35.45 kB / 0.982 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.439e-06/0.1758, allocations: 4 kB / 0.9821 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.149e-05/0.1759, allocations: 318.8 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.803e-05/0.176, allocations: 20 kB / 0.9824 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.887e-05/0.176, allocations: 19.98 kB / 0.9824 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.125e-05/0.1761, allocations: 33.56 kB / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.565e-06/0.1761, allocations: 0 / 0.9824 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001907/0.1763, allocations: 93.59 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.1763, allocations: 4 kB / 0.9825 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.037e-06/0.1763, allocations: 7.984 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.1764, allocations: 4 kB / 0.9825 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1765, allocations: 24 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.188e-06/0.1765, allocations: 0 / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.157e-05/0.1766, allocations: 4 kB / 0.9826 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.1766, allocations: 0 / 0.9826 GB, free: 23.88 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 (13): * Single equations (assignments): 13 * 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.548e-05/0.1766, allocations: 125.7 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1767, allocations: 4 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.1769, allocations: 109.5 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.738e-06/0.1769, allocations: 0 / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.517e-06/0.1769, allocations: 4 kB / 0.9828 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.475e-06/0.177, allocations: 4.078 kB / 0.9828 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003732/0.1773, allocations: 354.4 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.641e-06/0.1774, allocations: 3.984 kB / 0.9831 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00014/0.1775, allocations: 24 kB / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.861e-06/0.1775, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.1775, allocations: 0 / 0.9832 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.777e-06/0.1776, allocations: 4 kB / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.638e-06/0.1776, allocations: 0 / 0.9832 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002742/0.1778, allocations: 227.2 kB / 0.9834 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.257e-05/0.1779, allocations: 85.12 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1779, allocations: 4 kB / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1781, allocations: 0 / 0.9835 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.574e-05/0.1781, allocations: 7.984 kB / 0.9835 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.1781, allocations: 8 kB / 0.9835 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.547e-05/0.1781, allocations: 83.34 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.67e-07/0.1782, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003621/0.1785, allocations: 43.98 kB / 0.9836 GB, free: 22.71 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0002249/0.1788, allocations: 131.2 kB / 0.9837 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001579/0.1789, allocations: 62.3 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.77e-06/0.179, allocations: 4 kB / 0.9838 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.963e-05/0.179, allocations: 31.92 kB / 0.9838 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.1792, allocations: 11.95 kB / 0.9838 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003387/0.1796, allocations: 195 kB / 0.984 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000119/0.1797, allocations: 0.6887 MB / 0.9847 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.221e-05/0.1798, allocations: 11.98 kB / 0.9847 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.778e-05/0.1798, allocations: 15.44 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.318e-06/0.1798, allocations: 3.938 kB / 0.9847 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.004208/0.184, allocations: 1.349 MB / 0.986 GB, free: 20.16 MB / 0.6198 GB