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.Examples.InternalHEXOneUTube.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.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01053/0.01053, allocations: 221.7 kB / 15.17 MB, free: 5.93 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.001362/0.001362, allocations: 182.4 kB / 16.06 MB, free: 5.828 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.604/3.604, allocations: 389.1 MB / 405.9 MB, free: 13.34 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.994/3.994, allocations: 472.3 MB / 0.9018 GB, free: 3.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004696/0.0004696, allocations: 12 kB / 1.008 GB, free: 10.25 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5527/0.5532, allocations: 98.72 MB / 1.104 GB, free: 212.3 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.06344/0.6167, allocations: 59.68 MB / 1.162 GB, free: 170.5 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02304/0.6398, allocations: 15.27 MB / 1.177 GB, free: 159.8 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00279/0.6426, allocations: 56.62 kB / 1.177 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003573/0.6462, allocations: 0.9981 MB / 1.178 GB, free: 159.2 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.008486/0.6547, allocations: 2.324 MB / 1.181 GB, free: 157.6 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.009445/0.6642, allocations: 2.76 MB / 1.183 GB, free: 155.8 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.006351/0.6705, allocations: 4.968 MB / 1.188 GB, free: 152.3 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001531/0.6721, allocations: 1.076 MB / 1.189 GB, free: 151.2 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00216/0.6743, allocations: 1.283 MB / 1.19 GB, free: 149.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0013/0.6756, allocations: 1.181 MB / 1.192 GB, free: 148.8 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001889/0.6758, allocations: 80 kB / 1.192 GB, free: 148.7 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.6803, allocations: 1.886 MB / 1.193 GB, free: 146.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0003392/0.6806, allocations: 346.5 kB / 1.194 GB, free: 146.5 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0004456/0.6811, allocations: 404.8 kB / 1.194 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/0.6846, allocations: 3.223 MB / 1.197 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.754e-06/0.6846, allocations: 0 / 1.197 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.938e-06/0.6846, allocations: 0.7188 kB / 1.197 GB, free: 142.8 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.034e-05/0.6847, allocations: 0 / 1.197 GB, free: 142.8 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.003221/0.6879, allocations: 2.047 MB / 1.199 GB, free: 140.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.4e-05/0.6879, allocations: 8.875 kB / 1.199 GB, free: 140.7 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.6884, allocations: 209.6 kB / 1.2 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002594/0.691, allocations: 1.461 MB / 1.201 GB, free: 139 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.562e-05/0.6911, allocations: 82.08 kB / 1.201 GB, free: 138.9 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001739/0.6913, allocations: 115.9 kB / 1.201 GB, free: 138.8 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.6933, allocations: 1.1 MB / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.6934, allocations: 0 / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.6935, allocations: 44 kB / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.6935, allocations: 24 kB / 1.202 GB, free: 137.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.6952, allocations: 0.827 MB / 1.203 GB, free: 136.8 MB / 0.7292 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007849/0.7031, allocations: 6.795 MB / 1.21 GB, free: 129.3 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000977/0.7041, allocations: 0.5462 MB / 1.21 GB, free: 128.8 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005615/0.7047, allocations: 331 kB / 1.211 GB, free: 128.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009791/0.7057, allocations: 1.284 MB / 1.212 GB, free: 126.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.7057, allocations: 39.12 kB / 1.212 GB, free: 126.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=69): time 3.218e-06/0.7057, allocations: 0 / 1.212 GB, free: 126.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=69): time 0.002337/0.7081, allocations: 1.134 MB / 1.213 GB, free: 125.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.7081, allocations: 86.33 kB / 1.213 GB, free: 125.6 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002137/0.7103, allocations: 1.497 MB / 1.215 GB, free: 124.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.636e-05/0.7104, allocations: 41.7 kB / 1.215 GB, free: 124 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005394/0.7109, allocations: 0.7176 MB / 1.215 GB, free: 123.3 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.7111, allocations: 248.3 kB / 1.216 GB, free: 123 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/0.7112, allocations: 25.44 kB / 1.216 GB, free: 123 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.7113, allocations: 345.9 kB / 1.216 GB, free: 122.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005562/0.7118, allocations: 269.9 kB / 1.216 GB, free: 122.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007062/0.7126, allocations: 0.4899 MB / 1.217 GB, free: 121.8 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.7132, allocations: 361.1 kB / 1.217 GB, free: 121.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7133, allocations: 0 / 1.217 GB, free: 121.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.001923/0.7152, allocations: 1.005 MB / 1.218 GB, free: 120.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.592e-05/0.7153, allocations: 189.9 kB / 1.218 GB, free: 120.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.325e-05/0.7153, allocations: 11.97 kB / 1.218 GB, free: 120.2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003144/0.7156, allocations: 73.69 kB / 1.218 GB, free: 120.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007965/0.7165, allocations: 191.7 kB / 1.218 GB, free: 120 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002137/0.7186, allocations: 2.977 MB / 1.221 GB, free: 116.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.7198, allocations: 150.9 kB / 1.221 GB, free: 116.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.854e-05/0.72, allocations: 36 kB / 1.221 GB, free: 116.6 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.677e-06/0.72, allocations: 4 kB / 1.221 GB, free: 116.6 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001662/0.7216, allocations: 0.8451 MB / 1.222 GB, free: 115.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.7217, allocations: 4 kB / 1.222 GB, free: 115.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000177/0.7219, allocations: 65.69 kB / 1.222 GB, free: 115.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007625/0.7227, allocations: 191.7 kB / 1.223 GB, free: 115.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001991/0.7247, allocations: 2.963 MB / 1.225 GB, free: 112.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/0.7258, allocations: 143 kB / 1.226 GB, free: 112.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-05/0.7259, allocations: 36 kB / 1.226 GB, free: 112.1 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (107): * Single equations (assignments): 104 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007408/0.7267, allocations: 452.9 kB / 1.226 GB, free: 111.6 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002512/0.7269, allocations: 154.1 kB / 1.226 GB, free: 111.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.7289, allocations: 1.015 MB / 1.227 GB, free: 110.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-05/0.729, allocations: 8 kB / 1.227 GB, free: 110.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.525e-06/0.729, allocations: 7.453 kB / 1.227 GB, free: 110.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.7303, allocations: 0.7554 MB / 1.228 GB, free: 109.6 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004516/0.7348, allocations: 2.622 MB / 1.23 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.164e-06/0.7348, allocations: 4 kB / 1.23 GB, free: 106.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006562/0.7355, allocations: 127.8 kB / 1.231 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002432/0.7357, allocations: 69.67 kB / 1.231 GB, free: 106.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.683e-05/0.7358, allocations: 22.38 kB / 1.231 GB, free: 106.6 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002059/0.7379, allocations: 2.984 MB / 1.234 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.941e-06/0.7379, allocations: 4 kB / 1.234 GB, free: 103.4 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002181/0.7401, allocations: 1.34 MB / 1.235 GB, free: 102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.7408, allocations: 382.7 kB / 1.235 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.741, allocations: 16 kB / 1.235 GB, free: 101.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008973/0.7419, allocations: 59.84 kB / 1.235 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/0.7421, allocations: 60.44 kB / 1.235 GB, free: 101.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.37e-05/0.7421, allocations: 27.98 kB / 1.235 GB, free: 101.4 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001675/0.7438, allocations: 1.053 MB / 1.236 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.03e-07/0.7438, allocations: 0 / 1.236 GB, free: 100.4 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003086/0.7469, allocations: 1.073 MB / 1.238 GB, free: 99.32 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * 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 (69): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001699/0.7487, allocations: 0.8122 MB / 1.238 GB, free: 98.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002702/0.7514, allocations: 1.699 MB / 1.24 GB, free: 96.78 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.968e-06/0.7514, allocations: 4.125 kB / 1.24 GB, free: 96.78 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.7522, allocations: 0.5669 MB / 1.241 GB, free: 96.19 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/0.7568, allocations: 0.8117 MB / 1.241 GB, free: 95.42 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00542/0.7622, allocations: 3.436 MB / 1.245 GB, free: 91.95 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/0.7631, allocations: 1.305 MB / 1.246 GB, free: 90.62 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001968/0.7651, allocations: 357.4 kB / 1.246 GB, free: 90.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003482/0.7655, allocations: 131.3 kB / 1.246 GB, free: 90.19 MB / 0.7292 GB Notification: Performance of SimCode: time 1.479e-06/0.7655, allocations: 0 / 1.246 GB, free: 90.19 MB / 0.7292 GB Notification: Performance of Templates: time 0.07361/0.8391, allocations: 36.78 MB / 1.282 GB, free: 54.66 MB / 0.7292 GB