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.Examples.BoreholeDynamics.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.Examples.BoreholeDynamics,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004438/0.004441, 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.001261/0.00126, 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.683/3.683, allocations: 389.1 MB / 406.5 MB, free: 6.711 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.828/4.828, allocations: 472.3 MB / 0.9023 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007612/0.0007615, allocations: 16 kB / 1.008 GB, free: 6.762 MB / 0.6511 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2691, allocations: 98.71 MB / 1.105 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeDynamics): time 1.053/1.322, allocations: 267.2 MB / 1.366 GB, free: 73.9 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.111/1.433, allocations: 64.75 MB / 1.429 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01624/1.449, allocations: 314.1 kB / 1.429 GB, free: 8.875 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.01931/1.469, allocations: 3.921 MB / 1.433 GB, free: 4.93 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. [/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. [/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.05405/1.523, allocations: 12.25 MB / 1.445 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.03559/1.558, allocations: 7.588 MB / 1.452 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 1.11/2.668, allocations: 231.3 MB / 1.678 GB, free: 6.316 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1733/2.841, allocations: 66.55 MB / 1.743 GB, free: 11.32 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1464/2.988, allocations: 50.06 MB / 1.792 GB, free: 10.66 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 1.764/4.752, allocations: 53.19 MB / 1.844 GB, free: 60.34 MB / 0.9793 GB Notification: Performance of NFPackage.collectConstants: time 0.02538/4.777, allocations: 3.668 MB / 1.848 GB, free: 60.34 MB / 0.9793 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07021/4.848, allocations: 7.806 MB / 1.855 GB, free: 60.34 MB / 0.9793 GB Notification: Performance of NFScalarize.scalarize: time 0.03994/4.888, allocations: 14.8 MB / 1.87 GB, free: 60.34 MB / 0.9793 GB Notification: Performance of NFVerifyModel.verify: time 0.05129/4.939, allocations: 18.77 MB / 1.888 GB, free: 60.31 MB / 0.9793 GB Notification: Performance of NFConvertDAE.convert: time 0.2801/5.219, allocations: 153.9 MB / 2.038 GB, free: 0 / 0.9793 GB Notification: Performance of FrontEnd - DAE generated: time 8.767e-06/5.219, allocations: 128 / 2.038 GB, free: 0 / 0.9793 GB Notification: Performance of FrontEnd: time 4.789e-06/5.219, allocations: 64 / 2.038 GB, free: 0 / 0.9793 GB Notification: Performance of Transformations before backend: time 0.005165/5.224, allocations: 2.531 kB / 2.038 GB, free: 0 / 0.9793 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12889 * Number of variables: 12889 Notification: Performance of Generate backend data structure: time 0.2934/5.518, allocations: 75.8 MB / 2.112 GB, free: 3.551 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/5.518, allocations: 8.688 kB / 2.112 GB, free: 3.551 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05945/5.577, allocations: 9.142 MB / 2.121 GB, free: 15.08 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.3299/5.907, allocations: 94.93 MB / 2.214 GB, free: 9.902 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.006525/5.914, allocations: 3.806 MB / 2.218 GB, free: 6.113 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0272/5.941, allocations: 5.09 MB / 2.223 GB, free: 1.039 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.853/7.794, allocations: 75.73 MB / 2.297 GB, free: 333.7 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.004561/7.799, allocations: 146.5 kB / 2.297 GB, free: 333.7 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.02757/7.827, allocations: 2.072 MB / 2.299 GB, free: 333.7 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003706/7.83, allocations: 1.46 MB / 2.3 GB, free: 333.6 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2283/8.059, allocations: 65.63 MB / 2.364 GB, free: 301.2 MB / 1.12 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 2.446/10.5, allocations: 371.9 MB / 2.727 GB, free: 208.7 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.1244/10.63, allocations: 39.99 MB / 2.766 GB, free: 208.1 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.08471/10.71, allocations: 37.22 MB / 2.803 GB, free: 207.2 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008348/10.72, allocations: 5.254 MB / 2.808 GB, free: 201.9 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000709/10.72, allocations: 374 kB / 2.808 GB, free: 201.8 MB / 1.12 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.05379/10.78, allocations: 5.287 MB / 2.813 GB, free: 201.8 MB / 1.12 GB Notification: Performance of pre-optimization done (n=2653): time 0.0001163/10.78, allocations: 0.9375 kB / 2.813 GB, free: 201.8 MB / 1.12 GB Notification: Performance of matching and sorting (n=2653): time 0.2212/11, allocations: 68.06 MB / 2.88 GB, free: 174.3 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003637/11, allocations: 0.8263 MB / 2.881 GB, free: 173.4 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2383/11.24, allocations: 80.07 MB / 2.959 GB, free: 104.5 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.009552/11.25, allocations: 0.5876 MB / 2.96 GB, free: 103.9 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.06638/11.31, allocations: 36.03 MB / 2.995 GB, free: 69.29 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.01833/11.33, allocations: 9.43 MB / 3.004 GB, free: 59.93 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01033/11.34, allocations: 0.7969 MB / 3.005 GB, free: 59.13 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 6.541e-05/11.34, allocations: 305.1 kB / 3.005 GB, free: 58.83 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.09052/11.43, allocations: 21.23 MB / 3.026 GB, free: 37.57 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1056/11.54, allocations: 32.94 MB / 3.058 GB, free: 0.6836 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.968/13.51, allocations: 27.51 MB / 3.085 GB, free: 290 MB / 1.136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002962/13.51, allocations: 71.62 kB / 3.085 GB, free: 290 MB / 1.136 GB Notification: Performance of matching and sorting (n=5346) (initialization): time 0.2838/13.79, allocations: 68.38 MB / 3.152 GB, free: 287 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005297/13.8, allocations: 7.59 MB / 3.159 GB, free: 277.5 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001735/13.8, allocations: 354.9 kB / 3.159 GB, free: 277.5 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08541/13.88, allocations: 44.73 MB / 3.203 GB, free: 269.3 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.057/13.94, allocations: 7.78 MB / 3.211 GB, free: 262.6 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.157/14.1, allocations: 123.7 MB / 3.331 GB, free: 139.9 MB / 1.136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1114/14.21, allocations: 6.151 MB / 3.337 GB, free: 135.5 MB / 1.136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01268/14.22, allocations: 1.619 MB / 3.339 GB, free: 133.9 MB / 1.136 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/14.22, allocations: 4 kB / 3.339 GB, free: 133.9 MB / 1.136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2442/14.47, allocations: 62.52 MB / 3.4 GB, free: 79.54 MB / 1.136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002161/14.47, allocations: 350 kB / 3.4 GB, free: 79.21 MB / 1.136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08811/14.56, allocations: 42.7 MB / 3.442 GB, free: 38.16 MB / 1.136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.07527/14.63, allocations: 7.78 MB / 3.45 GB, free: 31.42 MB / 1.136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.193/15.82, allocations: 127.3 MB / 3.574 GB, free: 199.6 MB / 1.152 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1035/15.93, allocations: 6.098 MB / 3.58 GB, free: 199.6 MB / 1.152 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01362/15.94, allocations: 1.613 MB / 3.582 GB, free: 199.6 MB / 1.152 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1088 * 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 (4218): * Single equations (assignments): 4114 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 40 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 64 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 60 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 4 {32 530,1 4,1 4,11 229} Notification: Performance of prepare postOptimizeDAE: time 0.1063/16.05, allocations: 29.51 MB / 3.61 GB, free: 199.2 MB / 1.152 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0313/16.08, allocations: 6.298 MB / 3.617 GB, free: 199.1 MB / 1.152 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1957/16.28, allocations: 51.8 MB / 3.667 GB, free: 186.5 MB / 1.152 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1349/16.41, allocations: 40.04 MB / 3.706 GB, free: 171.2 MB / 1.152 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003079/16.41, allocations: 0 / 3.706 GB, free: 171.2 MB / 1.152 GB Notification: Performance of postOpt removeConstants (simulation): time 0.06453/16.48, allocations: 13.02 MB / 3.719 GB, free: 163.9 MB / 1.152 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.03652/16.51, allocations: 0.5279 MB / 3.719 GB, free: 163.6 MB / 1.152 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.08149/16.59, allocations: 3.373 MB / 3.723 GB, free: 163.1 MB / 1.152 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00892/16.6, allocations: 1.555 MB / 3.724 GB, free: 162.9 MB / 1.152 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.2382/16.84, allocations: 56.46 MB / 3.779 GB, free: 123.2 MB / 1.152 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.1843/17.02, allocations: 63.55 MB / 3.841 GB, free: 59.41 MB / 1.152 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.04425/17.07, allocations: 18.43 MB / 3.859 GB, free: 40.93 MB / 1.152 GB Notification: Performance of sorting global known variables: time 0.214/17.28, allocations: 56.8 MB / 3.915 GB, free: 492 kB / 1.168 GB Notification: Performance of Backend: time 1.312e-06/17.28, allocations: 0 / 3.915 GB, free: 492 kB / 1.168 GB Notification: Performance of simCode: created initialization part: time 1.237/18.52, allocations: 85.15 MB / 3.998 GB, free: 273.4 MB / 1.183 GB Notification: Performance of SimCode: time 0.7162/19.24, allocations: 210.5 MB / 4.204 GB, free: 171 MB / 1.183 GB Notification: Performance of Templates: time 7.047/26.28, allocations: 1.419 GB / 5.623 GB, free: 143.1 MB / 1.277 GB