Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.736/1.736, allocations: 297.8 MB / 313.7 MB, free: 120 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009732/0.0009731, allocations: 183 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 223.2 MB / 0.6626 GB, free: 4.191 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008493/0.0008496, allocations: 102.6 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004193/0.0004193, allocations: 15.98 kB / 0.9088 GB, free: 2.836 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7076/0.708, allocations: 120.3 MB / 1.026 GB, free: 55.96 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8661/1.574, allocations: 432.9 MB / 1.449 GB, free: 245 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003167/1.575, allocations: 128.6 kB / 1.449 GB, free: 245 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.102/4.676, allocations: 1.035 GB / 2.484 GB, free: 1.68 MB / 1.01 GB Notification: Performance of FrontEnd: time 4.188e-06/4.676, allocations: 4 kB / 2.484 GB, free: 1.676 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.0005619/4.677, allocations: 83.84 kB / 2.485 GB, free: 1.594 MB / 1.01 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.6483/5.325, allocations: 3.565 MB / 2.488 GB, free: 97.41 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/5.325, allocations: 8.438 kB / 2.488 GB, free: 97.41 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002046/5.327, allocations: 371 kB / 2.488 GB, free: 97.24 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/5.334, allocations: 2.884 MB / 2.491 GB, free: 96.73 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001277/5.334, allocations: 162.4 kB / 2.491 GB, free: 96.72 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003817/5.335, allocations: 219.5 kB / 2.492 GB, free: 96.72 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003888/5.339, allocations: 2.134 MB / 2.494 GB, free: 96.46 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.909e-05/5.339, allocations: 7.844 kB / 2.494 GB, free: 96.45 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001773/5.339, allocations: 89.06 kB / 2.494 GB, free: 96.45 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-05/5.339, allocations: 50.06 kB / 2.494 GB, free: 96.45 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002722/5.342, allocations: 1.607 MB / 2.495 GB, free: 96.42 MB / 1.01 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.01307/5.355, allocations: 8.797 MB / 2.504 GB, free: 93.76 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001696/5.356, allocations: 1.359 MB / 2.505 GB, free: 93.53 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/5.358, allocations: 0.8661 MB / 2.506 GB, free: 93.51 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001844/5.359, allocations: 2.918 MB / 2.509 GB, free: 90.23 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.285e-05/5.359, allocations: 49.64 kB / 2.509 GB, free: 90.19 MB / 1.01 GB Notification: Performance of pre-optimization done (n=148): time 3.897e-06/5.359, allocations: 3.219 kB / 2.509 GB, free: 90.19 MB / 1.01 GB Notification: Performance of matching and sorting (n=148): time 0.00533/5.365, allocations: 2.764 MB / 2.512 GB, free: 89.37 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/5.365, allocations: 97.92 kB / 2.512 GB, free: 89.27 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/5.368, allocations: 2.199 MB / 2.514 GB, free: 89.05 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0002256/5.369, allocations: 58.2 kB / 2.514 GB, free: 89.02 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008216/5.369, allocations: 1.196 MB / 2.515 GB, free: 88.73 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004541/5.37, allocations: 0.5153 MB / 2.516 GB, free: 88.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.243e-05/5.37, allocations: 41.64 kB / 2.516 GB, free: 88.47 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.37, allocations: 365.2 kB / 2.516 GB, free: 88.17 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008898/5.371, allocations: 0.5286 MB / 2.517 GB, free: 88.17 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/5.372, allocations: 0.903 MB / 2.517 GB, free: 87.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/5.374, allocations: 1.425 MB / 2.519 GB, free: 87.55 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/5.374, allocations: 3 kB / 2.519 GB, free: 87.55 MB / 1.01 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003852/5.378, allocations: 2.007 MB / 2.521 GB, free: 87.29 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/5.378, allocations: 298.3 kB / 2.521 GB, free: 86.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.614e-05/5.378, allocations: 9.844 kB / 2.521 GB, free: 86.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008423/5.379, allocations: 260.5 kB / 2.521 GB, free: 86.91 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/5.38, allocations: 355.5 kB / 2.522 GB, free: 86.91 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003938/5.384, allocations: 7.055 MB / 2.529 GB, free: 80.56 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002957/5.387, allocations: 273 kB / 2.529 GB, free: 80.51 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002531/5.387, allocations: 74.2 kB / 2.529 GB, free: 80.51 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/5.387, allocations: 4.469 kB / 2.529 GB, free: 80.51 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003469/5.391, allocations: 1.698 MB / 2.531 GB, free: 80.41 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.956e-05/5.391, allocations: 10.59 kB / 2.531 GB, free: 80.41 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005014/5.391, allocations: 213.7 kB / 2.531 GB, free: 80.36 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/5.393, allocations: 349.2 kB / 2.531 GB, free: 80.36 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005542/5.398, allocations: 8.991 MB / 2.54 GB, free: 72.36 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002866/5.401, allocations: 254.1 kB / 2.54 GB, free: 72.32 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/5.401, allocations: 72.02 kB / 2.54 GB, free: 72.32 MB / 1.01 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.001801/5.403, allocations: 0.6479 MB / 2.541 GB, free: 72.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007007/5.404, allocations: 259.1 kB / 2.541 GB, free: 72 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003426/5.407, allocations: 2.03 MB / 2.543 GB, free: 71.83 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/5.407, allocations: 25.17 kB / 2.543 GB, free: 71.82 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/5.407, allocations: 2.906 kB / 2.543 GB, free: 71.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002128/5.409, allocations: 1.667 MB / 2.545 GB, free: 71.48 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009101/5.419, allocations: 4.486 MB / 2.549 GB, free: 70.85 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/5.419, allocations: 3.938 kB / 2.549 GB, free: 70.85 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/5.42, allocations: 268.7 kB / 2.549 GB, free: 70.85 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005816/5.42, allocations: 220.4 kB / 2.55 GB, free: 70.8 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001127/5.42, allocations: 41.38 kB / 2.55 GB, free: 70.8 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004714/5.425, allocations: 7.06 MB / 2.557 GB, free: 64.44 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/5.425, allocations: 11.06 kB / 2.557 GB, free: 64.44 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00569/5.431, allocations: 2.689 MB / 2.559 GB, free: 64.01 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002234/5.433, allocations: 0.5604 MB / 2.56 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005436/5.434, allocations: 36.08 kB / 2.56 GB, free: 63.78 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/5.435, allocations: 147.4 kB / 2.56 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002272/5.435, allocations: 109.1 kB / 2.56 GB, free: 63.77 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001239/5.436, allocations: 54.7 kB / 2.56 GB, free: 63.77 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.00295/5.439, allocations: 1.492 MB / 2.561 GB, free: 63.63 MB / 1.01 GB Notification: Performance of sort global known variables: time 2.4e-07/5.439, allocations: 0 / 2.561 GB, free: 63.63 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.008037/5.447, allocations: 1.958 MB / 2.563 GB, free: 63.55 MB / 1.01 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.004873/5.452, allocations: 1.727 MB / 2.565 GB, free: 63.3 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.006022/5.458, allocations: 3.597 MB / 2.569 GB, free: 62.08 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/5.458, allocations: 0 / 2.569 GB, free: 62.08 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.001504/5.459, allocations: 1.241 MB / 2.57 GB, free: 61.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007157/5.466, allocations: 1.343 MB / 2.571 GB, free: 61.61 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008503/5.475, allocations: 6.107 MB / 2.577 GB, free: 59.06 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001281/5.476, allocations: 1.747 MB / 2.579 GB, free: 58.32 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.002888/5.479, allocations: 0.59 MB / 2.579 GB, free: 58.3 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004619/5.479, allocations: 209.8 kB / 2.58 GB, free: 58.3 MB / 1.01 GB Notification: Performance of SimCode: time 1.232e-06/5.479, allocations: 2.281 kB / 2.58 GB, free: 58.3 MB / 1.01 GB Notification: Performance of Templates: time 0.1182/5.598, allocations: 65.01 MB / 2.643 GB, free: 55.3 MB / 1.01 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)