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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.487/2.487, allocations: 287.9 MB / 302.9 MB, free: 8.305 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.001417/0.001417, allocations: 173.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 1.961/1.961, 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.001096/0.001096, allocations: 106.7 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004747/0.000475, allocations: 20.25 kB / 0.8663 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1599, allocations: 115.2 MB / 0.9788 GB, free: 28.13 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001287/0.1612, allocations: 1.124 MB / 0.9799 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.003887/0.1651, allocations: 2.642 MB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.899e-05/0.1652, allocations: 0 / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.359e-05/0.1653, allocations: 3.984 kB / 0.9825 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.191e-05/0.1653, allocations: 19.91 kB / 0.9825 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004073/0.1694, allocations: 1.29 MB / 0.9838 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.257e-05/0.1695, allocations: 27.95 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.99e-05/0.1696, allocations: 4 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.692e-05/0.1696, allocations: 15.92 kB / 0.9838 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.79e-05/0.1696, allocations: 11.94 kB / 0.9838 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.143e-05/0.1697, allocations: 8 kB / 0.9838 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002216/0.1719, allocations: 1.174 MB / 0.985 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.1719, allocations: 3.938 kB / 0.985 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.762e-05/0.172, allocations: 33.7 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001328/0.1733, allocations: 0.7138 MB / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.61e-06/0.1733, allocations: 0 / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.254e-06/0.1734, allocations: 0 / 0.9857 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.085e-06/0.1734, allocations: 0 / 0.9857 GB, free: 21.04 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.0004886/0.1739, allocations: 0.5028 MB / 0.9862 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.1739, allocations: 16.03 kB / 0.9862 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.646e-05/0.174, allocations: 83.14 kB / 0.9863 GB, free: 20.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.693e-05/0.1741, allocations: 247.8 kB / 0.9865 GB, free: 20.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.899e-05/0.1741, allocations: 154.5 kB / 0.9867 GB, free: 19.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.1742, allocations: 158.6 kB / 0.9868 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.275e-05/0.1742, allocations: 105 kB / 0.9869 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.877e-05/0.1743, allocations: 79.28 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.1743, allocations: 150.6 kB / 0.9871 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.191e-05/0.1744, allocations: 150.6 kB / 0.9873 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.227e-05/0.1744, allocations: 150.6 kB / 0.9874 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000368/0.1748, allocations: 473.7 kB / 0.9879 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.108e-05/0.1749, allocations: 169.1 kB / 0.9881 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.646e-05/0.1749, allocations: 79.28 kB / 0.9881 GB, free: 18.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.175, allocations: 105.8 kB / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=0): time 2.829e-06/0.175, allocations: 0 / 0.9882 GB, free: 18.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=0): time 0.0001185/0.1751, allocations: 41.62 kB / 0.9883 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.27e-05/0.1752, allocations: 130.7 kB / 0.9884 GB, free: 18.1 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.1754, allocations: 131.3 kB / 0.9885 GB, free: 17.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.1754, allocations: 29.64 kB / 0.9885 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.1755, allocations: 88.14 kB / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-06/0.1755, allocations: 0 / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.438e-06/0.1755, allocations: 0 / 0.9886 GB, free: 17.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.1756, allocations: 322.8 kB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.85e-05/0.1756, allocations: 8 kB / 0.9889 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.987e-05/0.1756, allocations: 4 kB / 0.9889 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.086e-05/0.1757, allocations: 4 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.298e-06/0.1757, allocations: 4 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.1758, allocations: 45.69 kB / 0.989 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1759, allocations: 4 kB / 0.989 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.1759, allocations: 4 kB / 0.989 GB, free: 17.44 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.1759, allocations: 3.938 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.568e-06/0.1759, allocations: 0 / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.634e-06/0.1759, allocations: 0 / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.376e-05/0.176, allocations: 7.844 kB / 0.989 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.476e-06/0.176, allocations: 4.062 kB / 0.989 GB, free: 17.42 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.568e-05/0.1761, allocations: 189.1 kB / 0.9892 GB, free: 17.23 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.1761, allocations: 109 kB / 0.9893 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.098e-05/0.1762, allocations: 112.8 kB / 0.9894 GB, free: 17 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.797e-05/0.1762, allocations: 180.3 kB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.711e-05/0.1762, allocations: 176.3 kB / 0.9898 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.82e-05/0.1763, allocations: 184.2 kB / 0.9899 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.1765, allocations: 421.2 kB / 0.9903 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.706e-05/0.1765, allocations: 104.9 kB / 0.9904 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.584e-05/0.1765, allocations: 101 kB / 0.9905 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.947e-05/0.1765, allocations: 180.4 kB / 0.9907 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.207e-05/0.1766, allocations: 192.2 kB / 0.9909 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.737e-05/0.1766, allocations: 180.2 kB / 0.9911 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-05/0.1767, allocations: 184.2 kB / 0.9912 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.359e-05/0.1767, allocations: 303.9 kB / 0.9915 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.986e-05/0.1768, allocations: 197.9 kB / 0.9917 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.1768, allocations: 184.3 kB / 0.9919 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.1769, allocations: 108.9 kB / 0.992 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.997e-05/0.177, allocations: 176.3 kB / 0.9922 GB, free: 14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.177, allocations: 101 kB / 0.9923 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.976e-05/0.1771, allocations: 96.67 kB / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.626e-06/0.1771, allocations: 0 / 0.9923 GB, free: 13.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0007982/0.1779, allocations: 283.7 kB / 0.9926 GB, free: 13.52 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.179, allocations: 0.5232 MB / 0.9931 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001129/0.1791, allocations: 37.7 kB / 0.9932 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1791, allocations: 0 / 0.9932 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 3.882e-06/0.1792, allocations: 0 / 0.9932 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.1794, allocations: 0.5341 MB / 0.9937 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.1797, allocations: 253.4 kB / 0.9939 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.1798, allocations: 0.6926 MB / 0.9946 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.372e-05/0.1799, allocations: 0 / 0.9946 GB, free: 11.42 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.717e-06/0.1799, allocations: 7.438 kB / 0.9946 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of SimCode: time 2.26e-06/0.1799, allocations: 0 / 0.9946 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.01084/0.1908, allocations: 5.515 MB / 1 GB, free: 5.941 MB / 0.6198 GB