Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01044/0.01045, allocations: 222.3 kB / 15.17 MB, free: 5.926 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.0011/0.0011, allocations: 176 kB / 16.06 MB, free: 5.832 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.571/3.571, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.873/3.873, allocations: 472.3 MB / 0.9018 GB, free: 130.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004897/0.0004898, allocations: 12 kB / 1.008 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5261/0.5267, allocations: 98.71 MB / 1.104 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001253/0.528, allocations: 1.144 MB / 1.105 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00381/0.5318, allocations: 2.709 MB / 1.108 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.5318, allocations: 0 / 1.108 GB, free: 6.91 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.019e-05/0.5319, allocations: 6.859 kB / 1.108 GB, free: 6.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 5.672e-05/0.5319, allocations: 15.86 kB / 1.108 GB, free: 6.891 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003572/0.5355, allocations: 1.33 MB / 1.109 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 6.302e-05/0.5356, allocations: 40.66 kB / 1.109 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.5357, allocations: 4 kB / 1.109 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 2.588e-05/0.5357, allocations: 16.86 kB / 1.109 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 2.633e-05/0.5357, allocations: 11.94 kB / 1.109 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/0.5358, allocations: 0 / 1.109 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002024/0.5378, allocations: 1.265 MB / 1.11 GB, free: 4.246 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 9.618e-06/0.5378, allocations: 4.719 kB / 1.11 GB, free: 4.242 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.5379, allocations: 37.62 kB / 1.111 GB, free: 4.199 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0009615/0.5388, allocations: 0.7159 MB / 1.111 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.537e-06/0.5388, allocations: 0 / 1.111 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.71e-06/0.5389, allocations: 0 / 1.111 GB, free: 3.484 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.998e-06/0.5389, allocations: 0 / 1.111 GB, free: 3.484 MB / 0.5105 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.0004559/0.5393, allocations: 0.5165 MB / 1.112 GB, free: 2.922 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.5394, allocations: 8.031 kB / 1.112 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.073e-05/0.5394, allocations: 83.28 kB / 1.112 GB, free: 2.832 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.57e-05/0.5395, allocations: 255.3 kB / 1.112 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.5396, allocations: 150.6 kB / 1.112 GB, free: 2.395 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.133e-05/0.5396, allocations: 152.4 kB / 1.112 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.788e-05/0.5397, allocations: 104.9 kB / 1.112 GB, free: 2.137 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/0.5397, allocations: 79.91 kB / 1.113 GB, free: 2.059 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.405e-05/0.5397, allocations: 151.4 kB / 1.113 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.427e-05/0.5397, allocations: 156 kB / 1.113 GB, free: 1.758 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.005e-05/0.5398, allocations: 154.6 kB / 1.113 GB, free: 1.605 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002132/0.54, allocations: 462.6 kB / 1.113 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.5401, allocations: 174.4 kB / 1.114 GB, free: 0.9258 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.743e-05/0.5401, allocations: 84.14 kB / 1.114 GB, free: 0.8398 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/0.5401, allocations: 75.28 kB / 1.114 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.08e-05/0.5401, allocations: 105.8 kB / 1.114 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.645e-06/0.5402, allocations: 0 / 1.114 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 6.98e-05/0.5402, allocations: 37.59 kB / 1.114 GB, free: 0.6094 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.5403, allocations: 130.6 kB / 1.114 GB, free: 480 kB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.5404, allocations: 137.6 kB / 1.114 GB, free: 336 kB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.366e-06/0.5404, allocations: 33.64 kB / 1.114 GB, free: 296 kB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.316e-05/0.5405, allocations: 88.14 kB / 1.114 GB, free: 204 kB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.316e-06/0.5405, allocations: 0 / 1.114 GB, free: 204 kB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.162e-06/0.5405, allocations: 0 / 1.114 GB, free: 204 kB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.5406, allocations: 322.8 kB / 1.115 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.5406, allocations: 8 kB / 1.115 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.5407, allocations: 0 / 1.115 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.061e-05/0.5407, allocations: 15.94 kB / 1.115 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.109e-06/0.5407, allocations: 4.031 kB / 1.115 GB, free: 15.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001575/0.5409, allocations: 49.59 kB / 1.115 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.5409, allocations: 8 kB / 1.115 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/0.541, allocations: 0 / 1.115 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.541, allocations: 4 kB / 1.115 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.554e-06/0.541, allocations: 64 / 1.115 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.684e-06/0.541, allocations: 4 kB / 1.115 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.541, allocations: 7.859 kB / 1.115 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.417e-06/0.5411, allocations: 0 / 1.115 GB, free: 15.77 MB / 0.5261 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 0.0001347/0.5412, allocations: 197 kB / 1.115 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.467e-05/0.5413, allocations: 101 kB / 1.115 GB, free: 15.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/0.5414, allocations: 116.8 kB / 1.115 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.195e-05/0.5415, allocations: 184.2 kB / 1.115 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.975e-05/0.5416, allocations: 180.3 kB / 1.115 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.088e-05/0.5417, allocations: 180.2 kB / 1.116 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003144/0.542, allocations: 421.2 kB / 1.116 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.329e-05/0.5421, allocations: 105 kB / 1.116 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.151e-05/0.5422, allocations: 104.9 kB / 1.116 GB, free: 14.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.365e-05/0.5423, allocations: 176.3 kB / 1.116 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.262e-05/0.5424, allocations: 180.2 kB / 1.116 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.36e-05/0.5425, allocations: 192.3 kB / 1.117 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.905e-05/0.5426, allocations: 176.3 kB / 1.117 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001892/0.5428, allocations: 311.6 kB / 1.117 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001142/0.5429, allocations: 193.9 kB / 1.117 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.543, allocations: 180.3 kB / 1.117 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.5431, allocations: 105 kB / 1.118 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.895e-05/0.5432, allocations: 184.2 kB / 1.118 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.324e-05/0.5433, allocations: 101.3 kB / 1.118 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 8.793e-05/0.5434, allocations: 99.25 kB / 1.118 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.65e-07/0.5434, allocations: 0 / 1.118 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009364/0.5444, allocations: 275.8 kB / 1.118 GB, free: 11.86 MB / 0.5261 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.001251/0.5456, allocations: 0.5287 MB / 1.119 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001201/0.5458, allocations: 41.64 kB / 1.119 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.442e-06/0.5458, allocations: 4 kB / 1.119 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.177e-06/0.5458, allocations: 0 / 1.119 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005821/0.5464, allocations: 0.5442 MB / 1.119 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003544/0.5468, allocations: 255.8 kB / 1.12 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.5471, allocations: 0.6926 MB / 1.12 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 1.831e-05/0.5472, allocations: 0 / 1.12 GB, free: 9.742 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.197e-05/0.5472, allocations: 7.438 kB / 1.12 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of SimCode: time 1.273e-06/0.5472, allocations: 0 / 1.12 GB, free: 9.734 MB / 0.5261 GB Notification: Performance of Templates: time 0.01366/0.5609, allocations: 5.725 MB / 1.126 GB, free: 4.062 MB / 0.5261 GB