Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.203 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001206/0.001206, allocations: 180.9 kB / 377.1 MB, free: 1.535 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.985/1.985, allocations: 205.4 MB / 0.6367 GB, free: 8.645 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00101/0.001009, allocations: 92.22 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000404/0.000404, allocations: 8 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3086, allocations: 116.3 MB / 0.9884 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.769/2.077, allocations: 413.2 MB / 1.392 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/2.078, allocations: 130.3 kB / 1.392 GB, free: 253.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 1.614/3.692, allocations: 477.3 MB / 1.858 GB, free: 167.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.206e-06/3.692, allocations: 0 / 1.858 GB, free: 167.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003374/3.692, allocations: 51.64 kB / 1.858 GB, free: 167.4 MB / 0.948 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.008861/3.701, allocations: 2.264 MB / 1.86 GB, free: 166.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/3.701, allocations: 9.594 kB / 1.86 GB, free: 166.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001411/3.702, allocations: 208 kB / 1.861 GB, free: 166 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005861/3.708, allocations: 1.705 MB / 1.862 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001518/3.708, allocations: 87.23 kB / 1.862 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000541/3.709, allocations: 113.8 kB / 1.862 GB, free: 165.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003143/3.712, allocations: 1.072 MB / 1.864 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.047e-05/3.712, allocations: 3.938 kB / 1.864 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/3.712, allocations: 46.75 kB / 1.864 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.782e-05/3.712, allocations: 28.22 kB / 1.864 GB, free: 165.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001996/3.714, allocations: 0.7936 MB / 1.864 GB, free: 165.5 MB / 0.948 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.01005/3.724, allocations: 6.485 MB / 1.871 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000876/3.725, allocations: 0.5506 MB / 1.871 GB, free: 161.8 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009086/3.726, allocations: 1.264 MB / 1.872 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/3.726, allocations: 43.12 kB / 1.872 GB, free: 160.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=68): time 4.749e-06/3.726, allocations: 0 / 1.872 GB, free: 160.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=68): time 0.002123/3.728, allocations: 1.156 MB / 1.874 GB, free: 160 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/3.729, allocations: 87.7 kB / 1.874 GB, free: 159.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001901/3.73, allocations: 1.37 MB / 1.875 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001222/3.731, allocations: 43.8 kB / 1.875 GB, free: 159.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005075/3.731, allocations: 0.7131 MB / 1.876 GB, free: 159.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/3.731, allocations: 241.6 kB / 1.876 GB, free: 159.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/3.731, allocations: 18.16 kB / 1.876 GB, free: 159.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/3.731, allocations: 346 kB / 1.876 GB, free: 159 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/3.732, allocations: 267.1 kB / 1.877 GB, free: 159 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005249/3.732, allocations: 0.4943 MB / 1.877 GB, free: 158.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005322/3.733, allocations: 341.4 kB / 1.877 GB, free: 158.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/3.733, allocations: 9.281 kB / 1.877 GB, free: 158.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001631/3.735, allocations: 0.9826 MB / 1.878 GB, free: 158.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002914/3.735, allocations: 1.353 MB / 1.88 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/3.735, allocations: 6.531 kB / 1.88 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002912/3.735, allocations: 73.89 kB / 1.88 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006087/3.736, allocations: 177.8 kB / 1.88 GB, free: 157.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/3.738, allocations: 3.005 MB / 1.883 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001602/3.739, allocations: 146.3 kB / 1.883 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.545e-05/3.739, allocations: 38.8 kB / 1.883 GB, free: 154.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/3.739, allocations: 3.844 kB / 1.883 GB, free: 154.5 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001343/3.741, allocations: 0.8157 MB / 1.884 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/3.741, allocations: 7.031 kB / 1.884 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/3.741, allocations: 66.92 kB / 1.884 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005728/3.742, allocations: 176.2 kB / 1.884 GB, free: 154.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/3.743, allocations: 2.976 MB / 1.887 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/3.745, allocations: 133.1 kB / 1.887 GB, free: 151.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.685e-05/3.745, allocations: 40.58 kB / 1.887 GB, free: 151.3 MB / 0.948 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 () * Number of clocked 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.001039/3.746, allocations: 453.1 kB / 1.888 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004125/3.746, allocations: 156.3 kB / 1.888 GB, free: 150.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001931/3.748, allocations: 0.9868 MB / 1.889 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.998e-05/3.748, allocations: 14.83 kB / 1.889 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/3.748, allocations: 0 / 1.889 GB, free: 150.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009712/3.749, allocations: 0.7842 MB / 1.89 GB, free: 150 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005078/3.754, allocations: 2.639 MB / 1.892 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/3.754, allocations: 3.906 kB / 1.892 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000527/3.755, allocations: 134.5 kB / 1.892 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002154/3.755, allocations: 78.25 kB / 1.892 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.934e-05/3.755, allocations: 18.97 kB / 1.892 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001742/3.757, allocations: 2.99 MB / 1.895 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/3.757, allocations: 7.797 kB / 1.895 GB, free: 145.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002313/3.759, allocations: 1.595 MB / 1.897 GB, free: 144.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/3.76, allocations: 377.5 kB / 1.897 GB, free: 144.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/3.761, allocations: 22.41 kB / 1.897 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007658/3.761, allocations: 52.61 kB / 1.897 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001074/3.762, allocations: 63.95 kB / 1.897 GB, free: 144.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/3.762, allocations: 26.52 kB / 1.897 GB, free: 144.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001677/3.763, allocations: 1.094 MB / 1.898 GB, free: 143.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/3.763, allocations: 0 / 1.898 GB, free: 143.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004697/3.768, allocations: 1.195 MB / 1.9 GB, free: 143.6 MB / 0.948 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 () * Number of clocked 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.003319/3.771, allocations: 1.286 MB / 1.901 GB, free: 143.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002579/3.774, allocations: 1.66 MB / 1.902 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/3.774, allocations: 0 / 1.902 GB, free: 142.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007012/3.775, allocations: 0.5979 MB / 1.903 GB, free: 141.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004411/3.779, allocations: 0.8131 MB / 1.904 GB, free: 141.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005197/3.784, allocations: 3.467 MB / 1.907 GB, free: 139.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007957/3.785, allocations: 1.303 MB / 1.908 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001903/3.787, allocations: 371.7 kB / 1.909 GB, free: 139.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/3.787, allocations: 135.1 kB / 1.909 GB, free: 139.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.725e-06/3.787, allocations: 0 / 1.909 GB, free: 139.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06269/3.85, allocations: 40.43 MB / 1.948 GB, free: 131.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)