Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.007508/0.007508, allocations: 169.5 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7913/0.7913, allocations: 135.2 MB / 151.1 MB, free: 13.81 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.615/1.615, allocations: 223.2 MB / 406.9 MB, free: 3.203 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.001066/0.001066, allocations: 96.81 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003677/0.0003681, allocations: 12 kB / 0.5691 GB, free: 14.11 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4724, allocations: 82.29 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8636/1.336, allocations: 387.9 MB / 1.028 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/1.336, allocations: 118.3 kB / 1.028 GB, free: 0.9844 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 11.33/12.67, allocations: 2.851 GB / 3.879 GB, free: 94.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.484e-06/12.67, allocations: 0 / 3.879 GB, free: 94.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.003337/12.67, allocations: 311.6 kB / 3.879 GB, free: 94.83 MB / 0.7448 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.05382/12.72, allocations: 14.3 MB / 3.893 GB, free: 89.27 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/12.72, allocations: 5.875 kB / 3.893 GB, free: 89.27 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/12.74, allocations: 1.629 MB / 3.895 GB, free: 88.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0497/12.79, allocations: 18.99 MB / 3.914 GB, free: 86.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008974/12.79, allocations: 0.6301 MB / 3.914 GB, free: 86.66 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004736/12.79, allocations: 0.8537 MB / 3.915 GB, free: 86.65 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04125/12.83, allocations: 11.96 MB / 3.927 GB, free: 85.68 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006061/12.83, allocations: 30.5 kB / 3.927 GB, free: 85.68 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00342/12.84, allocations: 354.4 kB / 3.927 GB, free: 85.68 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001643/12.84, allocations: 209.2 kB / 3.927 GB, free: 85.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02473/12.86, allocations: 10.26 MB / 3.937 GB, free: 84.09 MB / 0.7448 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.1049/12.97, allocations: 51.39 MB / 3.987 GB, free: 50 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009421/12.98, allocations: 5.849 MB / 3.993 GB, free: 44.96 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001841/12.98, allocations: 2.18 MB / 3.995 GB, free: 42.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.127e-05/12.98, allocations: 100.8 kB / 3.995 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=482): time 8.025e-06/12.98, allocations: 0 / 3.995 GB, free: 42.3 MB / 0.7448 GB Notification: Performance of matching and sorting (n=482): time 0.02668/13.01, allocations: 12.58 MB / 4.008 GB, free: 31 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001901/13.01, allocations: 360.2 kB / 4.008 GB, free: 30.57 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04138/13.05, allocations: 14.83 MB / 4.023 GB, free: 16.73 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.002954/13.05, allocations: 125.7 kB / 4.023 GB, free: 16.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0135/13.06, allocations: 6.032 MB / 4.029 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.004617/13.07, allocations: 1.7 MB / 4.03 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001026/13.07, allocations: 132 kB / 4.03 GB, free: 8.746 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0008217/13.07, allocations: 0.5788 MB / 4.031 GB, free: 8.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007895/13.08, allocations: 3.502 MB / 4.034 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.087/14.16, allocations: 5.53 MB / 4.04 GB, free: 90.59 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01295/14.18, allocations: 4.578 MB / 4.044 GB, free: 90.49 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001979/14.18, allocations: 11.59 kB / 4.044 GB, free: 90.49 MB / 0.7449 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03609/14.21, allocations: 10.93 MB / 4.055 GB, free: 90.11 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.004793/14.22, allocations: 25.34 MB / 4.08 GB, free: 64 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003778/14.22, allocations: 64.58 kB / 4.08 GB, free: 64 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002419/14.22, allocations: 1.026 MB / 4.081 GB, free: 63.85 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006554/14.23, allocations: 1.449 MB / 4.082 GB, free: 63.85 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02641/14.25, allocations: 33.31 MB / 4.115 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01764/14.27, allocations: 1.485 MB / 4.116 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003064/14.28, allocations: 278.3 kB / 4.116 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/14.28, allocations: 3.625 kB / 4.116 GB, free: 53.43 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0194/14.29, allocations: 9.831 MB / 4.126 GB, free: 53.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00031/14.3, allocations: 66.42 kB / 4.126 GB, free: 53.06 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001677/14.3, allocations: 0.9934 MB / 4.127 GB, free: 52.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006348/14.3, allocations: 1.45 MB / 4.128 GB, free: 52.91 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02525/14.33, allocations: 33.64 MB / 4.161 GB, free: 42.45 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01602/14.34, allocations: 1.385 MB / 4.163 GB, free: 42.38 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002383/14.35, allocations: 274.6 kB / 4.163 GB, free: 42.38 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.01373/14.36, allocations: 5.419 MB / 4.168 GB, free: 42.19 MB / 0.7762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005813/14.37, allocations: 1.17 MB / 4.169 GB, free: 41.57 MB / 0.7762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01793/14.38, allocations: 8.389 MB / 4.177 GB, free: 41.1 MB / 0.7762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.854e-05/14.38, allocations: 51.81 kB / 4.178 GB, free: 41.1 MB / 0.7762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/14.38, allocations: 10 kB / 4.178 GB, free: 41.1 MB / 0.7762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01006/14.39, allocations: 6.494 MB / 4.184 GB, free: 40.73 MB / 0.7762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07848/14.47, allocations: 44.15 MB / 4.227 GB, free: 33.86 MB / 0.7918 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.389e-05/14.47, allocations: 7.656 kB / 4.227 GB, free: 33.86 MB / 0.7918 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004631/14.48, allocations: 1.065 MB / 4.228 GB, free: 33.82 MB / 0.7918 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/14.48, allocations: 0.9761 MB / 4.229 GB, free: 33.65 MB / 0.7918 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006901/14.48, allocations: 155.5 kB / 4.229 GB, free: 33.65 MB / 0.7918 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02724/14.51, allocations: 33.48 MB / 4.262 GB, free: 22.86 MB / 0.8074 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-05/14.51, allocations: 15.72 kB / 4.262 GB, free: 22.86 MB / 0.8074 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02528/14.53, allocations: 15.76 MB / 4.277 GB, free: 33.27 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01299/14.55, allocations: 2.963 MB / 4.28 GB, free: 32.3 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006629/14.55, allocations: 137.5 kB / 4.28 GB, free: 32.23 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01301/14.57, allocations: 0.6647 MB / 4.281 GB, free: 32.13 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001658/14.57, allocations: 356.5 kB / 4.281 GB, free: 32.06 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007586/14.57, allocations: 196.5 kB / 4.281 GB, free: 32.02 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0308/14.6, allocations: 12.15 MB / 4.293 GB, free: 27.85 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.21e-07/14.6, allocations: 0 / 4.293 GB, free: 27.85 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.04059/14.64, allocations: 6.508 MB / 4.3 GB, free: 27.2 MB / 0.823 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.006443/14.65, allocations: 1.402 MB / 4.301 GB, free: 26.92 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03807/14.68, allocations: 18.01 MB / 4.319 GB, free: 17.28 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-05/14.68, allocations: 8.844 kB / 4.319 GB, free: 17.28 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009502/14.69, allocations: 5.691 MB / 4.324 GB, free: 13.79 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04461/14.74, allocations: 7.916 MB / 4.332 GB, free: 12.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6338/15.37, allocations: 33.39 MB / 4.365 GB, free: 145.5 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02316/15.4, allocations: 9.58 MB / 4.374 GB, free: 144.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.03357/15.43, allocations: 6.831 MB / 4.381 GB, free: 144.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006273/15.44, allocations: 0.8887 MB / 4.381 GB, free: 144.4 MB / 0.823 GB Notification: Performance of SimCode: time 3.236e-06/15.44, allocations: 0 / 4.381 GB, free: 144.4 MB / 0.823 GB Notification: Performance of Templates: time 0.9916/16.43, allocations: 272.2 MB / 4.647 GB, free: 165.5 MB / 0.8387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)