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.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.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.4-maint.8.1.x/package.mo): time 1.639/1.639, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001008/0.001008, allocations: 179.7 kB / 371.6 MB, free: 3.355 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.644/1.644, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009237/0.0009237, allocations: 90.92 kB / 0.745 GB, free: 54.53 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.27e-05/3.271e-05, allocations: 4 kB / 0.8663 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2884, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.853/2.142, allocations: 430.1 MB / 1.4 GB, free: 252.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004002/2.142, allocations: 125.2 kB / 1.4 GB, free: 252.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.599/5.741, allocations: 1.021 GB / 2.421 GB, free: 19.13 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.145e-06/5.741, allocations: 4 kB / 2.421 GB, free: 19.12 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003329/5.742, allocations: 79.92 kB / 2.421 GB, free: 19.05 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.008843/5.75, allocations: 3.051 MB / 2.424 GB, free: 15.93 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.698e-05/5.75, allocations: 8.031 kB / 2.424 GB, free: 15.92 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/5.752, allocations: 373.1 kB / 2.425 GB, free: 15.55 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006694/5.759, allocations: 2.909 MB / 2.427 GB, free: 12.57 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00012/5.759, allocations: 164.1 kB / 2.428 GB, free: 12.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004017/5.76, allocations: 215.9 kB / 2.428 GB, free: 12.19 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003752/5.763, allocations: 2.081 MB / 2.43 GB, free: 10 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.041e-05/5.763, allocations: 4 kB / 2.43 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001902/5.764, allocations: 88 kB / 2.43 GB, free: 9.91 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.296e-05/5.764, allocations: 52 kB / 2.43 GB, free: 9.859 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002587/5.766, allocations: 1.566 MB / 2.432 GB, free: 8.277 MB / 0.948 GB Warning: The model contains alias variables with conflicting start and/or 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.01334/5.78, allocations: 8.84 MB / 2.44 GB, free: 15.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001997/5.782, allocations: 1.332 MB / 2.441 GB, free: 13.72 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001357/5.783, allocations: 0.8626 MB / 2.442 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003072/5.786, allocations: 2.922 MB / 2.445 GB, free: 9.293 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.973e-05/5.786, allocations: 59.81 kB / 2.445 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=148): time 3.857e-06/5.786, allocations: 0 / 2.445 GB, free: 9.223 MB / 0.9636 GB Notification: Performance of matching and sorting (n=148): time 0.004025/5.79, allocations: 1.553 MB / 2.447 GB, free: 7.641 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/5.79, allocations: 90.42 kB / 2.447 GB, free: 7.535 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003905/5.794, allocations: 1.991 MB / 2.449 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/5.794, allocations: 61.7 kB / 2.449 GB, free: 5.461 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001125/5.796, allocations: 1.197 MB / 2.45 GB, free: 4.25 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006388/5.796, allocations: 0.5121 MB / 2.45 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.319e-05/5.796, allocations: 36 kB / 2.451 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002091/5.796, allocations: 377.9 kB / 2.451 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009558/5.797, allocations: 0.5116 MB / 2.451 GB, free: 2.809 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/5.799, allocations: 0.8815 MB / 2.452 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001142/5.8, allocations: 0.6718 MB / 2.453 GB, free: 1.129 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/5.8, allocations: 4 kB / 2.453 GB, free: 1.125 MB / 0.9636 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004045/5.804, allocations: 1.948 MB / 2.455 GB, free: 15.15 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001331/5.805, allocations: 2.734 MB / 2.457 GB, free: 12.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/5.805, allocations: 8 kB / 2.457 GB, free: 12.17 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007007/5.806, allocations: 225 kB / 2.458 GB, free: 11.93 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/5.807, allocations: 351.5 kB / 2.458 GB, free: 11.59 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005764/5.813, allocations: 7.048 MB / 2.465 GB, free: 3.961 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003205/5.816, allocations: 282 kB / 2.465 GB, free: 3.684 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000231/5.817, allocations: 67.98 kB / 2.465 GB, free: 3.617 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/5.817, allocations: 4 kB / 2.465 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003225/5.82, allocations: 1.672 MB / 2.467 GB, free: 1.922 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.539e-05/5.82, allocations: 15.98 kB / 2.467 GB, free: 1.906 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005103/5.82, allocations: 205.5 kB / 2.467 GB, free: 1.688 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/5.822, allocations: 355.5 kB / 2.467 GB, free: 1.34 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8039/6.626, allocations: 8.956 MB / 2.476 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00327/6.629, allocations: 266.5 kB / 2.476 GB, free: 91.24 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002195/6.629, allocations: 71.92 kB / 2.477 GB, free: 91.24 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 () * 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.0004853/6.63, allocations: 196.5 kB / 2.477 GB, free: 91.14 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006019/6.63, allocations: 261 kB / 2.477 GB, free: 91.13 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/6.634, allocations: 2.008 MB / 2.479 GB, free: 90.99 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.34e-05/6.635, allocations: 24.59 kB / 2.479 GB, free: 90.99 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/6.635, allocations: 3.125 kB / 2.479 GB, free: 90.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002582/6.637, allocations: 1.646 MB / 2.481 GB, free: 90.64 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009525/6.647, allocations: 4.49 MB / 2.485 GB, free: 90.05 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/6.647, allocations: 1.125 kB / 2.485 GB, free: 90.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/6.648, allocations: 273.5 kB / 2.485 GB, free: 90.05 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006293/6.649, allocations: 216.8 kB / 2.485 GB, free: 90 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/6.649, allocations: 41.7 kB / 2.485 GB, free: 90 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005124/6.654, allocations: 7.055 MB / 2.492 GB, free: 83.64 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/6.654, allocations: 2.219 kB / 2.492 GB, free: 83.64 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006262/6.66, allocations: 2.734 MB / 2.495 GB, free: 83.12 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/6.662, allocations: 0.5716 MB / 2.496 GB, free: 82.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003478/6.663, allocations: 30.88 kB / 2.496 GB, free: 82.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/6.664, allocations: 162 kB / 2.496 GB, free: 82.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002756/6.665, allocations: 103.2 kB / 2.496 GB, free: 82.88 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/6.665, allocations: 60.17 kB / 2.496 GB, free: 82.88 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.003092/6.668, allocations: 1.527 MB / 2.497 GB, free: 82.72 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3.61e-07/6.668, allocations: 0 / 2.497 GB, free: 82.72 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007171/6.675, allocations: 1.993 MB / 2.499 GB, free: 82.64 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 () * 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.003955/6.679, allocations: 1.763 MB / 2.501 GB, free: 82.39 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005346/6.684, allocations: 3.626 MB / 2.505 GB, free: 81.17 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/6.684, allocations: 0 / 2.505 GB, free: 81.17 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/6.686, allocations: 1.225 MB / 2.506 GB, free: 80.71 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007735/6.694, allocations: 1.338 MB / 2.507 GB, free: 80.69 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007668/6.701, allocations: 4.093 MB / 2.511 GB, free: 79.67 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00157/6.703, allocations: 1.805 MB / 2.513 GB, free: 78.93 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004184/6.707, allocations: 0.7851 MB / 2.514 GB, free: 78.9 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004367/6.708, allocations: 165.2 kB / 2.514 GB, free: 78.9 MB / 0.9792 GB Notification: Performance of SimCode: time 1.763e-06/6.708, allocations: 3 kB / 2.514 GB, free: 78.9 MB / 0.9792 GB Notification: Performance of Templates: time 0.1366/6.844, allocations: 70.36 MB / 2.582 GB, free: 75.52 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)