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.InternalResistancesTwoUTubeNegative.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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.813/2.813, allocations: 287.9 MB / 302.9 MB, free: 8.355 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.001433/0.001432, allocations: 177.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.006/2.006, 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.001072/0.001072, allocations: 104 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004722/0.0004724, allocations: 11.94 kB / 0.8663 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 115.3 MB / 0.9788 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001378/0.1615, allocations: 1.13 MB / 0.9799 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004095/0.1656, allocations: 2.676 MB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.1657, allocations: 0 / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.088e-05/0.1657, allocations: 7.938 kB / 0.9825 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.63e-05/0.1658, allocations: 19.95 kB / 0.9826 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00441/0.1702, allocations: 1.298 MB / 0.9838 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.373e-05/0.1704, allocations: 31.89 kB / 0.9839 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.876e-05/0.1704, allocations: 12.25 kB / 0.9839 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.837e-05/0.1705, allocations: 19.94 kB / 0.9839 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.047e-05/0.1705, allocations: 11.94 kB / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.088e-05/0.1705, allocations: 0 / 0.9839 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002304/0.1728, allocations: 1.209 MB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.541e-05/0.1729, allocations: 3.984 kB / 0.9851 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.1729, allocations: 33.64 kB / 0.9851 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001466/0.1744, allocations: 0.733 MB / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.724e-06/0.1745, allocations: 0 / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.405e-06/0.1745, allocations: 0 / 0.9858 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.1745, allocations: 8 kB / 0.9858 GB, free: 20.93 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.0005139/0.175, allocations: 0.5105 MB / 0.9863 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1751, allocations: 12.03 kB / 0.9863 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.511e-05/0.1751, allocations: 83.14 kB / 0.9864 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.1752, allocations: 238.4 kB / 0.9867 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.087e-05/0.1753, allocations: 158.6 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.029e-05/0.1753, allocations: 154.6 kB / 0.9869 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.379e-05/0.1754, allocations: 105 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.492e-05/0.1754, allocations: 83.16 kB / 0.9871 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.584e-05/0.1754, allocations: 154.6 kB / 0.9873 GB, free: 19.35 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.273e-05/0.1755, allocations: 150.6 kB / 0.9874 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.584e-05/0.1755, allocations: 154.5 kB / 0.9876 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002206/0.1757, allocations: 469.8 kB / 0.988 GB, free: 18.54 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.812e-05/0.1758, allocations: 169.1 kB / 0.9882 GB, free: 18.37 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.1758, allocations: 79.22 kB / 0.9883 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.1758, allocations: 105.8 kB / 0.9884 GB, free: 18.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 1.846e-06/0.1759, allocations: 4 kB / 0.9884 GB, free: 18.17 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 7.66e-05/0.1759, allocations: 29.7 kB / 0.9884 GB, free: 18.14 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/0.176, allocations: 130.7 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.1761, allocations: 135.4 kB / 0.9886 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.952e-06/0.1761, allocations: 25.7 kB / 0.9887 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.824e-05/0.1762, allocations: 96.12 kB / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.135e-06/0.1762, allocations: 0 / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.538e-06/0.1762, allocations: 0 / 0.9888 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.1763, allocations: 326.8 kB / 0.9891 GB, free: 17.4 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.731e-05/0.1763, allocations: 4 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.28e-05/0.1763, allocations: 7.938 kB / 0.9891 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.209e-05/0.1764, allocations: 11.94 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.238e-06/0.1764, allocations: 0 / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001384/0.1765, allocations: 49.61 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.1766, allocations: 5.406 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.187e-05/0.1766, allocations: 4 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.1766, allocations: 3.984 kB / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.771e-06/0.1766, allocations: 64 / 0.9891 GB, free: 17.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.735e-06/0.1766, allocations: 4 kB / 0.9892 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.366e-05/0.1767, allocations: 4 kB / 0.9892 GB, free: 17.3 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.556e-06/0.1767, allocations: 0 / 0.9892 GB, free: 17.3 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.583e-05/0.1768, allocations: 185.1 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.366e-05/0.1768, allocations: 120.8 kB / 0.9894 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.113e-05/0.1769, allocations: 108.9 kB / 0.9896 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-05/0.1769, allocations: 184.2 kB / 0.9897 GB, free: 16.69 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.832e-05/0.177, allocations: 180.2 kB / 0.9899 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.445e-05/0.177, allocations: 176.3 kB / 0.9901 GB, free: 16.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001634/0.1772, allocations: 421.1 kB / 0.9905 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.82e-05/0.1772, allocations: 105 kB / 0.9906 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.875e-05/0.1772, allocations: 108.9 kB / 0.9907 GB, free: 15.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.944e-05/0.1773, allocations: 184.3 kB / 0.9908 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.859e-05/0.1773, allocations: 176.3 kB / 0.991 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.968e-05/0.1773, allocations: 184.2 kB / 0.9912 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.801e-05/0.1774, allocations: 180.3 kB / 0.9914 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.805e-05/0.1775, allocations: 319.9 kB / 0.9917 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.992e-05/0.1775, allocations: 186 kB / 0.9918 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.1776, allocations: 188.2 kB / 0.992 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.1777, allocations: 105 kB / 0.9921 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.1777, allocations: 180.2 kB / 0.9923 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1777, allocations: 101 kB / 0.9924 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.862e-05/0.1778, allocations: 108.8 kB / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.31e-07/0.1778, allocations: 0 / 0.9925 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008155/0.1786, allocations: 279.8 kB / 0.9928 GB, free: 13.38 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.001139/0.1798, allocations: 0.5175 MB / 0.9933 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001176/0.1799, allocations: 37.7 kB / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.878e-06/0.1799, allocations: 0 / 0.9933 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.817e-06/0.18, allocations: 16 kB / 0.9933 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.1803, allocations: 0.5224 MB / 0.9938 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002686/0.1805, allocations: 261.5 kB / 0.9941 GB, free: 12 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.1807, allocations: 0.6887 MB / 0.9948 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.447e-05/0.1807, allocations: 3.938 kB / 0.9948 GB, free: 11.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.1807, allocations: 7.438 kB / 0.9948 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of SimCode: time 1.291e-06/0.1807, allocations: 0 / 0.9948 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.01137/0.1921, allocations: 5.702 MB / 1 GB, free: 5.613 MB / 0.6198 GB