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.157/2.157, allocations: 251 MB / 265.9 MB, free: 11.7 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00158/0.00158, allocations: 182 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.318/2.318, allocations: 205.4 MB / 0.5764 GB, free: 20.8 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.001187/0.001186, allocations: 97.75 kB / 0.6809 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006494/0.0006494, allocations: 15.59 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/0.2131, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.484/1.697, allocations: 407.4 MB / 1.297 GB, free: 10.03 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004354/1.697, allocations: 116.5 kB / 1.297 GB, free: 9.957 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 14.78/16.48, allocations: 2.797 GB / 4.094 GB, free: 50.66 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.546e-06/16.48, allocations: 4 kB / 4.094 GB, free: 50.66 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.003718/16.48, allocations: 303.8 kB / 4.094 GB, free: 50.36 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.06387/16.54, allocations: 14.24 MB / 4.108 GB, free: 36 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/16.54, allocations: 11.97 kB / 4.108 GB, free: 35.99 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006455/16.55, allocations: 1.146 MB / 4.109 GB, free: 34.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/16.56, allocations: 1.622 MB / 4.111 GB, free: 33.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06647/16.63, allocations: 18.78 MB / 4.129 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/16.63, allocations: 0.6359 MB / 4.13 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004796/16.63, allocations: 0.8553 MB / 4.131 GB, free: 12.87 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0447/16.68, allocations: 11.95 MB / 4.142 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00081/16.68, allocations: 31.67 kB / 4.142 GB, free: 0.5898 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003994/16.68, allocations: 356 kB / 4.143 GB, free: 248 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/16.68, allocations: 204 kB / 4.143 GB, free: 44 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.536/18.22, allocations: 10.26 MB / 4.153 GB, free: 98.91 MB / 0.9168 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.1306/18.35, allocations: 51.44 MB / 4.203 GB, free: 85.42 MB / 0.9168 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01514/18.36, allocations: 5.842 MB / 4.209 GB, free: 85.31 MB / 0.9168 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002938/18.37, allocations: 2.184 MB / 4.211 GB, free: 82.96 MB / 0.9168 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001216/18.37, allocations: 99.27 kB / 4.211 GB, free: 82.92 MB / 0.9168 GB Notification: Performance of pre-optimization done (n=482): time 8.326e-06/18.37, allocations: 0 / 4.211 GB, free: 82.92 MB / 0.9168 GB Notification: Performance of matching and sorting (n=482): time 0.04247/18.41, allocations: 12.57 MB / 4.223 GB, free: 80.03 MB / 0.9168 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/18.41, allocations: 366.4 kB / 4.224 GB, free: 79.65 MB / 0.9168 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04719/18.46, allocations: 14.73 MB / 4.238 GB, free: 79.05 MB / 0.9168 GB Notification: Performance of collectPreVariables (initialization): time 0.001993/18.46, allocations: 139.2 kB / 4.238 GB, free: 79.02 MB / 0.9168 GB Notification: Performance of collectInitialEqns (initialization): time 0.01283/18.47, allocations: 6.009 MB / 4.244 GB, free: 77.95 MB / 0.9168 GB Notification: Performance of collectInitialBindings (initialization): time 0.004097/18.48, allocations: 1.705 MB / 4.246 GB, free: 77.1 MB / 0.9168 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001747/18.48, allocations: 129.6 kB / 4.246 GB, free: 77.1 MB / 0.9168 GB Notification: Performance of setup shared object (initialization): time 0.0009101/18.48, allocations: 0.5748 MB / 4.247 GB, free: 76.78 MB / 0.9168 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/18.49, allocations: 3.508 MB / 4.25 GB, free: 76.76 MB / 0.9168 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01365/18.5, allocations: 5.717 MB / 4.256 GB, free: 74.59 MB / 0.9168 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01275/18.52, allocations: 4.602 MB / 4.26 GB, free: 74.48 MB / 0.9168 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.406e-05/18.52, allocations: 9.969 kB / 4.26 GB, free: 74.48 MB / 0.9168 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03666/18.55, allocations: 10.93 MB / 4.271 GB, free: 73.49 MB / 0.9168 GB Notification: Performance of prepare postOptimizeDAE: time 0.008318/18.56, allocations: 25.4 MB / 4.296 GB, free: 63.22 MB / 0.9324 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004053/18.56, allocations: 69.31 kB / 4.296 GB, free: 63.22 MB / 0.9324 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00382/18.57, allocations: 1.02 MB / 4.297 GB, free: 63.06 MB / 0.9324 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01085/18.58, allocations: 1.451 MB / 4.298 GB, free: 63.06 MB / 0.9324 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03683/18.61, allocations: 33.32 MB / 4.331 GB, free: 52.45 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02045/18.63, allocations: 1.514 MB / 4.332 GB, free: 52.23 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002175/18.64, allocations: 277.5 kB / 4.332 GB, free: 52.23 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/18.64, allocations: 3.875 kB / 4.332 GB, free: 52.23 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03145/18.67, allocations: 9.823 MB / 4.342 GB, free: 51.87 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004183/18.67, allocations: 71.14 kB / 4.342 GB, free: 51.87 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003339/18.67, allocations: 0.9931 MB / 4.343 GB, free: 51.71 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01092/18.68, allocations: 1.443 MB / 4.344 GB, free: 51.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03902/18.72, allocations: 33.63 MB / 4.377 GB, free: 41.11 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0197/18.74, allocations: 1.408 MB / 4.379 GB, free: 40.8 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002132/18.74, allocations: 278.2 kB / 4.379 GB, free: 40.8 MB / 0.9637 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 () * Number of clocked 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.01572/18.76, allocations: 5.396 MB / 4.384 GB, free: 39.95 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005295/18.77, allocations: 1.161 MB / 4.385 GB, free: 39.34 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02843/18.79, allocations: 8.384 MB / 4.393 GB, free: 36.13 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.828e-05/18.79, allocations: 54.41 kB / 4.393 GB, free: 36.12 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.84e-05/18.79, allocations: 11.34 kB / 4.393 GB, free: 36.12 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01973/18.81, allocations: 6.49 MB / 4.4 GB, free: 33.66 MB / 0.9637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09611/18.91, allocations: 44.13 MB / 4.443 GB, free: 17.99 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.596e-05/18.91, allocations: 7.844 kB / 4.443 GB, free: 17.99 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009027/18.92, allocations: 1.068 MB / 4.444 GB, free: 17.96 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003466/18.92, allocations: 0.9703 MB / 4.445 GB, free: 17.57 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001288/18.92, allocations: 152.8 kB / 4.445 GB, free: 17.49 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03596/18.96, allocations: 33.47 MB / 4.478 GB, free: 19.17 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.227e-05/18.96, allocations: 13.84 kB / 4.478 GB, free: 19.17 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03446/18.99, allocations: 15.72 MB / 4.493 GB, free: 9.879 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01203/19.01, allocations: 2.959 MB / 4.496 GB, free: 8.191 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006275/19.01, allocations: 131.2 kB / 4.496 GB, free: 8.113 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0165/19.03, allocations: 0.6653 MB / 4.497 GB, free: 7.984 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001697/19.03, allocations: 354 kB / 4.497 GB, free: 7.918 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009618/19.03, allocations: 196.2 kB / 4.497 GB, free: 7.879 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.03642/19.07, allocations: 12.07 MB / 4.509 GB, free: 3.73 MB / 1.011 GB Notification: Performance of sort global known variables: time 7.12e-07/19.07, allocations: 0 / 4.509 GB, free: 3.73 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.04051/19.11, allocations: 6.516 MB / 4.515 GB, free: 2.773 MB / 1.011 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 () * Number of clocked 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.8733/19.98, allocations: 17.62 MB / 4.533 GB, free: 171.4 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.04358/20.03, allocations: 18.03 MB / 4.55 GB, free: 166.2 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.2e-05/20.03, allocations: 5.406 kB / 4.55 GB, free: 166.2 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01225/20.04, allocations: 5.69 MB / 4.556 GB, free: 164 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06331/20.1, allocations: 7.965 MB / 4.564 GB, free: 163.9 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1203/20.22, allocations: 71.43 MB / 4.633 GB, free: 118.6 MB / 1.011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02331/20.25, allocations: 9.537 MB / 4.643 GB, free: 117.4 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 0.03627/20.28, allocations: 6.74 MB / 4.649 GB, free: 117 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01832/20.3, allocations: 5.625 MB / 4.655 GB, free: 117 MB / 1.011 GB Notification: Performance of SimCode: time 1.903e-06/20.3, allocations: 0 / 4.655 GB, free: 117 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.719/22.02, allocations: 398.3 MB / 5.044 GB, free: 166.5 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/22.02, allocations: 295.2 kB / 5.044 GB, free: 166.1 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.88/43.9, allocations: 0 / 5.044 GB, free: 166.1 MB / 1.011 GB