Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.801/1.801, allocations: 288.3 MB / 303.2 MB, free: 8.082 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.001262/0.001262, allocations: 181 kB / 371.9 MB, free: 10.29 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.739/1.739, allocations: 205.4 MB / 0.6306 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008002/0.0008003, allocations: 110.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003961/0.0003961, allocations: 15.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2749/0.2753, allocations: 115.3 MB / 0.9795 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.04781/0.3232, allocations: 54.49 MB / 1.033 GB, free: 5.035 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02311/0.3464, allocations: 14.37 MB / 1.047 GB, free: 6.641 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003181/0.3496, allocations: 55.62 kB / 1.047 GB, free: 6.586 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.004972/0.3546, allocations: 1.073 MB / 1.048 GB, free: 5.508 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.009389/0.364, allocations: 2.222 MB / 1.05 GB, free: 3.281 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.00929/0.3733, allocations: 2.786 MB / 1.053 GB, free: 0.5391 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006196/0.3795, allocations: 2.626 MB / 1.055 GB, free: 13.91 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002662/0.3822, allocations: 1.073 MB / 1.056 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00332/0.3856, allocations: 1.191 MB / 1.057 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002175/0.3878, allocations: 0.875 MB / 1.058 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0005757/0.3884, allocations: 76 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005815/0.3942, allocations: 1.947 MB / 1.06 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009975/0.3952, allocations: 338.7 kB / 1.061 GB, free: 8.379 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001483/0.3968, allocations: 404.8 kB / 1.061 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.008429/0.4052, allocations: 3.211 MB / 1.064 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.4053, allocations: 0 / 1.064 GB, free: 4.758 MB / 0.6823 GB Notification: Performance of FrontEnd: time 6.492e-06/0.4053, allocations: 3.938 kB / 1.064 GB, free: 4.754 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002263/0.4056, allocations: 0 / 1.064 GB, free: 4.754 MB / 0.6823 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.007825/0.4134, allocations: 2.051 MB / 1.066 GB, free: 2.645 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.484e-05/0.4135, allocations: 8.031 kB / 1.066 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.4147, allocations: 209.6 kB / 1.066 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003936/0.4186, allocations: 1.403 MB / 1.068 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000111/0.4187, allocations: 82.08 kB / 1.068 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003351/0.4191, allocations: 116 kB / 1.068 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5521/0.9712, allocations: 1.085 MB / 1.069 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.37e-05/0.9713, allocations: 2.219 kB / 1.069 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001488/0.9714, allocations: 43.31 kB / 1.069 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-05/0.9715, allocations: 25.28 kB / 1.069 GB, free: 89.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001926/0.9734, allocations: 0.8285 MB / 1.07 GB, free: 89.06 MB / 0.6823 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.01437/0.9878, allocations: 6.847 MB / 1.077 GB, free: 83.86 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001494/0.9894, allocations: 0.7375 MB / 1.077 GB, free: 83.43 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00138/0.9908, allocations: 1.272 MB / 1.079 GB, free: 82.01 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.848e-05/0.9909, allocations: 43.34 kB / 1.079 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 4.849e-06/0.9909, allocations: 0 / 1.079 GB, free: 81.96 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.003802/0.9947, allocations: 1.168 MB / 1.08 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.733e-05/0.9948, allocations: 85.72 kB / 1.08 GB, free: 81.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005454/1, allocations: 1.526 MB / 1.081 GB, free: 80.67 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004272/1.001, allocations: 42.67 kB / 1.081 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001033/1.002, allocations: 0.7057 MB / 1.082 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005243/1.002, allocations: 256.7 kB / 1.082 GB, free: 79.88 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/1.002, allocations: 15.25 kB / 1.082 GB, free: 79.87 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001912/1.003, allocations: 344 kB / 1.083 GB, free: 79.55 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000828/1.003, allocations: 276.7 kB / 1.083 GB, free: 79.45 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/1.005, allocations: 495.3 kB / 1.083 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001026/1.006, allocations: 358 kB / 1.084 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.124e-05/1.006, allocations: 0.6562 kB / 1.084 GB, free: 78.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.003161/1.009, allocations: 1.014 MB / 1.085 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004326/1.009, allocations: 1.352 MB / 1.086 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.829e-05/1.009, allocations: 7.438 kB / 1.086 GB, free: 77.05 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/1.01, allocations: 76.66 kB / 1.086 GB, free: 77.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/1.01, allocations: 189.3 kB / 1.086 GB, free: 77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.013, allocations: 2.991 MB / 1.089 GB, free: 74.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/1.015, allocations: 157.8 kB / 1.089 GB, free: 74.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/1.015, allocations: 39.89 kB / 1.089 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.015, allocations: 3.062 kB / 1.089 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001677/1.016, allocations: 0.844 MB / 1.09 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.821e-05/1.016, allocations: 6.172 kB / 1.09 GB, free: 73.66 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001604/1.017, allocations: 64.59 kB / 1.09 GB, free: 73.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007438/1.017, allocations: 193.1 kB / 1.09 GB, free: 73.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001818/1.019, allocations: 2.977 MB / 1.093 GB, free: 70.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001443/1.021, allocations: 143 kB / 1.093 GB, free: 70.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.095e-05/1.021, allocations: 34.75 kB / 1.093 GB, free: 70.64 MB / 0.6823 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 (107): * Single equations (assignments): 104 * 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.001/1.022, allocations: 451.3 kB / 1.094 GB, free: 70.31 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003823/1.022, allocations: 158.4 kB / 1.094 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002075/1.024, allocations: 1.05 MB / 1.095 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.024, allocations: 9.312 kB / 1.095 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/1.024, allocations: 1.188 kB / 1.095 GB, free: 69.77 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/1.026, allocations: 0.7837 MB / 1.096 GB, free: 69.35 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005311/1.031, allocations: 2.706 MB / 1.099 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.285e-05/1.031, allocations: 5.297 kB / 1.099 GB, free: 67.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.032, allocations: 137.4 kB / 1.099 GB, free: 67.88 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002215/1.032, allocations: 77.78 kB / 1.099 GB, free: 67.84 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-05/1.032, allocations: 22.48 kB / 1.099 GB, free: 67.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001909/1.034, allocations: 2.992 MB / 1.102 GB, free: 64.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.767e-06/1.034, allocations: 9.359 kB / 1.102 GB, free: 64.91 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002485/1.036, allocations: 1.624 MB / 1.103 GB, free: 63.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009291/1.037, allocations: 403.2 kB / 1.104 GB, free: 63.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000202/1.037, allocations: 25.59 kB / 1.104 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007027/1.038, allocations: 48.73 kB / 1.104 GB, free: 63.48 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/1.038, allocations: 62.62 kB / 1.104 GB, free: 63.47 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.989e-05/1.038, allocations: 34.7 kB / 1.104 GB, free: 63.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001921/1.04, allocations: 1.081 MB / 1.105 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/1.04, allocations: 3.938 kB / 1.105 GB, free: 63.03 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004682/1.045, allocations: 1.095 MB / 1.106 GB, free: 62.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (72): * Single equations (assignments): 63 * 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.002407/1.047, allocations: 0.8342 MB / 1.107 GB, free: 62.64 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003462/1.051, allocations: 1.685 MB / 1.108 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.395e-06/1.051, allocations: 1.375 kB / 1.108 GB, free: 61.71 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/1.052, allocations: 0.5978 MB / 1.109 GB, free: 61.35 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/1.057, allocations: 0.8098 MB / 1.11 GB, free: 61.13 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006268/1.063, allocations: 3.457 MB / 1.113 GB, free: 59.01 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001215/1.065, allocations: 1.305 MB / 1.114 GB, free: 58.25 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002228/1.067, allocations: 371.4 kB / 1.115 GB, free: 58.18 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003158/1.067, allocations: 122.1 kB / 1.115 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of SimCode: time 1.262e-06/1.067, allocations: 1.281 kB / 1.115 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of Templates: time 0.06537/1.132, allocations: 37.58 MB / 1.152 GB, free: 31.16 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)