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.InternalHEXTwoUTube.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.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.657/1.657, allocations: 288.4 MB / 304.3 MB, free: 8.113 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.0008966/0.0008967, allocations: 176.5 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.597/1.597, allocations: 205.4 MB / 0.6317 GB, free: 9.898 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.0007922/0.0007922, allocations: 104 kB / 0.7451 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004627/0.0004627, allocations: 17.47 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2493, allocations: 115.3 MB / 0.9808 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.022/1.271, allocations: 429.3 MB / 1.4 GB, free: 14.73 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/1.272, allocations: 129.5 kB / 1.4 GB, free: 14.65 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.423/4.694, allocations: 1.017 GB / 2.417 GB, free: 96.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.024e-06/4.695, allocations: 0 / 2.417 GB, free: 96.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002483/4.695, allocations: 82.44 kB / 2.417 GB, free: 96.22 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.008126/4.703, allocations: 3.566 MB / 2.421 GB, free: 92.58 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/4.703, allocations: 9.969 kB / 2.421 GB, free: 92.57 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/4.704, allocations: 372.7 kB / 2.421 GB, free: 92.21 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005297/4.709, allocations: 2.893 MB / 2.424 GB, free: 89.25 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.542e-05/4.709, allocations: 160.1 kB / 2.424 GB, free: 89.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003073/4.71, allocations: 212 kB / 2.424 GB, free: 88.88 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003201/4.713, allocations: 2.14 MB / 2.427 GB, free: 86.63 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.891e-05/4.713, allocations: 11.78 kB / 2.427 GB, free: 86.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/4.713, allocations: 91.56 kB / 2.427 GB, free: 86.53 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/4.713, allocations: 52 kB / 2.427 GB, free: 86.48 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002376/4.716, allocations: 1.609 MB / 2.428 GB, free: 84.86 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.01068/4.726, allocations: 8.793 MB / 2.437 GB, free: 75.76 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/4.728, allocations: 1.352 MB / 2.438 GB, free: 74.36 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009329/4.729, allocations: 0.8755 MB / 2.439 GB, free: 73.49 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001775/4.731, allocations: 2.918 MB / 2.442 GB, free: 69.92 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.722e-05/4.731, allocations: 47.88 kB / 2.442 GB, free: 69.87 MB / 0.948 GB Notification: Performance of pre-optimization done (n=148): time 3.076e-06/4.731, allocations: 0 / 2.442 GB, free: 69.87 MB / 0.948 GB Notification: Performance of matching and sorting (n=148): time 0.004817/4.735, allocations: 2.766 MB / 2.445 GB, free: 66.97 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.217e-05/4.735, allocations: 98.36 kB / 2.445 GB, free: 66.85 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003073/4.739, allocations: 2.2 MB / 2.447 GB, free: 64.64 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002037/4.739, allocations: 53.7 kB / 2.447 GB, free: 64.58 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007222/4.74, allocations: 1.201 MB / 2.448 GB, free: 63.36 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003701/4.74, allocations: 0.5082 MB / 2.449 GB, free: 62.85 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.652e-05/4.74, allocations: 36 kB / 2.449 GB, free: 62.81 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.711e-05/4.74, allocations: 377.9 kB / 2.449 GB, free: 62.44 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007586/4.741, allocations: 0.5232 MB / 2.45 GB, free: 61.91 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009259/4.742, allocations: 0.9048 MB / 2.45 GB, free: 60.88 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001678/4.743, allocations: 1.42 MB / 2.452 GB, free: 59.37 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/4.743, allocations: 0 / 2.452 GB, free: 59.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003589/4.747, allocations: 2.01 MB / 2.454 GB, free: 57.33 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/4.747, allocations: 292.7 kB / 2.454 GB, free: 56.95 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/4.747, allocations: 11.94 kB / 2.454 GB, free: 56.94 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008547/4.748, allocations: 268.9 kB / 2.454 GB, free: 56.66 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/4.749, allocations: 347.5 kB / 2.455 GB, free: 56.32 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003563/4.753, allocations: 7.068 MB / 2.462 GB, free: 48.68 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002608/4.755, allocations: 266.2 kB / 2.462 GB, free: 48.42 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/4.756, allocations: 79.97 kB / 2.462 GB, free: 48.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/4.756, allocations: 4 kB / 2.462 GB, free: 48.34 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002489/4.758, allocations: 1.695 MB / 2.464 GB, free: 46.62 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/4.758, allocations: 11.98 kB / 2.464 GB, free: 46.61 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004249/4.759, allocations: 213.5 kB / 2.464 GB, free: 46.38 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001049/4.76, allocations: 347.5 kB / 2.464 GB, free: 46.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00485/4.764, allocations: 8.991 MB / 2.473 GB, free: 36.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002541/4.767, allocations: 258.4 kB / 2.473 GB, free: 36.01 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001671/4.767, allocations: 71.98 kB / 2.473 GB, free: 35.94 MB / 0.948 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.001421/4.769, allocations: 0.6412 MB / 2.474 GB, free: 35.29 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005514/4.769, allocations: 264.8 kB / 2.474 GB, free: 35.03 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/4.772, allocations: 2.031 MB / 2.476 GB, free: 32.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/4.772, allocations: 27.92 kB / 2.476 GB, free: 32.94 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/4.772, allocations: 7.875 kB / 2.476 GB, free: 32.94 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001884/4.774, allocations: 1.662 MB / 2.478 GB, free: 31.21 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006286/4.78, allocations: 4.485 MB / 2.482 GB, free: 26.61 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/4.78, allocations: 0 / 2.482 GB, free: 26.61 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009731/4.781, allocations: 275.6 kB / 2.482 GB, free: 26.34 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004683/4.782, allocations: 221.1 kB / 2.483 GB, free: 26.11 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.548e-05/4.782, allocations: 39.98 kB / 2.483 GB, free: 26.07 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003316/4.785, allocations: 7.051 MB / 2.489 GB, free: 18.44 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/4.785, allocations: 7.984 kB / 2.489 GB, free: 18.43 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003627/4.789, allocations: 2.696 MB / 2.492 GB, free: 15.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/4.79, allocations: 0.5636 MB / 2.493 GB, free: 15.11 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/4.791, allocations: 43.81 kB / 2.493 GB, free: 15.07 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001261/4.792, allocations: 151.6 kB / 2.493 GB, free: 14.92 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/4.792, allocations: 101.2 kB / 2.493 GB, free: 14.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/4.792, allocations: 55.97 kB / 2.493 GB, free: 14.77 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002214/4.794, allocations: 1.488 MB / 2.494 GB, free: 13.27 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.794, allocations: 0 / 2.494 GB, free: 13.27 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006673/4.801, allocations: 1.957 MB / 2.496 GB, free: 11.31 MB / 0.948 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.003424/4.805, allocations: 1.719 MB / 2.498 GB, free: 9.648 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004457/4.809, allocations: 3.589 MB / 2.502 GB, free: 5.918 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.79e-06/4.809, allocations: 7.859 kB / 2.502 GB, free: 5.91 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/4.81, allocations: 1.241 MB / 2.503 GB, free: 4.613 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006719/4.817, allocations: 1.345 MB / 2.504 GB, free: 3.305 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007717/4.825, allocations: 6.108 MB / 2.51 GB, free: 13.24 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/4.826, allocations: 1.75 MB / 2.512 GB, free: 11.46 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00261/4.829, allocations: 0.5854 MB / 2.512 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004901/4.829, allocations: 207.3 kB / 2.513 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of SimCode: time 7.42e-07/4.83, allocations: 4 kB / 2.513 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of Templates: time 0.6292/5.459, allocations: 65.04 MB / 2.576 GB, free: 134.8 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)