Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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/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/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.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 174.8 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 130.5 MB / 143.8 MB, free: 13.58 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.424/1.424, allocations: 221.3 MB / 396.8 MB, free: 9.156 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008253/0.0008251, allocations: 105 kB / 479 MB, free: 10.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.011e-05/3.024e-05, allocations: 4.125 kB / 0.5551 GB, free: 86.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 81.58 MB / 0.6348 GB, free: 12 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.278/1.45, allocations: 386 MB / 1.012 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.451, allocations: 129 kB / 1.012 GB, free: 203.4 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.417/2.868, allocations: 485 MB / 1.486 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.703e-06/2.868, allocations: 0 / 1.486 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001514/2.868, allocations: 47.92 kB / 1.486 GB, free: 13.96 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004108/2.872, allocations: 1.927 MB / 1.487 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/2.872, allocations: 8.031 kB / 1.487 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005454/2.873, allocations: 210.3 kB / 1.488 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/2.876, allocations: 1.708 MB / 1.489 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/2.876, allocations: 82.08 kB / 1.489 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001418/2.876, allocations: 112 kB / 1.49 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/2.878, allocations: 1.054 MB / 1.491 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/2.878, allocations: 0 / 1.491 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.923e-05/2.878, allocations: 40 kB / 1.491 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.809e-05/2.878, allocations: 28 kB / 1.491 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001165/2.879, allocations: 0.7811 MB / 1.491 GB, free: 7.848 MB / 0.6823 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.007154/2.886, allocations: 6.479 MB / 1.498 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007933/2.887, allocations: 0.5395 MB / 1.498 GB, free: 204 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5644/3.451, allocations: 342.1 kB / 1.499 GB, free: 90.73 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/3.452, allocations: 1.267 MB / 1.5 GB, free: 89.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.13e-05/3.452, allocations: 40.62 kB / 1.5 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 3.687e-06/3.452, allocations: 2.844 kB / 1.5 GB, free: 89.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.002282/3.455, allocations: 0.7195 MB / 1.501 GB, free: 89.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.009e-05/3.455, allocations: 92.31 kB / 1.501 GB, free: 89.13 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/3.458, allocations: 1.356 MB / 1.502 GB, free: 88.97 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/3.458, allocations: 41.52 kB / 1.502 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007312/3.459, allocations: 0.7152 MB / 1.503 GB, free: 88.78 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002837/3.459, allocations: 240.7 kB / 1.503 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.674e-05/3.459, allocations: 18.12 kB / 1.503 GB, free: 88.66 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001246/3.459, allocations: 338.6 kB / 1.503 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006045/3.46, allocations: 263.5 kB / 1.504 GB, free: 88.36 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008171/3.461, allocations: 483.7 kB / 1.504 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000765/3.462, allocations: 345.8 kB / 1.504 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/3.462, allocations: 0.8125 kB / 1.504 GB, free: 88.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002476/3.464, allocations: 0.9688 MB / 1.505 GB, free: 88 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003811/3.464, allocations: 1.356 MB / 1.507 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.817e-05/3.464, allocations: 6.625 kB / 1.507 GB, free: 86.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003285/3.465, allocations: 76.11 kB / 1.507 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/3.465, allocations: 174.2 kB / 1.507 GB, free: 86.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001992/3.467, allocations: 2.976 MB / 1.51 GB, free: 83.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001481/3.469, allocations: 142 kB / 1.51 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/3.469, allocations: 42.64 kB / 1.51 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/3.469, allocations: 8.312 kB / 1.51 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001498/3.471, allocations: 0.7925 MB / 1.511 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/3.471, allocations: 6.922 kB / 1.511 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001455/3.471, allocations: 65.97 kB / 1.511 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006356/3.471, allocations: 181.2 kB / 1.511 GB, free: 83.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/3.473, allocations: 2.954 MB / 1.514 GB, free: 81.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/3.475, allocations: 139 kB / 1.514 GB, free: 81.12 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.634e-05/3.475, allocations: 38.91 kB / 1.514 GB, free: 81.12 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002976/3.475, allocations: 151.8 kB / 1.514 GB, free: 81.02 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003351/3.476, allocations: 157.5 kB / 1.514 GB, free: 80.94 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002146/3.478, allocations: 0.9672 MB / 1.515 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.132e-05/3.478, allocations: 8.953 kB / 1.515 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/3.478, allocations: 1.906 kB / 1.515 GB, free: 80.84 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/3.479, allocations: 0.7715 MB / 1.516 GB, free: 80.64 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/3.484, allocations: 2.639 MB / 1.519 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/3.484, allocations: 3.969 kB / 1.519 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005892/3.484, allocations: 132.4 kB / 1.519 GB, free: 79.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002868/3.485, allocations: 71.22 kB / 1.519 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/3.485, allocations: 22.91 kB / 1.519 GB, free: 79.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001838/3.486, allocations: 2.971 MB / 1.522 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/3.487, allocations: 6 kB / 1.522 GB, free: 77.3 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002704/3.489, allocations: 1.583 MB / 1.523 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/3.49, allocations: 376.4 kB / 1.524 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001988/3.491, allocations: 18.92 kB / 1.524 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008097/3.491, allocations: 57 kB / 1.524 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/3.492, allocations: 54.62 kB / 1.524 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.577e-05/3.492, allocations: 32.91 kB / 1.524 GB, free: 76.46 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002088/3.494, allocations: 1.071 MB / 1.525 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.5e-07/3.494, allocations: 3.5 kB / 1.525 GB, free: 76.34 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.005629/3.499, allocations: 1.207 MB / 1.526 GB, free: 76.3 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003763/3.503, allocations: 1.247 MB / 1.527 GB, free: 76.15 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003566/3.507, allocations: 1.7 MB / 1.529 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/3.507, allocations: 0.9062 kB / 1.529 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009741/3.508, allocations: 0.5866 MB / 1.529 GB, free: 75.39 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005346/3.513, allocations: 0.8056 MB / 1.53 GB, free: 75.38 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/3.518, allocations: 2.296 MB / 1.532 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001291/3.52, allocations: 1.308 MB / 1.534 GB, free: 73.98 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002702/3.522, allocations: 0.4991 MB / 1.534 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/3.523, allocations: 107.2 kB / 1.534 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of SimCode: time 1.804e-06/3.523, allocations: 0 / 1.534 GB, free: 73.96 MB / 0.6823 GB Notification: Performance of Templates: time 0.07169/3.594, allocations: 43.68 MB / 1.577 GB, free: 71.98 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)