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.BoreholeTwoUTube.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.BoreholeTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004392/0.004391, allocations: 238.2 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.00113/0.001131, allocations: 185 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 4.131/4.131, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.963/3.963, allocations: 472.3 MB / 0.9024 GB, free: 18.75 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004814, allocations: 12 kB / 1.008 GB, free: 13.39 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.21, allocations: 98.72 MB / 1.105 GB, free: 10.71 MB / 0.573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeTwoUTube): time 0.6849/0.895, allocations: 77.42 MB / 1.18 GB, free: 30.63 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.04028/0.9353, allocations: 23.6 MB / 1.203 GB, free: 13.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005085/0.9404, allocations: 96 kB / 1.203 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.00677/0.9473, allocations: 1.457 MB / 1.205 GB, free: 12.88 MB / 0.6042 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. Notification: Performance of NFTyping.typeBindings: time 0.01629/0.9636, allocations: 3.951 MB / 1.209 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.01497/0.9786, allocations: 3.49 MB / 1.212 GB, free: 8.863 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.1421/1.121, allocations: 78.33 MB / 1.289 GB, free: 2.863 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05481/1.176, allocations: 22.69 MB / 1.311 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04688/1.222, allocations: 16.6 MB / 1.327 GB, free: 11.4 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04579/1.268, allocations: 17.76 MB / 1.344 GB, free: 9.555 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.008108/1.276, allocations: 1.238 MB / 1.345 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02434/1.301, allocations: 3.352 MB / 1.349 GB, free: 4.965 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.01278/1.314, allocations: 4.987 MB / 1.354 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.01666/1.33, allocations: 6.293 MB / 1.36 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.08837/1.419, allocations: 52.19 MB / 1.411 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/1.419, allocations: 0 / 1.411 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.926e-06/1.419, allocations: 0 / 1.411 GB, free: 5.312 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.001829/1.421, allocations: 0 / 1.411 GB, free: 5.312 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4407 * Number of variables: 4407 Notification: Performance of Generate backend data structure: time 0.095/1.516, allocations: 25.44 MB / 1.436 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/1.516, allocations: 8.031 kB / 1.436 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01787/1.534, allocations: 3.028 MB / 1.439 GB, free: 8.57 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 1.291/2.825, allocations: 31.39 MB / 1.469 GB, free: 200.5 MB / 0.8074 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001972/2.827, allocations: 1.3 MB / 1.47 GB, free: 199.9 MB / 0.8074 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007635/2.834, allocations: 1.778 MB / 1.472 GB, free: 199.3 MB / 0.8074 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09573/2.93, allocations: 26.51 MB / 1.498 GB, free: 188.8 MB / 0.8074 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001287/2.931, allocations: 58.16 kB / 1.498 GB, free: 188.8 MB / 0.8074 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006423/2.938, allocations: 0.709 MB / 1.499 GB, free: 188.3 MB / 0.8074 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005523/2.938, allocations: 420.8 kB / 1.499 GB, free: 188.3 MB / 0.8074 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08907/3.028, allocations: 23.57 MB / 1.522 GB, free: 177.8 MB / 0.8074 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.2462/3.274, allocations: 103.4 MB / 1.623 GB, free: 75.67 MB / 0.8074 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03354/3.307, allocations: 13.36 MB / 1.636 GB, free: 62.29 MB / 0.8074 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02377/3.331, allocations: 9.937 MB / 1.646 GB, free: 52.3 MB / 0.8074 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004135/3.335, allocations: 2.649 MB / 1.649 GB, free: 49.14 MB / 0.8074 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002835/3.336, allocations: 159.3 kB / 1.649 GB, free: 48.97 MB / 0.8074 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01492/3.351, allocations: 1.063 MB / 1.65 GB, free: 47.9 MB / 0.8074 GB Notification: Performance of pre-optimization done (n=1032): time 3.322e-05/3.351, allocations: 0 / 1.65 GB, free: 47.9 MB / 0.8074 GB Notification: Performance of matching and sorting (n=1032): time 0.1029/3.454, allocations: 27.12 MB / 1.676 GB, free: 19.79 MB / 0.8074 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/3.454, allocations: 159.5 kB / 1.676 GB, free: 19.62 MB / 0.8074 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08212/3.536, allocations: 24.97 MB / 1.701 GB, free: 10.78 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.003123/3.539, allocations: 241.7 kB / 1.701 GB, free: 10.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.02131/3.561, allocations: 11 MB / 1.712 GB, free: 15.51 MB / 0.8387 GB Notification: Performance of collectInitialBindings (initialization): time 0.007468/3.568, allocations: 3.671 MB / 1.715 GB, free: 11.87 MB / 0.8387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003286/3.571, allocations: 308 kB / 1.716 GB, free: 11.57 MB / 0.8387 GB Notification: Performance of setup shared object (initialization): time 0.001925/3.573, allocations: 0.9428 MB / 1.717 GB, free: 10.62 MB / 0.8387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02562/3.599, allocations: 7.978 MB / 1.724 GB, free: 2.641 MB / 0.8387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03265/3.632, allocations: 11.87 MB / 1.736 GB, free: 5.48 MB / 0.8543 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03689/3.669, allocations: 10.27 MB / 1.746 GB, free: 11.16 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001216/3.669, allocations: 24 kB / 1.746 GB, free: 11.14 MB / 0.8699 GB Notification: Performance of matching and sorting (n=1984) (initialization): time 0.08332/3.752, allocations: 24.07 MB / 1.769 GB, free: 2.84 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002464/3.755, allocations: 2.579 MB / 1.772 GB, free: 15.13 MB / 0.9012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004721/3.755, allocations: 108 kB / 1.772 GB, free: 15.03 MB / 0.9012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008187/3.763, allocations: 2.117 MB / 1.774 GB, free: 12.79 MB / 0.9012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02699/3.791, allocations: 3.53 MB / 1.778 GB, free: 9.25 MB / 0.9012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304/5.094, allocations: 66.63 MB / 1.843 GB, free: 217.8 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03427/5.129, allocations: 2.228 MB / 1.845 GB, free: 217.6 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003652/5.132, allocations: 0.5955 MB / 1.845 GB, free: 217.4 MB / 0.9013 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/5.132, allocations: 10.36 kB / 1.845 GB, free: 217.4 MB / 0.9013 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0682/5.2, allocations: 22.15 MB / 1.867 GB, free: 208.8 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005255/5.201, allocations: 112.7 kB / 1.867 GB, free: 208.8 MB / 0.9013 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006723/5.208, allocations: 2.036 MB / 1.869 GB, free: 207.9 MB / 0.9013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02671/5.235, allocations: 3.526 MB / 1.873 GB, free: 207.6 MB / 0.9013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.128/5.363, allocations: 68.26 MB / 1.939 GB, free: 145.7 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03818/5.401, allocations: 2.204 MB / 1.941 GB, free: 145.3 MB / 0.9013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00467/5.406, allocations: 0.5911 MB / 1.942 GB, free: 145.2 MB / 0.9013 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 361 * 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 (1820): * Single equations (assignments): 1769 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 41 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 40 {(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: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.02543/5.431, allocations: 9.92 MB / 1.952 GB, free: 141.1 MB / 0.9013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007926/5.439, allocations: 2.049 MB / 1.954 GB, free: 141 MB / 0.9013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05797/5.497, allocations: 17.92 MB / 1.971 GB, free: 133.9 MB / 0.9013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04218/5.539, allocations: 14.4 MB / 1.985 GB, free: 125.4 MB / 0.9013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-05/5.539, allocations: 0 / 1.985 GB, free: 125.4 MB / 0.9013 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01778/5.557, allocations: 4.609 MB / 1.99 GB, free: 120.8 MB / 0.9013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009152/5.566, allocations: 242.7 kB / 1.99 GB, free: 120.5 MB / 0.9013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02437/5.591, allocations: 1.145 MB / 1.991 GB, free: 119.4 MB / 0.9013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003085/5.594, allocations: 0.6787 MB / 1.992 GB, free: 118.8 MB / 0.9013 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.06612/5.66, allocations: 19.1 MB / 2.01 GB, free: 99.62 MB / 0.9013 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.08349/5.744, allocations: 25.22 MB / 2.035 GB, free: 74.23 MB / 0.9013 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.01581/5.76, allocations: 7.164 MB / 2.042 GB, free: 67.03 MB / 0.9013 GB Notification: Performance of sorting global known variables: time 0.04795/5.808, allocations: 17.64 MB / 2.059 GB, free: 49.49 MB / 0.9013 GB Notification: Performance of Backend: time 2.565e-06/5.808, allocations: 0 / 2.059 GB, free: 49.49 MB / 0.9013 GB Notification: Performance of simCode: created initialization part: time 0.1123/5.92, allocations: 34.95 MB / 2.093 GB, free: 13.69 MB / 0.9013 GB Notification: Performance of SimCode: time 1.074/6.994, allocations: 69.51 MB / 2.161 GB, free: 249.1 MB / 0.9325 GB Notification: Performance of Templates: time 2.051/9.045, allocations: 492.5 MB / 2.642 GB, free: 211.9 MB / 0.9638 GB