Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible.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.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.511/2.511, allocations: 287.9 MB / 302.9 MB, free: 8.336 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.001486/0.001485, allocations: 188.1 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 1.966/1.966, 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.0011/0.0011, allocations: 90.88 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005748/0.0005752, allocations: 15 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.157, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.BaseClasses.Validation.EquationFitReversible): time 0.002129/0.1592, allocations: 1.934 MB / 0.9806 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.1611, allocations: 1.502 MB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001464/0.1613, allocations: 4 kB / 0.9821 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006858/0.162, allocations: 263 kB / 0.9824 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.1622, allocations: 71.78 kB / 0.9824 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.1625, allocations: 91.75 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002473/0.1627, allocations: 211.6 kB / 0.9827 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/0.1628, allocations: 44.66 kB / 0.9828 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.163, allocations: 115.6 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.1633, allocations: 175.4 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.907e-05/0.1633, allocations: 20 kB / 0.9831 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.1635, allocations: 55.95 kB / 0.9831 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1636, allocations: 107.6 kB / 0.9832 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.78e-05/0.1637, allocations: 81.52 kB / 0.9833 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003435/0.164, allocations: 383.3 kB / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.807e-06/0.1641, allocations: 0 / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.032e-06/0.1641, allocations: 0 / 0.9837 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.1641, allocations: 0 / 0.9837 GB, free: 23.14 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.001085/0.1652, allocations: 0.6654 MB / 0.9843 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.1652, allocations: 8.031 kB / 0.9843 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000967/0.1662, allocations: 179.3 kB / 0.9845 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004258/0.1667, allocations: 337.2 kB / 0.9848 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.1668, allocations: 87.61 kB / 0.9849 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.829e-05/0.1668, allocations: 12 kB / 0.9849 GB, free: 21.76 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008516/0.1677, allocations: 323.3 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.986e-06/0.1677, allocations: 0 / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1678, allocations: 4 kB / 0.9852 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.279e-06/0.1678, allocations: 4 kB / 0.9852 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001346/0.1692, allocations: 468.3 kB / 0.9857 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001813/0.171, allocations: 0.8631 MB / 0.9865 GB, free: 20.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008036/0.1718, allocations: 294.3 kB / 0.9868 GB, free: 19.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.86e-05/0.1719, allocations: 7.984 kB / 0.9868 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.1719, allocations: 30.56 kB / 0.9868 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 2.647e-06/0.1719, allocations: 4 kB / 0.9868 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.002166/0.1741, allocations: 0.7092 MB / 0.9875 GB, free: 19 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.417e-05/0.1741, allocations: 63.28 kB / 0.9876 GB, free: 18.93 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004993/0.1746, allocations: 421.6 kB / 0.988 GB, free: 18.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.2e-05/0.1747, allocations: 29.7 kB / 0.988 GB, free: 18.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.1748, allocations: 183.9 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.55e-05/0.1749, allocations: 55.2 kB / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-05/0.1749, allocations: 0 / 0.9882 GB, free: 18.23 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.151e-05/0.175, allocations: 354.8 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006542/0.1757, allocations: 219.8 kB / 0.9888 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000673/0.1764, allocations: 257 kB / 0.989 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.1771, allocations: 195.9 kB / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.745e-06/0.1771, allocations: 0 / 0.9892 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001481/0.1786, allocations: 0.4981 MB / 0.9897 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.1786, allocations: 4 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.557e-06/0.1786, allocations: 3.984 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.1786, allocations: 0 / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.1792, allocations: 79.92 kB / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.948e-06/0.1792, allocations: 0 / 0.9898 GB, free: 16.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.1797, allocations: 47.84 kB / 0.9898 GB, free: 16.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/0.1797, allocations: 8 kB / 0.9899 GB, free: 16.57 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0002092/0.1799, allocations: 177.6 kB / 0.99 GB, free: 16.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.318e-05/0.18, allocations: 35.53 kB / 0.9901 GB, free: 16.35 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.061e-05/0.1801, allocations: 39.59 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-06/0.1801, allocations: 4 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.1802, allocations: 0 / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.294e-06/0.1802, allocations: 3.984 kB / 0.9901 GB, free: 16.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005773/0.1808, allocations: 478.6 kB / 0.9906 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.425e-06/0.1808, allocations: 0 / 0.9906 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000583/0.1814, allocations: 75.92 kB / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.141e-06/0.1814, allocations: 0 / 0.9906 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.764e-05/0.1814, allocations: 4 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.875e-06/0.1815, allocations: 3.984 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.55e-06/0.1815, allocations: 3.984 kB / 0.9906 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1829, allocations: 0.6058 MB / 0.9912 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.221e-05/0.183, allocations: 120.7 kB / 0.9913 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.665e-05/0.1831, allocations: 4 kB / 0.9914 GB, free: 14.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.1836, allocations: 39.95 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.1837, allocations: 27.95 kB / 0.9914 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.1837, allocations: 4 kB / 0.9914 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003711/0.1841, allocations: 307.1 kB / 0.9917 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.27e-07/0.1841, allocations: 4 kB / 0.9917 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000432/0.1846, allocations: 63.91 kB / 0.9918 GB, free: 14.5 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 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0001183/0.1847, allocations: 103.2 kB / 0.9919 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001434/0.1862, allocations: 477.1 kB / 0.9923 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.398e-06/0.1862, allocations: 0 / 0.9923 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0007022/0.1869, allocations: 247.8 kB / 0.9926 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.1873, allocations: 57.42 kB / 0.9926 GB, free: 13.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/0.1888, allocations: 0.7487 MB / 0.9934 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.1891, allocations: 0.795 MB / 0.9941 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003936/0.1895, allocations: 66.25 kB / 0.9942 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001983/0.1897, allocations: 23.42 kB / 0.9942 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of SimCode: time 1.814e-06/0.1897, allocations: 3.938 kB / 0.9942 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.00931/0.199, allocations: 3.859 MB / 0.998 GB, free: 8.133 MB / 0.6198 GB