Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008958/0.0008959, allocations: 100.3 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009176/0.0009177, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.0003151, allocations: 12.55 kB / 0.5069 GB, free: 5.262 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1509, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube): time 0.3004/0.4514, allocations: 71.53 MB / 0.6571 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.4791, allocations: 21.81 MB / 0.6784 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005125/0.4842, allocations: 104.6 kB / 0.6785 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.006157/0.4904, allocations: 1.604 MB / 0.6801 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01266/0.5031, allocations: 3.951 MB / 0.6839 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/0.5147, allocations: 3.672 MB / 0.6875 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01211/0.5268, allocations: 4.925 MB / 0.6923 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003849/0.5307, allocations: 2.099 MB / 0.6944 GB, free: 1.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005073/0.5358, allocations: 2.133 MB / 0.6965 GB, free: 380 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.5396, allocations: 1.594 MB / 0.698 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0005465/0.5402, allocations: 145 kB / 0.6981 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007518/0.5477, allocations: 2.394 MB / 0.7005 GB, free: 15.09 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.00121/0.549, allocations: 0.5748 MB / 0.701 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002196/0.5512, allocations: 0.7041 MB / 0.7017 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.008989/0.5602, allocations: 5.319 MB / 0.7069 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5602, allocations: 0 / 0.7069 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5602, allocations: 0 / 0.7069 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.0001401/0.5604, allocations: 0 / 0.7069 GB, free: 11.77 MB / 0.5294 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.007346/0.5677, allocations: 3.297 MB / 0.7101 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.5678, allocations: 8.344 kB / 0.7102 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/0.5689, allocations: 377.2 kB / 0.7105 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00467/0.5736, allocations: 2.385 MB / 0.7128 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001408/0.5738, allocations: 163.5 kB / 0.713 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000277/0.574, allocations: 222.6 kB / 0.7132 GB, free: 7.234 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003384/0.5774, allocations: 2.155 MB / 0.7153 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.908e-05/0.5775, allocations: 1.375 kB / 0.7153 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001619/0.5776, allocations: 87.25 kB / 0.7154 GB, free: 5.789 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.632e-05/0.5777, allocations: 54.83 kB / 0.7155 GB, free: 5.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002625/0.5803, allocations: 1.661 MB / 0.7171 GB, free: 4.934 MB / 0.5294 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.01222/0.5926, allocations: 9.363 MB / 0.7262 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/0.5941, allocations: 1.172 MB / 0.7274 GB, free: 12.05 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002249/0.5964, allocations: 2.918 MB / 0.7302 GB, free: 8.488 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.5964, allocations: 55.81 kB / 0.7303 GB, free: 8.426 MB / 0.545 GB Notification: Performance of pre-optimization done (n=148): time 4.418e-06/0.5964, allocations: 0 / 0.7303 GB, free: 8.426 MB / 0.545 GB Notification: Performance of matching and sorting (n=148): time 0.004999/0.6015, allocations: 2.717 MB / 0.7329 GB, free: 5.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.6015, allocations: 90.42 kB / 0.733 GB, free: 5.465 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003104/0.6046, allocations: 2.333 MB / 0.7353 GB, free: 3.117 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001636/0.6048, allocations: 53.7 kB / 0.7353 GB, free: 3.059 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008924/0.6057, allocations: 1.189 MB / 0.7365 GB, free: 1.855 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004931/0.6062, allocations: 0.5237 MB / 0.737 GB, free: 1.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.123e-05/0.6063, allocations: 36 kB / 0.737 GB, free: 1.289 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.6064, allocations: 369.9 kB / 0.7374 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/0.6073, allocations: 0.5622 MB / 0.7379 GB, free: 368 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6084, allocations: 0.9141 MB / 0.7388 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6094, allocations: 0.7166 MB / 0.7395 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.6094, allocations: 0 / 0.7395 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003684/0.6131, allocations: 2.104 MB / 0.7416 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009545/0.6141, allocations: 2.723 MB / 0.7443 GB, free: 9.516 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.39e-05/0.6141, allocations: 11.94 kB / 0.7443 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008953/0.615, allocations: 268.9 kB / 0.7445 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.6162, allocations: 387.4 kB / 0.7449 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004655/0.6209, allocations: 7.07 MB / 0.7518 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002575/0.6235, allocations: 306.8 kB / 0.7521 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000172/0.6237, allocations: 75.98 kB / 0.7522 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.6237, allocations: 4 kB / 0.7522 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002875/0.6266, allocations: 1.801 MB / 0.7539 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.6266, allocations: 8 kB / 0.7539 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004502/0.6271, allocations: 213.6 kB / 0.7541 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/0.6283, allocations: 383.4 kB / 0.7545 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006421/0.6347, allocations: 9.154 MB / 0.7634 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/0.6372, allocations: 282.1 kB / 0.7637 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001487/0.6374, allocations: 71.98 kB / 0.7638 GB, free: 4.051 MB / 0.5762 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 (215): * Single equations (assignments): 208 * 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.001239/0.6386, allocations: 0.649 MB / 0.7644 GB, free: 3.391 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005013/0.6391, allocations: 260.8 kB / 0.7647 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003189/0.6423, allocations: 2.015 MB / 0.7666 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.363e-05/0.6423, allocations: 20.47 kB / 0.7666 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.6424, allocations: 4 kB / 0.7666 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002119/0.6445, allocations: 1.646 MB / 0.7683 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006745/0.6512, allocations: 4.41 MB / 0.7726 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.6513, allocations: 0 / 0.7726 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6523, allocations: 267.7 kB / 0.7728 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004542/0.6527, allocations: 213.2 kB / 0.773 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.775e-05/0.6528, allocations: 47.97 kB / 0.7731 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004752/0.6576, allocations: 7.084 MB / 0.78 GB, free: 2.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6576, allocations: 7.891 kB / 0.78 GB, free: 2.668 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004543/0.6622, allocations: 2.707 MB / 0.7826 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001593/0.6638, allocations: 0.6144 MB / 0.7832 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003757/0.6642, allocations: 32 kB / 0.7833 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.6655, allocations: 147.6 kB / 0.7834 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.6656, allocations: 113.1 kB / 0.7835 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001033/0.6658, allocations: 55.97 kB / 0.7836 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002207/0.668, allocations: 1.566 MB / 0.7851 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3e-07/0.668, allocations: 0 / 0.7851 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.005724/0.6737, allocations: 1.883 MB / 0.7869 GB, free: 11.45 MB / 0.6075 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.002193/0.6759, allocations: 1.08 MB / 0.788 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.005022/0.6809, allocations: 3.714 MB / 0.7916 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.681, allocations: 0 / 0.7916 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/0.6825, allocations: 1.23 MB / 0.7928 GB, free: 5.254 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006265/0.6888, allocations: 1.303 MB / 0.7941 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007839/0.6966, allocations: 6.066 MB / 0.8 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001336/0.698, allocations: 1.798 MB / 0.8018 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002195/0.7002, allocations: 0.5945 MB / 0.8024 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004624/0.7006, allocations: 207.4 kB / 0.8025 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of SimCode: time 5.71e-07/0.7007, allocations: 0 / 0.8025 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of Templates: time 0.3179/1.019, allocations: 60.46 MB / 0.8616 GB, free: 205 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1) Environment - environmentSimulation: