Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.443/2.443, allocations: 287.9 MB / 302.9 MB, free: 8.207 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.00141/0.00141, allocations: 169.2 kB / 371.4 MB, free: 10.69 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.038/2.038, allocations: 205.4 MB / 0.6301 GB, free: 10.41 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.001066/0.001066, allocations: 92.09 kB / 0.7434 GB, free: 6.438 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004823/0.0004826, allocations: 11.94 kB / 0.8662 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1545, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001303/0.1559, allocations: 1.126 MB / 0.9799 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003964/0.1598, allocations: 2.685 MB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.927e-05/0.1599, allocations: 0 / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.622e-05/0.1599, allocations: 3.938 kB / 0.9825 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.71e-05/0.16, allocations: 19.95 kB / 0.9826 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003831/0.1639, allocations: 1.297 MB / 0.9838 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.865e-05/0.164, allocations: 39.88 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.705e-05/0.164, allocations: 12.27 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.467e-05/0.164, allocations: 11.94 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.729e-05/0.1641, allocations: 11.94 kB / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1641, allocations: 0 / 0.9839 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.1662, allocations: 1.209 MB / 0.9851 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1662, allocations: 7.984 kB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.1663, allocations: 33.64 kB / 0.9851 GB, free: 21.69 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001085/0.1674, allocations: 0.7369 MB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.838e-06/0.1674, allocations: 4 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.872e-06/0.1674, allocations: 0 / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.667e-06/0.1674, allocations: 0 / 0.9858 GB, free: 20.95 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004721/0.1679, allocations: 0.5145 MB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.1679, allocations: 8.031 kB / 0.9863 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.168, allocations: 83.14 kB / 0.9864 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.438e-05/0.1681, allocations: 250.3 kB / 0.9867 GB, free: 20.01 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.813e-05/0.1681, allocations: 154.6 kB / 0.9868 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.008e-05/0.1682, allocations: 154.6 kB / 0.987 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.104e-05/0.1682, allocations: 104.9 kB / 0.9871 GB, free: 19.6 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1683, allocations: 75.28 kB / 0.9871 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.445e-05/0.1683, allocations: 150.6 kB / 0.9873 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.413e-05/0.1683, allocations: 154.6 kB / 0.9874 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.1684, allocations: 154.5 kB / 0.9876 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002146/0.1686, allocations: 465.8 kB / 0.988 GB, free: 18.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.522e-05/0.1687, allocations: 173.1 kB / 0.9882 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.1687, allocations: 79.28 kB / 0.9883 GB, free: 18.31 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.525e-05/0.1687, allocations: 109.8 kB / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.678e-06/0.1687, allocations: 0 / 0.9884 GB, free: 18.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.03e-05/0.1688, allocations: 29.7 kB / 0.9884 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.1688, allocations: 126.7 kB / 0.9885 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.169, allocations: 139.1 kB / 0.9886 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-06/0.169, allocations: 29.7 kB / 0.9887 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.546e-05/0.169, allocations: 92.14 kB / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.398e-06/0.169, allocations: 0 / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.118e-06/0.1691, allocations: 0 / 0.9888 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.239e-05/0.1691, allocations: 326.8 kB / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.1692, allocations: 0 / 0.9891 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.169e-05/0.1692, allocations: 15.94 kB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.091e-05/0.1692, allocations: 4 kB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.078e-06/0.1692, allocations: 0 / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001311/0.1694, allocations: 49.67 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.1694, allocations: 8 kB / 0.9891 GB, free: 17.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/0.1694, allocations: 11.92 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1695, allocations: 0 / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.739e-06/0.1695, allocations: 0 / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.188e-06/0.1695, allocations: 0 / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.931e-05/0.1695, allocations: 4 kB / 0.9892 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1695, allocations: 0 / 0.9892 GB, free: 17.32 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.273e-05/0.1696, allocations: 189.1 kB / 0.9893 GB, free: 17.12 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.099e-05/0.1697, allocations: 116.8 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.897e-05/0.1697, allocations: 116.8 kB / 0.9896 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.668e-05/0.1697, allocations: 180.2 kB / 0.9897 GB, free: 16.7 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.85e-05/0.1698, allocations: 176.3 kB / 0.9899 GB, free: 16.52 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.612e-05/0.1698, allocations: 180.3 kB / 0.9901 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.17, allocations: 425.1 kB / 0.9905 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.17, allocations: 101 kB / 0.9906 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.988e-05/0.17, allocations: 108.9 kB / 0.9907 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.913e-05/0.1701, allocations: 180.3 kB / 0.9908 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.034e-05/0.1701, allocations: 180.3 kB / 0.991 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.767e-05/0.1702, allocations: 180.2 kB / 0.9912 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-05/0.1702, allocations: 188.2 kB / 0.9914 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.383e-05/0.1703, allocations: 308 kB / 0.9917 GB, free: 14.58 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.749e-05/0.1703, allocations: 186 kB / 0.9918 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.207e-05/0.1704, allocations: 188.2 kB / 0.992 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.629e-05/0.1705, allocations: 101 kB / 0.9921 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.1705, allocations: 184.2 kB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.1705, allocations: 105 kB / 0.9924 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.044e-05/0.1706, allocations: 100.8 kB / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.51e-07/0.1706, allocations: 0 / 0.9925 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007886/0.1714, allocations: 279.8 kB / 0.9928 GB, free: 13.41 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 (0): * Single equations (assignments): 0 * 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.001091/0.1725, allocations: 0.5292 MB / 0.9933 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.538e-05/0.1726, allocations: 37.7 kB / 0.9933 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.701e-06/0.1726, allocations: 0 / 0.9933 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.146e-06/0.1726, allocations: 7.938 kB / 0.9933 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1729, allocations: 0.5284 MB / 0.9938 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002531/0.1732, allocations: 255.9 kB / 0.9941 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.1733, allocations: 0.6926 MB / 0.9948 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.543e-05/0.1734, allocations: 4 kB / 0.9948 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.998e-06/0.1734, allocations: 7.438 kB / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of SimCode: time 1.26e-06/0.1734, allocations: 0 / 0.9948 GB, free: 11.29 MB / 0.6198 GB Notification: Performance of Templates: time 0.01106/0.1845, allocations: 5.702 MB / 1 GB, free: 5.633 MB / 0.6198 GB