Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_Examples_BoreholeOneUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.42/2.42, allocations: 248.5 MB / 261 MB, free: 6.074 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001617/0.001616, allocations: 182.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.158/2.158, allocations: 205.2 MB / 0.571 GB, free: 11.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 106.2 kB / 0.6754 GB, free: 0.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.078e-05/4.088e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.77 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2055, allocations: 106.2 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.98/2.186, allocations: 407.4 MB / 1.289 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006482/2.187, allocations: 113.7 kB / 1.289 GB, free: 258.5 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 15.29/17.47, allocations: 2.788 GB / 4.076 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.893e-06/17.48, allocations: 1.906 kB / 4.076 GB, free: 118.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003914/17.48, allocations: 307.5 kB / 4.077 GB, free: 118.5 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.04536/17.52, allocations: 10.85 MB / 4.087 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/17.52, allocations: 13.25 kB / 4.087 GB, free: 114.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006205/17.53, allocations: 1.137 MB / 4.088 GB, free: 114.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/17.54, allocations: 1.622 MB / 4.09 GB, free: 113.3 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06922/17.61, allocations: 18.67 MB / 4.108 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001105/17.61, allocations: 0.638 MB / 4.109 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004813/17.62, allocations: 0.856 MB / 4.11 GB, free: 111.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04547/17.66, allocations: 11.82 MB / 4.121 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008026/17.66, allocations: 32.05 kB / 4.121 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004522/17.67, allocations: 357.5 kB / 4.122 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002132/17.67, allocations: 206 kB / 4.122 GB, free: 110.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03733/17.71, allocations: 10.09 MB / 4.132 GB, free: 110.5 MB / 0.9167 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.1391/17.85, allocations: 51.44 MB / 4.182 GB, free: 91.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01604/17.86, allocations: 5.789 MB / 4.188 GB, free: 89.01 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01068/17.87, allocations: 3.855 MB / 4.191 GB, free: 87.56 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003083/17.88, allocations: 2.183 MB / 4.194 GB, free: 85.19 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001802/17.88, allocations: 96.39 kB / 4.194 GB, free: 85.11 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=482): time 9.558e-06/17.88, allocations: 0 / 4.194 GB, free: 85.11 MB / 0.9167 GB Notification: Performance of matching and sorting (n=482): time 0.02799/17.9, allocations: 7.435 MB / 4.201 GB, free: 82.22 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001703/17.9, allocations: 363.6 kB / 4.201 GB, free: 81.84 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04719/17.95, allocations: 14.59 MB / 4.215 GB, free: 76.89 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.002073/17.95, allocations: 132.7 kB / 4.216 GB, free: 76.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01252/17.97, allocations: 6.02 MB / 4.221 GB, free: 72.12 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.00373/17.97, allocations: 1.705 MB / 4.223 GB, free: 70.81 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001204/17.97, allocations: 126.8 kB / 4.223 GB, free: 70.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0007644/17.97, allocations: 0.572 MB / 4.224 GB, free: 70.29 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01039/17.98, allocations: 3.462 MB / 4.227 GB, free: 69.03 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01368/18, allocations: 5.676 MB / 4.233 GB, free: 65.37 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/18.01, allocations: 4.584 MB / 4.237 GB, free: 63.66 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.351e-05/18.01, allocations: 12 kB / 4.237 GB, free: 63.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03614/18.05, allocations: 10.84 MB / 4.248 GB, free: 54.16 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.008311/18.05, allocations: 25.33 MB / 4.273 GB, free: 43.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004321/18.05, allocations: 64.94 kB / 4.273 GB, free: 43.42 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003987/18.06, allocations: 1.019 MB / 4.274 GB, free: 42.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/18.07, allocations: 1.449 MB / 4.275 GB, free: 41.27 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03614/18.11, allocations: 33.04 MB / 4.307 GB, free: 23.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02098/18.13, allocations: 1.519 MB / 4.309 GB, free: 22.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002235/18.13, allocations: 274 kB / 4.309 GB, free: 21.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/18.13, allocations: 4 kB / 4.309 GB, free: 21.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02993/18.16, allocations: 9.738 MB / 4.319 GB, free: 13.32 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003736/18.16, allocations: 67.33 kB / 4.319 GB, free: 13.26 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003072/18.16, allocations: 0.9909 MB / 4.32 GB, free: 12.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01107/18.17, allocations: 1.448 MB / 4.321 GB, free: 11.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.532/19.71, allocations: 33.3 MB / 4.354 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02045/19.73, allocations: 1.404 MB / 4.355 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002344/19.73, allocations: 275.6 kB / 4.355 GB, free: 124.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (757): * Single equations (assignments): 727 * 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: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(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: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003838/19.73, allocations: 0.4895 MB / 4.356 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006095/19.74, allocations: 1.161 MB / 4.357 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03174/19.77, allocations: 8.309 MB / 4.365 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/19.77, allocations: 51.78 kB / 4.365 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-05/19.77, allocations: 10.31 kB / 4.365 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02294/19.79, allocations: 6.429 MB / 4.371 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.101/19.89, allocations: 44.06 MB / 4.414 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.365e-05/19.89, allocations: 10.47 kB / 4.414 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009412/19.9, allocations: 1.069 MB / 4.415 GB, free: 101.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003507/19.91, allocations: 0.9682 MB / 4.416 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001339/19.91, allocations: 157.9 kB / 4.416 GB, free: 101.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02952/19.94, allocations: 33.16 MB / 4.449 GB, free: 74.67 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/19.94, allocations: 15.41 kB / 4.449 GB, free: 74.67 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03299/19.97, allocations: 15.62 MB / 4.464 GB, free: 69.14 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01308/19.98, allocations: 2.958 MB / 4.467 GB, free: 68.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0063/19.99, allocations: 129.7 kB / 4.467 GB, free: 68.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01686/20.01, allocations: 0.6654 MB / 4.468 GB, free: 68.37 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001913/20.01, allocations: 354.3 kB / 4.468 GB, free: 68.36 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009369/20.01, allocations: 192.5 kB / 4.468 GB, free: 68.36 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.03493/20.05, allocations: 11.92 MB / 4.48 GB, free: 67.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.242e-06/20.05, allocations: 0 / 4.48 GB, free: 67.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.03891/20.09, allocations: 6.512 MB / 4.486 GB, free: 67.64 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(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: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03892/20.12, allocations: 17.54 MB / 4.503 GB, free: 61.76 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04257/20.17, allocations: 18.28 MB / 4.521 GB, free: 56.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.636e-05/20.17, allocations: 4.375 kB / 4.521 GB, free: 56.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01198/20.18, allocations: 5.631 MB / 4.527 GB, free: 54.25 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06613/20.24, allocations: 7.957 MB / 4.534 GB, free: 54.16 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1024/20.35, allocations: 30.45 MB / 4.564 GB, free: 49.07 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02134/20.37, allocations: 9.563 MB / 4.574 GB, free: 47.86 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.06405/20.43, allocations: 13.11 MB / 4.586 GB, free: 47.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01615/20.45, allocations: 5.383 MB / 4.592 GB, free: 43.59 MB / 0.948 GB Notification: Performance of SimCode: time 1.663e-06/20.45, allocations: 0 / 4.592 GB, free: 43.59 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.705/22.15, allocations: 418.8 MB / 5.001 GB, free: 9.023 MB / 0.9793 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/22.15, allocations: 259.7 kB / 5.001 GB, free: 8.688 MB / 0.9793 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.1/49.26, allocations: 0 / 5.001 GB, free: 8.688 MB / 0.9793 GB