Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.684/1.684, allocations: 293 MB / 309 MB, free: 4.836 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.001052/0.001052, allocations: 182.1 kB / 378.7 MB, free: 1.035 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.661/1.661, allocations: 205.4 MB / 0.6383 GB, free: 8.168 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.000824/0.000824, allocations: 90.78 kB / 0.7527 GB, free: 62.37 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 16 kB / 0.8768 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2788/0.2793, allocations: 116.4 MB / 0.9905 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.501/1.781, allocations: 430.3 MB / 1.411 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003378/1.781, allocations: 128.6 kB / 1.411 GB, free: 277.9 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.211/4.992, allocations: 1.017 GB / 2.428 GB, free: 4.367 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.254e-06/4.992, allocations: 3.938 kB / 2.428 GB, free: 4.363 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000501/4.993, allocations: 75.98 kB / 2.428 GB, free: 4.289 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: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01364/5.006, allocations: 3.566 MB / 2.432 GB, free: 0.6406 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/5.007, allocations: 8.031 kB / 2.432 GB, free: 0.6328 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002078/5.009, allocations: 376.7 kB / 2.432 GB, free: 268 kB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009266/5.018, allocations: 2.882 MB / 2.435 GB, free: 13.3 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002343/5.018, allocations: 160.1 kB / 2.435 GB, free: 13.14 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000907/5.019, allocations: 227.9 kB / 2.435 GB, free: 12.92 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006475/5.026, allocations: 2.136 MB / 2.437 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001143/5.026, allocations: 7.938 kB / 2.437 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004844/5.026, allocations: 84 kB / 2.437 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.727e-05/5.026, allocations: 56 kB / 2.437 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00399/5.03, allocations: 1.609 MB / 2.439 GB, free: 8.906 MB / 0.9636 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.0178/5.048, allocations: 8.787 MB / 2.448 GB, free: 15.79 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002348/5.051, allocations: 1.364 MB / 2.449 GB, free: 14.38 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001433/5.052, allocations: 0.8739 MB / 2.45 GB, free: 13.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002888/5.055, allocations: 2.922 MB / 2.453 GB, free: 9.934 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/5.055, allocations: 47.88 kB / 2.453 GB, free: 9.879 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=148): time 6.582e-06/5.055, allocations: 4 kB / 2.453 GB, free: 9.875 MB / 0.9792 GB Notification: Performance of matching and sorting (n=148): time 0.006309/5.061, allocations: 2.759 MB / 2.455 GB, free: 6.977 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.261e-05/5.061, allocations: 102.4 kB / 2.455 GB, free: 6.859 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005479/5.067, allocations: 2.2 MB / 2.458 GB, free: 4.645 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003256/5.067, allocations: 57.7 kB / 2.458 GB, free: 4.582 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.00144/5.069, allocations: 1.201 MB / 2.459 GB, free: 3.367 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007677/5.069, allocations: 0.5159 MB / 2.459 GB, free: 2.844 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/5.07, allocations: 32 kB / 2.459 GB, free: 2.812 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002391/5.07, allocations: 365.9 kB / 2.46 GB, free: 2.449 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001261/5.071, allocations: 0.5271 MB / 2.46 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/5.073, allocations: 0.9009 MB / 2.461 GB, free: 0.8867 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6189/5.692, allocations: 1.424 MB / 2.463 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-05/5.692, allocations: 4.5 kB / 2.463 GB, free: 101.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004786/5.696, allocations: 2.003 MB / 2.464 GB, free: 101 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001834/5.697, allocations: 297.8 kB / 2.465 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.936e-05/5.697, allocations: 10.94 kB / 2.465 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009508/5.698, allocations: 267.8 kB / 2.465 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/5.699, allocations: 352.9 kB / 2.465 GB, free: 100.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/5.703, allocations: 7.044 MB / 2.472 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003048/5.706, allocations: 278.1 kB / 2.473 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002612/5.707, allocations: 74.78 kB / 2.473 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/5.707, allocations: 7.094 kB / 2.473 GB, free: 94.28 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0034/5.71, allocations: 1.702 MB / 2.474 GB, free: 94.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/5.71, allocations: 14.59 kB / 2.474 GB, free: 94.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000484/5.711, allocations: 211.5 kB / 2.474 GB, free: 94.13 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/5.712, allocations: 351.4 kB / 2.475 GB, free: 94.13 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005939/5.718, allocations: 8.983 MB / 2.484 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/5.721, allocations: 260.2 kB / 2.484 GB, free: 86.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003561/5.721, allocations: 72.02 kB / 2.484 GB, free: 86.2 MB / 0.9792 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 () * Number of clocked 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.001943/5.723, allocations: 0.6402 MB / 2.485 GB, free: 86.02 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000893/5.724, allocations: 262.5 kB / 2.485 GB, free: 85.93 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004456/5.728, allocations: 2.032 MB / 2.487 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.71e-05/5.729, allocations: 26.27 kB / 2.487 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/5.729, allocations: 3.156 kB / 2.487 GB, free: 85.75 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002834/5.731, allocations: 1.666 MB / 2.488 GB, free: 85.41 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009696/5.741, allocations: 4.487 MB / 2.493 GB, free: 84.78 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/5.741, allocations: 1.312 kB / 2.493 GB, free: 84.78 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/5.742, allocations: 276.1 kB / 2.493 GB, free: 84.78 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00054/5.743, allocations: 218.3 kB / 2.493 GB, free: 84.73 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.806e-05/5.743, allocations: 41.09 kB / 2.493 GB, free: 84.73 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004241/5.747, allocations: 7.061 MB / 2.5 GB, free: 78.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/5.747, allocations: 1.75 kB / 2.5 GB, free: 78.37 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005202/5.752, allocations: 2.691 MB / 2.503 GB, free: 77.94 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001964/5.754, allocations: 0.5634 MB / 2.503 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004502/5.755, allocations: 30.81 kB / 2.503 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001409/5.756, allocations: 149.8 kB / 2.504 GB, free: 77.71 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002268/5.757, allocations: 106.8 kB / 2.504 GB, free: 77.7 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/5.757, allocations: 59.92 kB / 2.504 GB, free: 77.7 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002667/5.759, allocations: 1.486 MB / 2.505 GB, free: 77.56 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.4e-07/5.759, allocations: 1.344 kB / 2.505 GB, free: 77.56 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007501/5.767, allocations: 1.96 MB / 2.507 GB, free: 77.48 MB / 0.9792 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 () * Number of clocked 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.004039/5.771, allocations: 1.714 MB / 2.509 GB, free: 77.23 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005564/5.777, allocations: 3.596 MB / 2.512 GB, free: 76.02 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/5.777, allocations: 0 / 2.512 GB, free: 76.02 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001687/5.778, allocations: 1.245 MB / 2.513 GB, free: 75.56 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008312/5.787, allocations: 1.349 MB / 2.515 GB, free: 75.54 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009636/5.796, allocations: 6.105 MB / 2.521 GB, free: 72.99 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001302/5.798, allocations: 1.745 MB / 2.522 GB, free: 72.25 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003142/5.801, allocations: 0.5892 MB / 2.523 GB, free: 72.22 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005728/5.801, allocations: 212.6 kB / 2.523 GB, free: 72.22 MB / 0.9792 GB Notification: Performance of SimCode: time 7.11e-07/5.801, allocations: 0 / 2.523 GB, free: 72.22 MB / 0.9792 GB Notification: Performance of Templates: time 0.1174/5.919, allocations: 65.03 MB / 2.587 GB, free: 69.07 MB / 0.9792 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)