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.InternalHEXTwoUTube.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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01054/0.01054, allocations: 220.3 kB / 15.17 MB, free: 5.996 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.00105/0.00105, allocations: 178.9 kB / 16.06 MB, free: 5.867 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.365/3.365, allocations: 389.1 MB / 405.9 MB, free: 67.67 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.035/4.035, allocations: 472.3 MB / 0.9018 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004701/0.0004703, allocations: 12 kB / 1.008 GB, free: 0.7188 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4729/0.4734, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.07269/0.5461, allocations: 78.51 MB / 1.181 GB, free: 105.4 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0309/0.5771, allocations: 23.15 MB / 1.203 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004366/0.5815, allocations: 103.3 kB / 1.203 GB, free: 82.38 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.005039/0.5866, allocations: 1.483 MB / 1.205 GB, free: 80.89 MB / 0.6823 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.01238/0.599, allocations: 4.039 MB / 1.209 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0117/0.6107, allocations: 3.746 MB / 1.212 GB, free: 73.25 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01045/0.6212, allocations: 9.296 MB / 1.222 GB, free: 63.93 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003085/0.6243, allocations: 2.083 MB / 1.224 GB, free: 61.95 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003845/0.6282, allocations: 2.303 MB / 1.226 GB, free: 59.64 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002911/0.6311, allocations: 2.175 MB / 1.228 GB, free: 57.46 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004189/0.6315, allocations: 144 kB / 1.228 GB, free: 57.32 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005791/0.6373, allocations: 2.265 MB / 1.23 GB, free: 55.06 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0007564/0.6381, allocations: 0.5912 MB / 1.231 GB, free: 54.46 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001106/0.6393, allocations: 0.6963 MB / 1.232 GB, free: 53.76 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00619/0.6455, allocations: 5.361 MB / 1.237 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.677e-06/0.6455, allocations: 0 / 1.237 GB, free: 48.39 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.112e-06/0.6455, allocations: 4.812 kB / 1.237 GB, free: 48.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.339e-05/0.6456, allocations: 0 / 1.237 GB, free: 48.38 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.005422/0.651, allocations: 3.295 MB / 1.24 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.651, allocations: 8.031 kB / 1.24 GB, free: 45.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008638/0.6519, allocations: 371.8 kB / 1.24 GB, free: 44.65 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004564/0.6565, allocations: 2.487 MB / 1.243 GB, free: 42.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001163/0.6566, allocations: 165.5 kB / 1.243 GB, free: 41.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003264/0.657, allocations: 216 kB / 1.243 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004013/0.661, allocations: 2.167 MB / 1.245 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.6611, allocations: 8.562 kB / 1.245 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002206/0.6613, allocations: 88.78 kB / 1.245 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.6614, allocations: 48 kB / 1.245 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003384/0.6648, allocations: 1.661 MB / 1.247 GB, free: 37.63 MB / 0.6823 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.01315/0.6779, allocations: 9.278 MB / 1.256 GB, free: 27.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001924/0.6799, allocations: 1.145 MB / 1.257 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.6812, allocations: 0.8322 MB / 1.258 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002042/0.6833, allocations: 2.926 MB / 1.261 GB, free: 22.43 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.6833, allocations: 47.88 kB / 1.261 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=145): time 5.336e-06/0.6833, allocations: 0 / 1.261 GB, free: 22.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=145): time 0.005842/0.6892, allocations: 2.687 MB / 1.264 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.6893, allocations: 94.42 kB / 1.264 GB, free: 19.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003315/0.6926, allocations: 2.231 MB / 1.266 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.6927, allocations: 53.7 kB / 1.266 GB, free: 17.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008861/0.6936, allocations: 1.204 MB / 1.267 GB, free: 15.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004085/0.694, allocations: 0.5045 MB / 1.268 GB, free: 15.42 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.6942, allocations: 44 kB / 1.268 GB, free: 15.38 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.6943, allocations: 377.8 kB / 1.268 GB, free: 15 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/0.6954, allocations: 0.5524 MB / 1.269 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001393/0.6968, allocations: 0.9296 MB / 1.269 GB, free: 13.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.6982, allocations: 0.7166 MB / 1.27 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.349e-06/0.6982, allocations: 0 / 1.27 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004341/0.7026, allocations: 2.093 MB / 1.272 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001218/0.7027, allocations: 291.4 kB / 1.272 GB, free: 10.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.048e-05/0.7028, allocations: 11.95 kB / 1.272 GB, free: 10.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.7039, allocations: 273 kB / 1.273 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001511/0.7054, allocations: 387.4 kB / 1.273 GB, free: 9.512 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004739/0.7102, allocations: 7.045 MB / 1.28 GB, free: 1.891 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002393/0.7126, allocations: 293.9 kB / 1.28 GB, free: 1.605 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001783/0.7128, allocations: 79.97 kB / 1.28 GB, free: 1.527 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.22e-06/0.7128, allocations: 4 kB / 1.28 GB, free: 1.523 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.4409/1.154, allocations: 1.794 MB / 1.282 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.942e-05/1.154, allocations: 10.83 kB / 1.282 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006599/1.154, allocations: 214 kB / 1.282 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001724/1.156, allocations: 386.3 kB / 1.283 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007218/1.163, allocations: 9.106 MB / 1.292 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/1.166, allocations: 283 kB / 1.292 GB, free: 154.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001715/1.166, allocations: 78.11 kB / 1.292 GB, free: 154.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (215): * Single equations (assignments): 208 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001391/1.167, allocations: 0.6563 MB / 1.293 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004443/1.168, allocations: 253.8 kB / 1.293 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004341/1.172, allocations: 1.985 MB / 1.295 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.811e-05/1.172, allocations: 16.5 kB / 1.295 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.126e-06/1.172, allocations: 0.9688 kB / 1.295 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003098/1.175, allocations: 1.616 MB / 1.296 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008252/1.184, allocations: 4.277 MB / 1.301 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.301e-06/1.184, allocations: 0 / 1.301 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001498/1.185, allocations: 265.8 kB / 1.301 GB, free: 150.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007335/1.186, allocations: 221.7 kB / 1.301 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/1.186, allocations: 39.33 kB / 1.301 GB, free: 150.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004952/1.191, allocations: 7.056 MB / 1.308 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.64e-06/1.191, allocations: 1.328 kB / 1.308 GB, free: 143.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005388/1.197, allocations: 2.567 MB / 1.31 GB, free: 142.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001304/1.198, allocations: 0.585 MB / 1.311 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/1.198, allocations: 31.67 kB / 1.311 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001595/1.2, allocations: 139.4 kB / 1.311 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/1.2, allocations: 103.5 kB / 1.311 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.2, allocations: 49.41 kB / 1.311 GB, free: 142.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00281/1.203, allocations: 1.502 MB / 1.313 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.97e-07/1.203, allocations: 0 / 1.313 GB, free: 141.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006092/1.209, allocations: 1.854 MB / 1.315 GB, free: 141.2 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (137): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.002422/1.212, allocations: 1.053 MB / 1.316 GB, free: 141 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006675/1.218, allocations: 3.694 MB / 1.319 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/1.218, allocations: 1.375 kB / 1.319 GB, free: 138.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002142/1.221, allocations: 1.206 MB / 1.32 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007477/1.228, allocations: 1.338 MB / 1.322 GB, free: 137.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009262/1.237, allocations: 6.025 MB / 1.328 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001465/1.239, allocations: 1.794 MB / 1.329 GB, free: 130.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00333/1.242, allocations: 0.5794 MB / 1.33 GB, free: 129.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006102/1.243, allocations: 217.2 kB / 1.33 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of SimCode: time 1.496e-06/1.243, allocations: 0 / 1.33 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.1121/1.355, allocations: 59.25 MB / 1.388 GB, free: 71.46 MB / 0.6823 GB