Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008695/0.008695, allocations: 173 kB / 15.12 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7329/0.7329, allocations: 132.3 MB / 148.1 MB, free: 220 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.587/1.587, allocations: 223.2 MB / 403.2 MB, free: 6.746 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.0009302/0.0009306, allocations: 95.52 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003481/0.0003481, allocations: 12 kB / 0.5641 GB, free: 2.074 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4887/0.4891, allocations: 81.57 MB / 0.6438 GB, free: 39.37 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.927/1.416, allocations: 387.7 MB / 1.022 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005767/1.417, allocations: 124.6 kB / 1.022 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.33/12.74, allocations: 2.851 GB / 3.873 GB, free: 85.74 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.134e-06/12.74, allocations: 0 / 3.873 GB, free: 85.74 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003153/12.75, allocations: 323.4 kB / 3.874 GB, free: 85.7 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2147 * Number of variables: 2147 Notification: Performance of Generate backend data structure: time 0.05557/12.8, allocations: 14.29 MB / 3.887 GB, free: 80.09 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.296e-05/12.8, allocations: 10.53 kB / 3.888 GB, free: 80.09 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01132/12.81, allocations: 1.626 MB / 3.889 GB, free: 79.3 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05077/12.87, allocations: 18.99 MB / 3.908 GB, free: 77.29 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001064/12.87, allocations: 0.6292 MB / 3.908 GB, free: 77.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006305/12.87, allocations: 0.8625 MB / 3.909 GB, free: 77.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04157/12.91, allocations: 11.95 MB / 3.921 GB, free: 73.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005136/12.92, allocations: 30.34 kB / 3.921 GB, free: 73.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003256/12.92, allocations: 354 kB / 3.921 GB, free: 72.82 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/12.92, allocations: 204.9 kB / 3.921 GB, free: 72.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02934/12.95, allocations: 10.26 MB / 3.931 GB, free: 66.58 MB / 0.7292 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.1128/13.06, allocations: 51.4 MB / 3.982 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/13.07, allocations: 5.847 MB / 3.987 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002261/13.07, allocations: 2.176 MB / 3.989 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001644/13.08, allocations: 98.61 kB / 3.989 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=482): time 1.575e-05/13.08, allocations: 3.719 kB / 3.989 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=482): time 1.108/14.18, allocations: 12.58 MB / 4.002 GB, free: 83.12 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001815/14.18, allocations: 366.4 kB / 4.002 GB, free: 82.74 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03985/14.22, allocations: 14.82 MB / 4.017 GB, free: 82.2 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 0.002009/14.23, allocations: 127 kB / 4.017 GB, free: 82.17 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 0.01135/14.24, allocations: 6.028 MB / 4.023 GB, free: 82 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 0.003522/14.24, allocations: 1.709 MB / 4.024 GB, free: 81.29 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008013/14.24, allocations: 126.8 kB / 4.024 GB, free: 81.29 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 0.0005302/14.24, allocations: 0.5743 MB / 4.025 GB, free: 80.97 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005818/14.25, allocations: 3.502 MB / 4.028 GB, free: 80.95 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/14.26, allocations: 5.536 MB / 4.034 GB, free: 78.95 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008053/14.26, allocations: 4.571 MB / 4.038 GB, free: 78.85 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.448e-05/14.26, allocations: 13.84 kB / 4.038 GB, free: 78.85 MB / 0.7293 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02538/14.29, allocations: 10.93 MB / 4.049 GB, free: 77.85 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.008539/14.3, allocations: 25.34 MB / 4.074 GB, free: 67.74 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005393/14.3, allocations: 60.78 kB / 4.074 GB, free: 67.74 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002746/14.3, allocations: 1.023 MB / 4.075 GB, free: 67.59 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006678/14.31, allocations: 1.453 MB / 4.076 GB, free: 67.59 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02579/14.33, allocations: 33.32 MB / 4.109 GB, free: 56.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01701/14.35, allocations: 1.491 MB / 4.11 GB, free: 56.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002629/14.35, allocations: 277.8 kB / 4.11 GB, free: 56.76 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/14.35, allocations: 8.859 kB / 4.11 GB, free: 56.76 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01902/14.37, allocations: 9.832 MB / 4.12 GB, free: 56.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003096/14.37, allocations: 63.03 kB / 4.12 GB, free: 56.39 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/14.38, allocations: 0.9884 MB / 4.121 GB, free: 56.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006196/14.38, allocations: 1.448 MB / 4.122 GB, free: 56.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02956/14.41, allocations: 33.62 MB / 4.155 GB, free: 45.63 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0166/14.43, allocations: 1.385 MB / 4.157 GB, free: 45.45 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002305/14.43, allocations: 271.3 kB / 4.157 GB, free: 45.45 MB / 0.7762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 183 * 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 (757): * Single equations (assignments): 727 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01522/14.45, allocations: 5.417 MB / 4.162 GB, free: 45.18 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006052/14.45, allocations: 1.171 MB / 4.163 GB, free: 44.56 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02194/14.47, allocations: 8.394 MB / 4.172 GB, free: 44.05 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-05/14.47, allocations: 54.69 kB / 4.172 GB, free: 44.05 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.136e-05/14.47, allocations: 11.62 kB / 4.172 GB, free: 44.05 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01018/14.48, allocations: 6.493 MB / 4.178 GB, free: 43.67 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08363/14.57, allocations: 44.16 MB / 4.221 GB, free: 32.84 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-05/14.57, allocations: 9.688 kB / 4.221 GB, free: 32.84 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005244/14.57, allocations: 1.061 MB / 4.222 GB, free: 32.77 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00231/14.58, allocations: 0.9786 MB / 4.223 GB, free: 32.37 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001519/14.58, allocations: 163.2 kB / 4.223 GB, free: 32.3 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02804/14.6, allocations: 33.47 MB / 4.256 GB, free: 17.91 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-05/14.6, allocations: 23.36 kB / 4.256 GB, free: 17.9 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02741/14.63, allocations: 15.76 MB / 4.271 GB, free: 8.613 MB / 0.8074 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01265/14.64, allocations: 2.962 MB / 4.274 GB, free: 6.922 MB / 0.8074 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007245/14.65, allocations: 132.9 kB / 4.274 GB, free: 6.848 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01354/14.67, allocations: 0.6658 MB / 4.275 GB, free: 6.715 MB / 0.8074 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001801/14.67, allocations: 358.2 kB / 4.275 GB, free: 6.645 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00151/14.67, allocations: 196.5 kB / 4.276 GB, free: 6.609 MB / 0.8074 GB Notification: Performance of sorting global known variables: time 0.02814/14.7, allocations: 12.15 MB / 4.287 GB, free: 2.438 MB / 0.8074 GB Notification: Performance of sort global known variables: time 1.192e-06/14.7, allocations: 0 / 4.287 GB, free: 2.438 MB / 0.8074 GB Notification: Performance of remove unused functions: time 0.03603/14.73, allocations: 6.496 MB / 4.294 GB, free: 1.488 MB / 0.8074 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 45 * Number of states: 40 (borHol.intHex[1].vol1.dynBal.U,borHol.intHex[1].vol2.dynBal.U,borHol.intHex[1].intResUTub.capFil1.T,borHol.intHex[1].intResUTub.capFil2.T,borHol.intHex[2].vol1.dynBal.U,borHol.intHex[2].vol2.dynBal.U,borHol.intHex[2].intResUTub.capFil1.T,borHol.intHex[2].intResUTub.capFil2.T,borHol.intHex[3].vol1.dynBal.U,borHol.intHex[3].vol2.dynBal.U,borHol.intHex[3].intResUTub.capFil1.T,borHol.intHex[3].intResUTub.capFil2.T,borHol.intHex[4].vol1.dynBal.U,borHol.intHex[4].vol2.dynBal.U,borHol.intHex[4].intResUTub.capFil1.T,borHol.intHex[4].intResUTub.capFil2.T,borHol.intHex[5].vol1.dynBal.U,borHol.intHex[5].vol2.dynBal.U,borHol.intHex[5].intResUTub.capFil1.T,borHol.intHex[5].intResUTub.capFil2.T,borHol.intHex[6].vol1.dynBal.U,borHol.intHex[6].vol2.dynBal.U,borHol.intHex[6].intResUTub.capFil1.T,borHol.intHex[6].intResUTub.capFil2.T,borHol.intHex[7].vol1.dynBal.U,borHol.intHex[7].vol2.dynBal.U,borHol.intHex[7].intResUTub.capFil1.T,borHol.intHex[7].intResUTub.capFil2.T,borHol.intHex[8].vol1.dynBal.U,borHol.intHex[8].vol2.dynBal.U,borHol.intHex[8].intResUTub.capFil1.T,borHol.intHex[8].intResUTub.capFil2.T,borHol.intHex[9].vol1.dynBal.U,borHol.intHex[9].vol2.dynBal.U,borHol.intHex[9].intResUTub.capFil1.T,borHol.intHex[9].intResUTub.capFil2.T,borHol.intHex[10].vol1.dynBal.U,borHol.intHex[10].vol2.dynBal.U,borHol.intHex[10].intResUTub.capFil1.T,borHol.intHex[10].intResUTub.capFil2.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 (428): * Single equations (assignments): 402 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 20 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(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.005154/14.74, allocations: 1.398 MB / 4.295 GB, free: 1.156 MB / 0.8074 GB Notification: Performance of simCode: created initialization part: time 0.5772/15.32, allocations: 18.22 MB / 4.313 GB, free: 142.4 MB / 0.8074 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-05/15.32, allocations: 7.781 kB / 4.313 GB, free: 142.4 MB / 0.8074 GB Notification: Performance of simCode: created simulation system equations: time 0.008979/15.32, allocations: 5.689 MB / 4.318 GB, free: 140.2 MB / 0.8074 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04798/15.37, allocations: 7.918 MB / 4.326 GB, free: 140.1 MB / 0.8074 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07775/15.45, allocations: 33.4 MB / 4.359 GB, free: 128.8 MB / 0.8074 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02352/15.47, allocations: 9.576 MB / 4.368 GB, free: 127.6 MB / 0.8074 GB Notification: Performance of simCode: alias equations: time 0.03096/15.51, allocations: 6.837 MB / 4.375 GB, free: 127.2 MB / 0.8074 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00613/15.51, allocations: 0.8806 MB / 4.376 GB, free: 127.2 MB / 0.8074 GB Notification: Performance of SimCode: time 1.403e-06/15.51, allocations: 0 / 4.376 GB, free: 127.2 MB / 0.8074 GB Notification: Performance of Templates: time 1.011/16.52, allocations: 272.2 MB / 4.641 GB, free: 142 MB / 0.8074 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)