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.58/1.58, allocations: 288.4 MB / 304.3 MB, free: 8.051 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.0009728/0.0009728, allocations: 178.9 kB / 372.9 MB, free: 10.15 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.37/1.37, allocations: 205.4 MB / 0.6316 GB, free: 9.926 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.0007229/0.0007229, allocations: 92.62 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 11.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1949, allocations: 115.3 MB / 0.9808 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube): time 0.04943/0.2443, allocations: 60.33 MB / 1.04 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.02117/0.2655, allocations: 15.46 MB / 1.055 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002894/0.2685, allocations: 55.62 kB / 1.055 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.003665/0.2722, allocations: 0.9261 MB / 1.056 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006398/0.2786, allocations: 2.011 MB / 1.058 GB, free: 12.34 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.006868/0.2855, allocations: 2.325 MB / 1.06 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.006447/0.2919, allocations: 4.941 MB / 1.065 GB, free: 5.094 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001942/0.2939, allocations: 1.179 MB / 1.066 GB, free: 3.883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.2968, allocations: 1.338 MB / 1.067 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002009/0.2988, allocations: 1.186 MB / 1.068 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002002/0.299, allocations: 80 kB / 1.068 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.4383/0.7374, allocations: 2.453 MB / 1.071 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.7386, allocations: 361 kB / 1.071 GB, free: 29.98 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00189/0.7405, allocations: 0.889 MB / 1.072 GB, free: 29.95 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.00707/0.7476, allocations: 3.415 MB / 1.075 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.7476, allocations: 1.5 kB / 1.075 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.825e-06/0.7477, allocations: 1.281 kB / 1.075 GB, free: 29.87 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.77e-05/0.7477, allocations: 2.625 kB / 1.075 GB, free: 29.87 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.005858/0.7536, allocations: 2.051 MB / 1.077 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/0.7537, allocations: 9.844 kB / 1.077 GB, free: 28.74 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006921/0.7544, allocations: 213 kB / 1.078 GB, free: 28.64 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/0.7573, allocations: 1.51 MB / 1.079 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.679e-05/0.7574, allocations: 82.48 kB / 1.079 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001893/0.7576, allocations: 111.1 kB / 1.079 GB, free: 28.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002203/0.7598, allocations: 1.1 MB / 1.08 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.7598, allocations: 0.9062 kB / 1.08 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.543e-05/0.7599, allocations: 47.12 kB / 1.08 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.808e-05/0.76, allocations: 28 kB / 1.08 GB, free: 28.05 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.7617, allocations: 0.8238 MB / 1.081 GB, free: 28.03 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.009008/0.7707, allocations: 6.818 MB / 1.088 GB, free: 23.98 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.7718, allocations: 0.7449 MB / 1.089 GB, free: 23.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/0.7724, allocations: 364.2 kB / 1.089 GB, free: 23.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009386/0.7733, allocations: 1.278 MB / 1.09 GB, free: 22.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.7734, allocations: 37.62 kB / 1.09 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=72): time 3.767e-06/0.7734, allocations: 1.094 kB / 1.09 GB, free: 22.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=72): time 0.002511/0.7759, allocations: 1.181 MB / 1.091 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.776, allocations: 84.67 kB / 1.092 GB, free: 21.88 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/0.7783, allocations: 1.483 MB / 1.093 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.7784, allocations: 39.33 kB / 1.093 GB, free: 21.67 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005664/0.779, allocations: 0.7097 MB / 1.094 GB, free: 21.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002477/0.7792, allocations: 252.5 kB / 1.094 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.934e-05/0.7793, allocations: 16.72 kB / 1.094 GB, free: 21.29 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.122e-05/0.7794, allocations: 348.8 kB / 1.094 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000477/0.7798, allocations: 274.4 kB / 1.095 GB, free: 20.98 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006184/0.7805, allocations: 495.1 kB / 1.095 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.7815, allocations: 0.7137 MB / 1.096 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7815, allocations: 1.125 kB / 1.096 GB, free: 20.64 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116) (initialization): time 0.00211/0.7836, allocations: 1.007 MB / 1.097 GB, free: 20.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.536e-05/0.7838, allocations: 194.7 kB / 1.097 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.7838, allocations: 6.844 kB / 1.097 GB, free: 20.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003013/0.7841, allocations: 74.81 kB / 1.097 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007012/0.7848, allocations: 195.8 kB / 1.097 GB, free: 20.27 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002196/0.787, allocations: 2.979 MB / 1.1 GB, free: 17.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001777/0.7888, allocations: 160.7 kB / 1.1 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.789, allocations: 39.66 kB / 1.1 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.789, allocations: 3.656 kB / 1.1 GB, free: 17.53 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00162/0.7906, allocations: 0.8328 MB / 1.101 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.7906, allocations: 15.72 kB / 1.101 GB, free: 17.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001605/0.7908, allocations: 66.53 kB / 1.101 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/0.7914, allocations: 187.8 kB / 1.101 GB, free: 17.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001587/0.793, allocations: 2.961 MB / 1.104 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.7946, allocations: 140.9 kB / 1.104 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.009e-05/0.7947, allocations: 40.08 kB / 1.104 GB, free: 14.75 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.00104/0.7957, allocations: 451.6 kB / 1.105 GB, free: 14.56 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003772/0.7961, allocations: 157.2 kB / 1.105 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001852/0.7979, allocations: 1.049 MB / 1.106 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001014/0.799, allocations: 0.7749 MB / 1.107 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.799, allocations: 1.938 kB / 1.107 GB, free: 14.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009194/0.7999, allocations: 380.1 kB / 1.107 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.8002, allocations: 16.73 kB / 1.107 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00065/0.8008, allocations: 57.84 kB / 1.107 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.8009, allocations: 53.06 kB / 1.107 GB, free: 13.97 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001721/0.8027, allocations: 0.9434 MB / 1.108 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001923/0.8046, allocations: 1.388 MB / 1.11 GB, free: 13.48 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004708/0.8051, allocations: 340.5 kB / 1.11 GB, free: 13.47 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001781/0.8069, allocations: 1.023 MB / 1.111 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of Backend: time 7.01e-07/0.8069, allocations: 1 kB / 1.111 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006583/0.8135, allocations: 2.408 MB / 1.113 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of SimCode: time 0.006349/0.8199, allocations: 4.335 MB / 1.117 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of Templates: time 0.06373/0.8836, allocations: 40.44 MB / 1.157 GB, free: 6.402 MB / 0.698 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)