Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.BaseClasses.Examples.InternalHEXOneUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube",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.214/2.214, allocations: 248.5 MB / 261.1 MB, free: 5.934 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.001573/0.001573, allocations: 179.1 kB / 320.4 MB, free: 15.31 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.048/2.048, allocations: 205.2 MB / 0.571 GB, free: 11.76 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.001067/0.001067, allocations: 101.5 kB / 0.6754 GB, free: 0.8555 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.767e-05/3.776e-05, allocations: 4 kB / 0.787 GB, free: 97.73 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2054, allocations: 106.3 MB / 0.8907 GB, free: 7.379 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 2.124/2.329, allocations: 405.8 MB / 1.287 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004303/2.33, allocations: 124.2 kB / 1.287 GB, free: 257.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.307/4.636, allocations: 475.3 MB / 1.751 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.054e-06/4.637, allocations: 0 / 1.751 GB, free: 166.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0002537/4.637, allocations: 44.7 kB / 1.751 GB, free: 166.1 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.00637/4.643, allocations: 1.933 MB / 1.753 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/4.643, allocations: 9.469 kB / 1.753 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004874/4.644, allocations: 157.3 kB / 1.753 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009717/4.645, allocations: 212.1 kB / 1.754 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006074/4.651, allocations: 1.695 MB / 1.755 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.85e-05/4.651, allocations: 84.72 kB / 1.755 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003107/4.651, allocations: 114.6 kB / 1.755 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00275/4.654, allocations: 1.05 MB / 1.756 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.665e-05/4.654, allocations: 7.219 kB / 1.756 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/4.654, allocations: 38.62 kB / 1.756 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.035e-05/4.654, allocations: 28.91 kB / 1.756 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002325/4.657, allocations: 0.7806 MB / 1.757 GB, free: 162.2 MB / 0.8698 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.01315/4.67, allocations: 6.482 MB / 1.764 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/4.671, allocations: 0.5535 MB / 1.764 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007332/4.672, allocations: 342 kB / 1.764 GB, free: 156 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001314/4.674, allocations: 1.269 MB / 1.766 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.722e-05/4.674, allocations: 46.17 kB / 1.766 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=68): time 4.779e-06/4.674, allocations: 0 / 1.766 GB, free: 154.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=68): time 0.00253/4.676, allocations: 0.7099 MB / 1.766 GB, free: 154.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/4.676, allocations: 85.42 kB / 1.766 GB, free: 154 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003256/4.68, allocations: 1.359 MB / 1.768 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002677/4.68, allocations: 41.58 kB / 1.768 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007683/4.681, allocations: 0.7127 MB / 1.769 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003626/4.681, allocations: 245.3 kB / 1.769 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.341e-05/4.681, allocations: 15.28 kB / 1.769 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000109/4.681, allocations: 343.8 kB / 1.769 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007333/4.682, allocations: 260 kB / 1.769 GB, free: 152 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/4.683, allocations: 495.4 kB / 1.77 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/4.684, allocations: 356.1 kB / 1.77 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.924e-06/4.684, allocations: 0 / 1.77 GB, free: 151.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002923/4.687, allocations: 0.9633 MB / 1.771 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003766/4.687, allocations: 1.349 MB / 1.772 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.789e-05/4.687, allocations: 15.94 kB / 1.772 GB, free: 148.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004429/4.688, allocations: 72.06 kB / 1.773 GB, free: 148.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/4.689, allocations: 175.7 kB / 1.773 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002717/4.692, allocations: 2.965 MB / 1.776 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002472/4.694, allocations: 152.6 kB / 1.776 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003588/4.695, allocations: 39.98 kB / 1.776 GB, free: 145.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/4.695, allocations: 4 kB / 1.776 GB, free: 145.2 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002357/4.697, allocations: 0.7916 MB / 1.777 GB, free: 144.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/4.697, allocations: 10.66 kB / 1.777 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002708/4.698, allocations: 73.38 kB / 1.777 GB, free: 144.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001376/4.699, allocations: 179.7 kB / 1.777 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00272/4.702, allocations: 2.948 MB / 1.78 GB, free: 141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002448/4.704, allocations: 136.9 kB / 1.78 GB, free: 140.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003151/4.705, allocations: 39.98 kB / 1.78 GB, free: 140.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003782/4.705, allocations: 152.8 kB / 1.78 GB, free: 140.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006639/4.706, allocations: 161.9 kB / 1.78 GB, free: 140.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002939/4.709, allocations: 0.9684 MB / 1.781 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.238e-05/4.709, allocations: 11.98 kB / 1.781 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/4.709, allocations: 4 kB / 1.781 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001756/4.711, allocations: 0.7693 MB / 1.782 GB, free: 138.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007124/4.718, allocations: 2.635 MB / 1.784 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/4.718, allocations: 4 kB / 1.784 GB, free: 136 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001076/4.719, allocations: 131.8 kB / 1.785 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003462/4.719, allocations: 73.69 kB / 1.785 GB, free: 135.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.065e-05/4.719, allocations: 19.98 kB / 1.785 GB, free: 135.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002475/4.722, allocations: 2.982 MB / 1.788 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/4.722, allocations: 4 kB / 1.788 GB, free: 132.5 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003346/4.725, allocations: 1.571 MB / 1.789 GB, free: 130.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001268/4.727, allocations: 378.8 kB / 1.789 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003717/4.727, allocations: 14.62 kB / 1.789 GB, free: 130.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001414/4.728, allocations: 58.09 kB / 1.79 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001522/4.729, allocations: 63.22 kB / 1.79 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001016/4.729, allocations: 31.98 kB / 1.79 GB, free: 130.2 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002432/4.731, allocations: 1.068 MB / 1.791 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.31e-07/4.731, allocations: 0 / 1.791 GB, free: 129.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005475/4.737, allocations: 1.199 MB / 1.792 GB, free: 128 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.0081/4.745, allocations: 4.064 MB / 1.796 GB, free: 124 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003883/4.749, allocations: 1.692 MB / 1.797 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/4.749, allocations: 6.812 kB / 1.797 GB, free: 122.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/4.75, allocations: 0.5859 MB / 1.798 GB, free: 121.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006853/4.757, allocations: 0.8109 MB / 1.799 GB, free: 120.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008021/4.765, allocations: 2.8 MB / 1.802 GB, free: 118.1 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/4.766, allocations: 1.308 MB / 1.803 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003074/4.769, allocations: 0.511 MB / 1.803 GB, free: 116.3 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/4.77, allocations: 0.5969 MB / 1.804 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.593e-06/4.77, allocations: 0 / 1.804 GB, free: 115.7 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1476/4.918, allocations: 59.8 MB / 1.862 GB, free: 56.59 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/4.918, allocations: 273.7 kB / 1.863 GB, free: 56.25 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.463/10.38, allocations: 4.062 kB / 1.863 GB, free: 56.25 MB / 0.8698 GB