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.InternalHEXTwoUTube.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.InternalHEXTwoUTube,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXTwoUTube",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.346/2.346, allocations: 248.5 MB / 261.1 MB, free: 6.059 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.001542/0.001541, allocations: 188.1 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/2, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001609/0.001609, allocations: 99.42 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.35e-05/4.358e-05, allocations: 4 kB / 0.787 GB, free: 97.75 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 106.2 MB / 0.8907 GB, free: 7.402 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.913/2.132, allocations: 422.7 MB / 1.304 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004782/2.133, allocations: 123.1 kB / 1.304 GB, free: 258.2 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.564/7.697, allocations: 1.021 GB / 2.325 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.174e-06/7.697, allocations: 0 / 2.325 GB, free: 112.6 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.0005196/7.698, allocations: 84.59 kB / 2.325 GB, free: 112.6 MB / 0.9011 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.01158/7.709, allocations: 3.054 MB / 2.328 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/7.709, allocations: 10.75 kB / 2.328 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001101/7.71, allocations: 297.2 kB / 2.328 GB, free: 111.4 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002123/7.712, allocations: 368.5 kB / 2.328 GB, free: 111.2 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01072/7.723, allocations: 2.904 MB / 2.331 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001952/7.723, allocations: 159.4 kB / 2.331 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007206/7.724, allocations: 220.4 kB / 2.332 GB, free: 110.6 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006507/7.731, allocations: 2.079 MB / 2.334 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.681e-05/7.731, allocations: 5.25 kB / 2.334 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/7.731, allocations: 85.62 kB / 2.334 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/7.731, allocations: 55.75 kB / 2.334 GB, free: 110.4 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00546/7.737, allocations: 1.566 MB / 2.335 GB, free: 110.3 MB / 0.9011 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.02277/7.76, allocations: 8.85 MB / 2.344 GB, free: 107.6 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003161/7.763, allocations: 1.328 MB / 2.345 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/7.765, allocations: 0.8665 MB / 2.346 GB, free: 107.3 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002967/7.768, allocations: 2.917 MB / 2.349 GB, free: 104 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.836e-05/7.768, allocations: 52.31 kB / 2.349 GB, free: 104 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=148): time 5.119e-06/7.768, allocations: 0 / 2.349 GB, free: 104 MB / 0.9011 GB Notification: Performance of matching and sorting (n=148): time 0.00579/7.774, allocations: 1.546 MB / 2.35 GB, free: 103.7 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.353e-05/7.774, allocations: 94.08 kB / 2.35 GB, free: 103.6 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005886/7.78, allocations: 1.991 MB / 2.352 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0005473/7.781, allocations: 59.48 kB / 2.352 GB, free: 103.4 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.001675/7.782, allocations: 1.205 MB / 2.354 GB, free: 103 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009752/7.783, allocations: 0.5077 MB / 2.354 GB, free: 102.7 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000165/7.784, allocations: 33.62 kB / 2.354 GB, free: 102.7 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001662/7.784, allocations: 376.1 kB / 2.355 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/7.785, allocations: 0.5145 MB / 2.355 GB, free: 102.4 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/7.787, allocations: 0.8823 MB / 2.356 GB, free: 102 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/7.79, allocations: 0.6778 MB / 2.357 GB, free: 102 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/7.79, allocations: 6.094 kB / 2.357 GB, free: 102 MB / 0.9011 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.006666/7.796, allocations: 1.941 MB / 2.358 GB, free: 101.7 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008267/7.797, allocations: 2.73 MB / 2.361 GB, free: 98.84 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.16e-05/7.797, allocations: 10.84 kB / 2.361 GB, free: 98.84 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/7.798, allocations: 227.8 kB / 2.361 GB, free: 98.8 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002689/7.801, allocations: 349.2 kB / 2.362 GB, free: 98.8 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005933/7.807, allocations: 7.04 MB / 2.369 GB, free: 92.43 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004384/7.812, allocations: 283.8 kB / 2.369 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005242/7.812, allocations: 74.19 kB / 2.369 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/7.812, allocations: 3.688 kB / 2.369 GB, free: 92.34 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004973/7.817, allocations: 1.68 MB / 2.371 GB, free: 92.23 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-05/7.817, allocations: 13.28 kB / 2.371 GB, free: 92.23 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007963/7.818, allocations: 210 kB / 2.371 GB, free: 92.19 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002618/7.821, allocations: 346.9 kB / 2.371 GB, free: 92.19 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/7.829, allocations: 8.972 MB / 2.38 GB, free: 84.18 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/7.833, allocations: 268.4 kB / 2.38 GB, free: 84.1 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005022/7.834, allocations: 69.64 kB / 2.38 GB, free: 84.1 MB / 0.9011 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.0006043/7.834, allocations: 199.3 kB / 2.38 GB, free: 83.99 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001124/7.835, allocations: 255.9 kB / 2.381 GB, free: 83.86 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006134/7.842, allocations: 2.023 MB / 2.383 GB, free: 83.66 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-05/7.842, allocations: 23.14 kB / 2.383 GB, free: 83.66 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/7.842, allocations: 0 / 2.383 GB, free: 83.66 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004073/7.846, allocations: 1.643 MB / 2.384 GB, free: 83.32 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01281/7.859, allocations: 4.49 MB / 2.389 GB, free: 82.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-05/7.859, allocations: 6.094 kB / 2.389 GB, free: 82.66 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002377/7.861, allocations: 283.9 kB / 2.389 GB, free: 82.66 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009913/7.862, allocations: 208.9 kB / 2.389 GB, free: 82.61 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000378/7.862, allocations: 41.09 kB / 2.389 GB, free: 82.61 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006216/7.869, allocations: 7.043 MB / 2.396 GB, free: 76.24 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/7.869, allocations: 7.375 kB / 2.396 GB, free: 76.24 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007428/7.876, allocations: 2.737 MB / 2.399 GB, free: 75.71 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/7.879, allocations: 0.5735 MB / 2.399 GB, free: 75.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009073/7.88, allocations: 29.47 kB / 2.399 GB, free: 75.46 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003316/7.883, allocations: 154.5 kB / 2.399 GB, free: 75.45 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003252/7.883, allocations: 110 kB / 2.4 GB, free: 75.45 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/7.884, allocations: 61 kB / 2.4 GB, free: 75.45 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.003791/7.887, allocations: 1.528 MB / 2.401 GB, free: 75.29 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.52e-07/7.887, allocations: 0 / 2.401 GB, free: 75.29 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0101/7.898, allocations: 1.992 MB / 2.403 GB, free: 74.98 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (140): * Single equations (assignments): 123 * 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.01191/7.91, allocations: 5.153 MB / 2.408 GB, free: 73.36 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.008108/7.918, allocations: 3.626 MB / 2.412 GB, free: 72.11 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/7.918, allocations: 12.31 kB / 2.412 GB, free: 72.11 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002479/7.92, allocations: 1.216 MB / 2.413 GB, free: 71.66 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01171/7.932, allocations: 1.339 MB / 2.414 GB, free: 71.64 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01555/7.948, allocations: 4.87 MB / 2.419 GB, free: 70.38 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001806/7.949, allocations: 1.801 MB / 2.421 GB, free: 69.63 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.005562/7.955, allocations: 0.7861 MB / 2.421 GB, free: 69.61 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002265/7.957, allocations: 1.1 MB / 2.422 GB, free: 69.6 MB / 0.9011 GB Notification: Performance of SimCode: time 1.794e-06/7.957, allocations: 0 / 2.422 GB, free: 69.6 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2289/8.186, allocations: 96.09 MB / 2.516 GB, free: 58.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/8.187, allocations: 276 kB / 2.517 GB, free: 57.77 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/15.41, allocations: 8.016 kB / 2.517 GB, free: 57.76 MB / 0.9011 GB