Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json 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/IDEAS 3.0.0-master/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006218/0.006218, allocations: 170.3 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7677/0.7677, allocations: 135.2 MB / 151.1 MB, free: 13.8 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.49/1.49, allocations: 223.2 MB / 406.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 84.7 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004031/0.0004031, allocations: 8 kB / 0.5691 GB, free: 14.13 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4478/0.4483, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9328/1.381, allocations: 403.8 MB / 1.044 GB, free: 2.379 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003282/1.381, allocations: 136.1 kB / 1.044 GB, free: 2.297 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.013/5.395, allocations: 1.045 GB / 2.089 GB, free: 21.87 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.384e-06/5.395, allocations: 0 / 2.089 GB, free: 21.87 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003087/5.395, allocations: 79.92 kB / 2.09 GB, free: 21.79 MB / 0.7136 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.01064/5.406, allocations: 3.609 MB / 2.093 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/5.406, allocations: 12.02 kB / 2.093 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001829/5.407, allocations: 379.7 kB / 2.093 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/5.414, allocations: 2.951 MB / 2.096 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001292/5.414, allocations: 164.1 kB / 2.096 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003399/5.415, allocations: 216 kB / 2.097 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003561/5.418, allocations: 2.108 MB / 2.099 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.958e-05/5.418, allocations: 3.906 kB / 2.099 GB, free: 12.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001756/5.419, allocations: 88 kB / 2.099 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.221e-05/5.419, allocations: 52 kB / 2.099 GB, free: 11.96 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002407/5.421, allocations: 1.624 MB / 2.1 GB, free: 10.32 MB / 0.7136 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.01207/5.433, allocations: 8.841 MB / 2.109 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001562/5.435, allocations: 1.348 MB / 2.11 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002568/5.437, allocations: 2.925 MB / 2.113 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/5.437, allocations: 51.88 kB / 2.113 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=148): time 4.338e-06/5.437, allocations: 0 / 2.113 GB, free: 12.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=148): time 0.006107/5.444, allocations: 2.706 MB / 2.116 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.976e-05/5.444, allocations: 90.42 kB / 2.116 GB, free: 9.223 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004711/5.448, allocations: 2.032 MB / 2.118 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004388/5.449, allocations: 61.7 kB / 2.118 GB, free: 7.113 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001269/5.45, allocations: 1.213 MB / 2.119 GB, free: 5.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007445/5.451, allocations: 0.5082 MB / 2.12 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.238e-05/5.451, allocations: 32 kB / 2.12 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001763/5.451, allocations: 373.9 kB / 2.12 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009534/5.452, allocations: 0.5309 MB / 2.121 GB, free: 4.438 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001195/5.453, allocations: 0.8931 MB / 2.122 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001075/5.454, allocations: 0.6816 MB / 2.122 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/5.454, allocations: 4 kB / 2.122 GB, free: 2.73 MB / 0.7292 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004103/5.459, allocations: 1.966 MB / 2.124 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.5355/5.994, allocations: 2.73 MB / 2.127 GB, free: 67.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.292e-05/5.994, allocations: 9.031 kB / 2.127 GB, free: 67.69 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00101/5.995, allocations: 225.2 kB / 2.127 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001871/5.997, allocations: 358.6 kB / 2.127 GB, free: 67.64 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00474/6.002, allocations: 7.074 MB / 2.134 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003279/6.005, allocations: 273.1 kB / 2.135 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003501/6.006, allocations: 72.58 kB / 2.135 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/6.006, allocations: 5.172 kB / 2.135 GB, free: 61.33 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003805/6.009, allocations: 1.702 MB / 2.136 GB, free: 61.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.147e-05/6.009, allocations: 11.25 kB / 2.136 GB, free: 61.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005235/6.01, allocations: 213.6 kB / 2.136 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/6.011, allocations: 352.2 kB / 2.137 GB, free: 61.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005998/6.017, allocations: 9.028 MB / 2.146 GB, free: 53.28 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003111/6.02, allocations: 265.3 kB / 2.146 GB, free: 53.27 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00028/6.021, allocations: 69.02 kB / 2.146 GB, free: 53.27 MB / 0.7292 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.001893/6.022, allocations: 0.646 MB / 2.147 GB, free: 53.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008354/6.023, allocations: 258.8 kB / 2.147 GB, free: 53.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003578/6.027, allocations: 2.042 MB / 2.149 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.102e-05/6.027, allocations: 16.75 kB / 2.149 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/6.027, allocations: 1.781 kB / 2.149 GB, free: 52.86 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002051/6.029, allocations: 1.668 MB / 2.15 GB, free: 52.51 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007769/6.037, allocations: 4.512 MB / 2.155 GB, free: 51.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/6.037, allocations: 3.906 kB / 2.155 GB, free: 51.88 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/6.038, allocations: 281.3 kB / 2.155 GB, free: 51.88 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004498/6.038, allocations: 214.9 kB / 2.155 GB, free: 51.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/6.038, allocations: 41.39 kB / 2.155 GB, free: 51.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003654/6.042, allocations: 7.094 MB / 2.162 GB, free: 45.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/6.042, allocations: 1.594 kB / 2.162 GB, free: 45.47 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004524/6.047, allocations: 2.78 MB / 2.165 GB, free: 44.94 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/6.048, allocations: 0.5801 MB / 2.166 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004348/6.049, allocations: 29.66 kB / 2.166 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/6.05, allocations: 142.7 kB / 2.166 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/6.051, allocations: 108.7 kB / 2.166 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/6.051, allocations: 52.64 kB / 2.166 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00282/6.054, allocations: 1.571 MB / 2.167 GB, free: 44.56 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.6e-07/6.054, allocations: 0 / 2.167 GB, free: 44.56 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.009203/6.063, allocations: 1.991 MB / 2.169 GB, free: 44.48 MB / 0.7292 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.004062/6.067, allocations: 1.732 MB / 2.171 GB, free: 44.23 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.005466/6.072, allocations: 3.601 MB / 2.175 GB, free: 43.01 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/6.072, allocations: 0 / 2.175 GB, free: 43.01 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001541/6.074, allocations: 1.235 MB / 2.176 GB, free: 42.56 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007627/6.082, allocations: 1.335 MB / 2.177 GB, free: 42.55 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/6.094, allocations: 6.121 MB / 2.183 GB, free: 40 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001665/6.095, allocations: 1.803 MB / 2.185 GB, free: 39.26 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003515/6.099, allocations: 0.5977 MB / 2.185 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000635/6.1, allocations: 212.2 kB / 2.186 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of SimCode: time 1.313e-06/6.1, allocations: 0 / 2.186 GB, free: 39.23 MB / 0.7292 GB Notification: Performance of Templates: time 0.1033/6.203, allocations: 64.57 MB / 2.249 GB, free: 35.47 MB / 0.7292 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)