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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.216/4.216, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.506e-05/4.54e-05, allocations: 5.516 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2489, allocations: 98.74 MB / 0.6348 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.226/1.475, allocations: 415.5 MB / 1.041 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004706/1.475, allocations: 127.7 kB / 1.041 GB, free: 6.363 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.128/7.604, allocations: 1.021 GB / 2.062 GB, free: 82.88 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.866e-06/7.604, allocations: 0 / 2.062 GB, free: 82.88 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0005777/7.604, allocations: 81.06 kB / 2.062 GB, free: 82.88 MB / 0.8542 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.01337/7.618, allocations: 3.064 MB / 2.065 GB, free: 82.02 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/7.618, allocations: 9.75 kB / 2.065 GB, free: 82.02 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001174/7.619, allocations: 290.2 kB / 2.065 GB, free: 81.97 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/7.621, allocations: 375.1 kB / 2.065 GB, free: 81.79 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01233/7.634, allocations: 2.917 MB / 2.068 GB, free: 81.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002671/7.634, allocations: 164.3 kB / 2.068 GB, free: 81.37 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000946/7.635, allocations: 219.6 kB / 2.069 GB, free: 81.37 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008106/7.643, allocations: 2.074 MB / 2.071 GB, free: 81.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/7.643, allocations: 5.375 kB / 2.071 GB, free: 81.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004141/7.644, allocations: 87.47 kB / 2.071 GB, free: 81.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.02e-05/7.644, allocations: 51 kB / 2.071 GB, free: 81.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007988/7.652, allocations: 1.564 MB / 2.072 GB, free: 81.07 MB / 0.8542 GB Warning: The model contains alias variables with conflicting start and/or 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.03258/7.684, allocations: 8.828 MB / 2.081 GB, free: 78.39 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/7.688, allocations: 1.149 MB / 2.082 GB, free: 78.36 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003099/7.692, allocations: 0.8282 MB / 2.083 GB, free: 78.34 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004004/7.696, allocations: 2.917 MB / 2.086 GB, free: 75.05 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.247e-05/7.696, allocations: 51.78 kB / 2.086 GB, free: 75.02 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=145): time 6.813e-06/7.696, allocations: 0 / 2.086 GB, free: 75.02 MB / 0.8542 GB Notification: Performance of matching and sorting (n=145): time 0.007662/7.703, allocations: 1.548 MB / 2.087 GB, free: 74.77 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.073e-05/7.704, allocations: 92.64 kB / 2.087 GB, free: 74.67 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007252/7.711, allocations: 1.996 MB / 2.089 GB, free: 74.45 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0005547/7.712, allocations: 56.27 kB / 2.089 GB, free: 74.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/7.713, allocations: 1.215 MB / 2.09 GB, free: 74.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/7.715, allocations: 0.5092 MB / 2.091 GB, free: 73.83 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001935/7.715, allocations: 35.83 kB / 2.091 GB, free: 73.83 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001675/7.715, allocations: 369.8 kB / 2.091 GB, free: 73.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002041/7.717, allocations: 0.5149 MB / 2.092 GB, free: 73.52 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002498/7.72, allocations: 0.8813 MB / 2.093 GB, free: 73.16 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002592/7.722, allocations: 0.6748 MB / 2.093 GB, free: 73.14 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/7.722, allocations: 0 / 2.093 GB, free: 73.14 MB / 0.8542 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.006797/7.729, allocations: 1.938 MB / 2.095 GB, free: 72.88 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006082/7.73, allocations: 2.735 MB / 2.098 GB, free: 70.01 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.325e-05/7.73, allocations: 11.22 kB / 2.098 GB, free: 70.01 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/7.731, allocations: 234.2 kB / 2.098 GB, free: 69.95 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002617/7.733, allocations: 355.8 kB / 2.099 GB, free: 69.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005736/7.739, allocations: 7.037 MB / 2.105 GB, free: 63.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004862/7.744, allocations: 284.2 kB / 2.106 GB, free: 63.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005749/7.745, allocations: 72.75 kB / 2.106 GB, free: 63.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/7.745, allocations: 3.938 kB / 2.106 GB, free: 63.5 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004693/7.75, allocations: 1.675 MB / 2.107 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.807e-05/7.75, allocations: 11.59 kB / 2.107 GB, free: 63.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007913/7.75, allocations: 212.9 kB / 2.108 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002587/7.753, allocations: 351.5 kB / 2.108 GB, free: 63.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008018/7.761, allocations: 8.952 MB / 2.117 GB, free: 55.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004285/7.765, allocations: 269.3 kB / 2.117 GB, free: 55.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004673/7.766, allocations: 69.33 kB / 2.117 GB, free: 55.27 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 () * 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.0005681/7.766, allocations: 196.8 kB / 2.117 GB, free: 55.16 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001087/7.768, allocations: 263.3 kB / 2.117 GB, free: 55.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005855/7.773, allocations: 2.003 MB / 2.119 GB, free: 54.83 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.323e-05/7.774, allocations: 20.42 kB / 2.119 GB, free: 54.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/7.774, allocations: 6.859 kB / 2.119 GB, free: 54.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003987/7.778, allocations: 1.62 MB / 2.121 GB, free: 54.48 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/7.789, allocations: 4.3 MB / 2.125 GB, free: 53.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/7.789, allocations: 3.375 kB / 2.125 GB, free: 53.99 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002087/7.792, allocations: 269.4 kB / 2.125 GB, free: 53.99 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007863/7.792, allocations: 209.1 kB / 2.126 GB, free: 53.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000148/7.793, allocations: 39.86 kB / 2.126 GB, free: 53.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005739/7.798, allocations: 7.055 MB / 2.133 GB, free: 47.57 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/7.798, allocations: 0 / 2.133 GB, free: 47.57 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00708/7.805, allocations: 2.633 MB / 2.135 GB, free: 47.15 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002575/7.808, allocations: 0.5719 MB / 2.136 GB, free: 46.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/7.809, allocations: 30.27 kB / 2.136 GB, free: 46.89 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004063/7.813, allocations: 151.9 kB / 2.136 GB, free: 46.88 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005709/7.814, allocations: 96.61 kB / 2.136 GB, free: 46.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002474/7.814, allocations: 57.19 kB / 2.136 GB, free: 46.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.004576/7.819, allocations: 1.535 MB / 2.138 GB, free: 46.72 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.443e-06/7.819, allocations: 0 / 2.138 GB, free: 46.72 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01076/7.83, allocations: 1.997 MB / 2.139 GB, free: 46.4 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 () * 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.01175/7.842, allocations: 4.853 MB / 2.144 GB, free: 45.07 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00794/7.85, allocations: 3.624 MB / 2.148 GB, free: 43.84 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.818e-06/7.85, allocations: 6.781 kB / 2.148 GB, free: 43.84 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002414/7.852, allocations: 1.203 MB / 2.149 GB, free: 43.38 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01162/7.864, allocations: 1.344 MB / 2.15 GB, free: 43.35 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/7.879, allocations: 4.839 MB / 2.155 GB, free: 42.11 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003553/7.883, allocations: 1.803 MB / 2.157 GB, free: 57.37 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00719/7.89, allocations: 0.7779 MB / 2.157 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002364/7.893, allocations: 1.113 MB / 2.159 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of SimCode: time 1.572e-06/7.893, allocations: 2.594 kB / 2.159 GB, free: 57.33 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2378/8.13, allocations: 96.27 MB / 2.253 GB, free: 52.84 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/8.131, allocations: 289.3 kB / 2.253 GB, free: 52.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/15.76, allocations: 4 kB / 2.253 GB, free: 52.5 MB / 0.8698 GB