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.004319/0.004319, allocations: 234.9 kB / 15.8 MB, free: 6.281 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.001224/0.001224, allocations: 184.2 kB / 16.69 MB, free: 5.449 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.573/3.573, allocations: 389.1 MB / 406.5 MB, free: 6.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.671/4.671, allocations: 472.3 MB / 0.9023 GB, free: 10.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006743/0.0006746, allocations: 12 kB / 1.008 GB, free: 6.727 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2271, allocations: 98.71 MB / 1.105 GB, free: 3.855 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.6647/0.8918, allocations: 78.5 MB / 1.181 GB, free: 215.1 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.04318/0.935, allocations: 23.15 MB / 1.204 GB, free: 207.9 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005684/0.9408, allocations: 100.1 kB / 1.204 GB, free: 207.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.007652/0.9485, allocations: 1.488 MB / 1.205 GB, free: 207.1 MB / 0.7917 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.02179/0.9703, allocations: 4.038 MB / 1.209 GB, free: 204.8 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.02713/0.9975, allocations: 3.746 MB / 1.213 GB, free: 202.9 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.02578/1.023, allocations: 9.303 MB / 1.222 GB, free: 199 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009054/1.032, allocations: 2.079 MB / 1.224 GB, free: 198.3 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01103/1.044, allocations: 2.303 MB / 1.226 GB, free: 197.4 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009032/1.053, allocations: 2.169 MB / 1.229 GB, free: 196.5 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.001957/1.055, allocations: 148.8 kB / 1.229 GB, free: 196.4 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01352/1.068, allocations: 2.263 MB / 1.231 GB, free: 195.8 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.002066/1.07, allocations: 0.5948 MB / 1.231 GB, free: 195.5 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.002578/1.073, allocations: 0.702 MB / 1.232 GB, free: 195.2 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.01225/1.085, allocations: 5.355 MB / 1.237 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/1.085, allocations: 4 kB / 1.237 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.796e-06/1.085, allocations: 0 / 1.237 GB, free: 193.8 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001908/1.086, allocations: 0 / 1.237 GB, free: 193.8 MB / 0.7917 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.01119/1.097, allocations: 3.295 MB / 1.241 GB, free: 191.4 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.097, allocations: 12.62 kB / 1.241 GB, free: 191.4 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/1.099, allocations: 375.8 kB / 1.241 GB, free: 191.2 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008439/1.108, allocations: 2.483 MB / 1.243 GB, free: 189.3 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002809/1.108, allocations: 161.1 kB / 1.244 GB, free: 189.3 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000842/1.109, allocations: 215.9 kB / 1.244 GB, free: 189.2 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007166/1.116, allocations: 2.167 MB / 1.246 GB, free: 187.8 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.811e-05/1.116, allocations: 9.969 kB / 1.246 GB, free: 187.8 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003379/1.116, allocations: 86.84 kB / 1.246 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.368e-05/1.116, allocations: 53.16 kB / 1.246 GB, free: 187.7 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005743/1.122, allocations: 1.655 MB / 1.248 GB, free: 186.9 MB / 0.7917 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.02144/1.144, allocations: 9.284 MB / 1.257 GB, free: 179.3 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002916/1.147, allocations: 1.147 MB / 1.258 GB, free: 178.7 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001968/1.149, allocations: 0.8213 MB / 1.259 GB, free: 178.4 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003131/1.152, allocations: 2.924 MB / 1.261 GB, free: 175 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.775e-05/1.152, allocations: 57.44 kB / 1.262 GB, free: 174.9 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=145): time 4.889e-06/1.152, allocations: 3.281 kB / 1.262 GB, free: 174.9 MB / 0.7917 GB Notification: Performance of matching and sorting (n=145): time 0.009542/1.162, allocations: 2.687 MB / 1.264 GB, free: 173.2 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.471e-05/1.162, allocations: 91.17 kB / 1.264 GB, free: 173.1 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005444/1.167, allocations: 2.231 MB / 1.266 GB, free: 171.9 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004284/1.168, allocations: 54.11 kB / 1.266 GB, free: 171.9 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/1.169, allocations: 1.199 MB / 1.268 GB, free: 170.8 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008857/1.17, allocations: 0.5 MB / 1.268 GB, free: 170.3 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.17, allocations: 39.56 kB / 1.268 GB, free: 170.3 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002583/1.171, allocations: 376.2 kB / 1.269 GB, free: 170 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002838/1.173, allocations: 0.5581 MB / 1.269 GB, free: 169.7 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003826/1.177, allocations: 0.9237 MB / 1.27 GB, free: 169 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/1.181, allocations: 0.7114 MB / 1.271 GB, free: 168.6 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.339e-05/1.181, allocations: 4.156 kB / 1.271 GB, free: 168.6 MB / 0.7917 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.01042/1.191, allocations: 2.105 MB / 1.273 GB, free: 167.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002471/1.191, allocations: 296 kB / 1.273 GB, free: 167 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/1.192, allocations: 12 kB / 1.273 GB, free: 167 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00241/1.194, allocations: 268.1 kB / 1.273 GB, free: 166.7 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004165/1.198, allocations: 383.4 kB / 1.274 GB, free: 166.4 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008496/1.207, allocations: 7.048 MB / 1.281 GB, free: 158.7 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006128/1.213, allocations: 302 kB / 1.281 GB, free: 158.4 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005427/1.214, allocations: 71.98 kB / 1.281 GB, free: 158.4 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/1.214, allocations: 4 kB / 1.281 GB, free: 158.4 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004794/1.218, allocations: 1.793 MB / 1.283 GB, free: 156.6 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.274e-05/1.219, allocations: 12 kB / 1.283 GB, free: 156.5 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007879/1.219, allocations: 216.1 kB / 1.283 GB, free: 156.3 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.222, allocations: 391.4 kB / 1.283 GB, free: 155.9 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007803/1.23, allocations: 9.106 MB / 1.292 GB, free: 146 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004036/1.234, allocations: 289.6 kB / 1.292 GB, free: 145.7 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004334/1.234, allocations: 75.98 kB / 1.292 GB, free: 145.7 MB / 0.7917 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.002009/1.236, allocations: 0.6514 MB / 1.293 GB, free: 145 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009081/1.237, allocations: 252.9 kB / 1.293 GB, free: 144.8 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005659/1.243, allocations: 1.986 MB / 1.295 GB, free: 142.8 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003869/1.247, allocations: 1.614 MB / 1.297 GB, free: 141.1 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/1.247, allocations: 0 / 1.297 GB, free: 141.1 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002248/1.249, allocations: 0.5987 MB / 1.297 GB, free: 140.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.25, allocations: 28 kB / 1.297 GB, free: 140.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003354/1.254, allocations: 119.7 kB / 1.298 GB, free: 140.4 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003838/1.254, allocations: 113.1 kB / 1.298 GB, free: 140.2 MB / 0.7917 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006684/1.261, allocations: 1.905 MB / 1.3 GB, free: 138.3 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.006004/1.267, allocations: 2.545 MB / 1.302 GB, free: 135.8 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00137/1.268, allocations: 0.6647 MB / 1.303 GB, free: 135.1 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.003351/1.272, allocations: 1.5 MB / 1.304 GB, free: 133.6 MB / 0.7917 GB Notification: Performance of Backend: time 1.463e-06/1.272, allocations: 0 / 1.304 GB, free: 133.6 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01181/1.284, allocations: 4.39 MB / 1.308 GB, free: 129.1 MB / 0.7917 GB Notification: Performance of SimCode: time 0.01778/1.301, allocations: 7.305 MB / 1.316 GB, free: 121.9 MB / 0.7917 GB Notification: Performance of Templates: time 0.1571/1.458, allocations: 64.89 MB / 1.379 GB, free: 58.85 MB / 0.7917 GB