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.009144/0.009144, allocations: 112.6 kB / 15.06 MB, free: 5.965 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.001153/0.001153, allocations: 182.8 kB / 15.94 MB, free: 5.93 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 1.847/1.847, allocations: 194.6 MB / 211.3 MB, free: 11.27 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.094/2.094, allocations: 236.2 MB / 492.6 MB, free: 11.43 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007551/0.0007552, allocations: 19.98 kB / 0.587 GB, free: 2.145 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5359, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9451/1.481, allocations: 415.5 MB / 1.089 GB, free: 36.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005774/1.482, allocations: 129.9 kB / 1.089 GB, free: 36.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.689/6.17, allocations: 1.024 GB / 2.114 GB, free: 52.77 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.575e-06/6.17, allocations: 0 / 2.114 GB, free: 52.77 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0003979/6.171, allocations: 87.92 kB / 2.114 GB, free: 52.68 MB / 0.8386 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.01046/6.181, allocations: 3.595 MB / 2.117 GB, free: 49.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/6.181, allocations: 8.031 kB / 2.117 GB, free: 49 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001844/6.183, allocations: 371.9 kB / 2.118 GB, free: 48.64 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008285/6.192, allocations: 2.943 MB / 2.121 GB, free: 45.63 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/6.192, allocations: 161.5 kB / 2.121 GB, free: 45.47 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006847/6.192, allocations: 215.9 kB / 2.121 GB, free: 45.26 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005585/6.198, allocations: 2.112 MB / 2.123 GB, free: 43.04 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.48e-05/6.198, allocations: 11.94 kB / 2.123 GB, free: 43.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003381/6.199, allocations: 85.03 kB / 2.123 GB, free: 42.94 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.893e-05/6.199, allocations: 52 kB / 2.123 GB, free: 42.89 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004423/6.203, allocations: 1.605 MB / 2.125 GB, free: 41.27 MB / 0.8386 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.01699/6.22, allocations: 8.822 MB / 2.133 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002342/6.222, allocations: 1.176 MB / 2.134 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002116/6.225, allocations: 2.918 MB / 2.137 GB, free: 27.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/6.225, allocations: 55.88 kB / 2.137 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=145): time 4.946e-06/6.225, allocations: 0 / 2.137 GB, free: 27.34 MB / 0.8386 GB Notification: Performance of matching and sorting (n=145): time 0.006744/6.231, allocations: 2.673 MB / 2.14 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/6.232, allocations: 102.4 kB / 2.14 GB, free: 24.41 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004405/6.236, allocations: 2.027 MB / 2.142 GB, free: 22.37 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0003467/6.236, allocations: 57.7 kB / 2.142 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/6.237, allocations: 1.224 MB / 2.143 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006426/6.238, allocations: 0.4966 MB / 2.144 GB, free: 20.56 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/6.238, allocations: 36 kB / 2.144 GB, free: 20.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001246/6.238, allocations: 373.9 kB / 2.144 GB, free: 20.16 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/6.24, allocations: 0.5232 MB / 2.145 GB, free: 19.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/6.241, allocations: 0.9009 MB / 2.146 GB, free: 18.6 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001463/6.243, allocations: 0.676 MB / 2.146 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.111e-05/6.243, allocations: 4 kB / 2.146 GB, free: 17.93 MB / 0.8386 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004824/6.247, allocations: 1.975 MB / 2.148 GB, free: 15.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005424/6.248, allocations: 2.72 MB / 2.151 GB, free: 12.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.723e-05/6.248, allocations: 18.69 kB / 2.151 GB, free: 12.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007992/6.249, allocations: 232.9 kB / 2.151 GB, free: 12.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001685/6.251, allocations: 351.2 kB / 2.151 GB, free: 12.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005218/6.256, allocations: 7.076 MB / 2.158 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003117/6.259, allocations: 282.2 kB / 2.159 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003847/6.259, allocations: 71.98 kB / 2.159 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/6.259, allocations: 8 kB / 2.159 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003985/6.263, allocations: 1.696 MB / 2.16 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.026e-05/6.264, allocations: 11.98 kB / 2.16 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006434/6.264, allocations: 217.2 kB / 2.161 GB, free: 2.41 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001622/6.266, allocations: 347.5 kB / 2.161 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/6.276, allocations: 9.032 MB / 2.17 GB, free: 8.246 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/6.279, allocations: 258.2 kB / 2.17 GB, free: 7.992 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/6.28, allocations: 75.98 kB / 2.17 GB, free: 7.918 MB / 0.8542 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 (191): * Single equations (assignments): 184 * 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.00215/6.282, allocations: 0.6335 MB / 2.171 GB, free: 7.273 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000938/6.283, allocations: 260.8 kB / 2.171 GB, free: 7.016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005572/6.288, allocations: 2.022 MB / 2.173 GB, free: 4.965 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.169e-05/6.288, allocations: 19.98 kB / 2.173 GB, free: 4.945 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/6.288, allocations: 4 kB / 2.173 GB, free: 4.941 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003968/6.292, allocations: 1.654 MB / 2.174 GB, free: 3.223 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6532/6.946, allocations: 4.307 MB / 2.179 GB, free: 90.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.184e-05/6.946, allocations: 3.312 kB / 2.179 GB, free: 90.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001763/6.947, allocations: 265.8 kB / 2.179 GB, free: 90.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000861/6.948, allocations: 216.3 kB / 2.179 GB, free: 90.45 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002231/6.949, allocations: 37.5 kB / 2.179 GB, free: 90.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005704/6.954, allocations: 7.097 MB / 2.186 GB, free: 84.17 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.523e-06/6.954, allocations: 11.83 kB / 2.186 GB, free: 84.17 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006631/6.961, allocations: 2.665 MB / 2.189 GB, free: 83.89 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001945/6.963, allocations: 0.5658 MB / 2.189 GB, free: 83.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007793/6.964, allocations: 30.05 kB / 2.189 GB, free: 83.79 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002369/6.966, allocations: 152 kB / 2.189 GB, free: 83.79 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002827/6.966, allocations: 100.5 kB / 2.19 GB, free: 83.78 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001937/6.967, allocations: 51.75 kB / 2.19 GB, free: 83.78 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003771/6.97, allocations: 1.569 MB / 2.191 GB, free: 83.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.65e-07/6.97, allocations: 0 / 2.191 GB, free: 83.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.009495/6.98, allocations: 1.985 MB / 2.193 GB, free: 83.56 MB / 0.8542 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.004579/6.985, allocations: 1.77 MB / 2.195 GB, free: 83.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007261/6.992, allocations: 3.58 MB / 2.198 GB, free: 82.09 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.388e-06/6.992, allocations: 0 / 2.198 GB, free: 82.09 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002415/6.994, allocations: 1.232 MB / 2.2 GB, free: 81.63 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008501/7.003, allocations: 1.331 MB / 2.201 GB, free: 81.61 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01188/7.015, allocations: 6.072 MB / 2.207 GB, free: 79.09 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/7.017, allocations: 1.796 MB / 2.208 GB, free: 78.36 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003841/7.021, allocations: 0.5993 MB / 2.209 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008041/7.021, allocations: 206.7 kB / 2.209 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of SimCode: time 1.542e-06/7.021, allocations: 0 / 2.209 GB, free: 78.33 MB / 0.8542 GB Notification: Performance of Templates: time 0.1471/7.169, allocations: 64.94 MB / 2.273 GB, free: 75.08 MB / 0.8542 GB