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.001155/0.001155, allocations: 175.1 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-master/package.mo): time 0.7849/0.7849, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.608/1.608, allocations: 221.3 MB / 400.4 MB, free: 5.84 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.0009523/0.0009523, allocations: 99.14 kB / 483.3 MB, free: 5.891 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.291e-05/4.299e-05, allocations: 3.375 kB / 0.5601 GB, free: 87.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1691, allocations: 82.31 MB / 0.6404 GB, free: 7.812 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.331/1.501, allocations: 387.9 MB / 1.019 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.501, allocations: 110.5 kB / 1.019 GB, free: 197.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 10.67/12.17, allocations: 2.841 GB / 3.861 GB, free: 61.68 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.838e-06/12.17, allocations: 0 / 3.861 GB, free: 61.68 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.003524/12.18, allocations: 315.2 kB / 3.861 GB, free: 61.63 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.04865/12.23, allocations: 10.87 MB / 3.872 GB, free: 53.02 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.62e-05/12.23, allocations: 8.031 kB / 3.872 GB, free: 53.01 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01533/12.24, allocations: 1.622 MB / 3.873 GB, free: 51.37 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05687/12.3, allocations: 18.88 MB / 3.892 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007244/12.3, allocations: 0.6297 MB / 3.892 GB, free: 32.1 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004273/12.3, allocations: 0.8629 MB / 3.893 GB, free: 31.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0389/12.34, allocations: 11.81 MB / 3.905 GB, free: 19.13 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009423/12.34, allocations: 27.83 kB / 3.905 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005879/12.35, allocations: 359.6 kB / 3.905 GB, free: 18.76 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002671/12.35, allocations: 204 kB / 3.905 GB, free: 18.56 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02901/12.38, allocations: 10.09 MB / 3.915 GB, free: 8.453 MB / 0.7292 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 1.331/13.71, allocations: 51.4 MB / 3.965 GB, free: 62.18 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01135/13.72, allocations: 5.784 MB / 3.971 GB, free: 62.06 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/13.73, allocations: 3.858 MB / 3.975 GB, free: 62.01 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002144/13.73, allocations: 2.179 MB / 3.977 GB, free: 59.66 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001182/13.73, allocations: 98.09 kB / 3.977 GB, free: 59.62 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=482): time 7.294e-06/13.73, allocations: 0 / 3.977 GB, free: 59.62 MB / 0.7449 GB Notification: Performance of matching and sorting (n=482): time 0.01927/13.75, allocations: 7.439 MB / 3.984 GB, free: 58.7 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001437/13.75, allocations: 365.8 kB / 3.985 GB, free: 58.32 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03847/13.79, allocations: 14.69 MB / 3.999 GB, free: 57.67 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 0.002107/13.79, allocations: 126.8 kB / 3.999 GB, free: 57.64 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 0.009942/13.8, allocations: 6.035 MB / 4.005 GB, free: 56.57 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 0.003813/13.81, allocations: 1.71 MB / 4.007 GB, free: 55.72 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000801/13.81, allocations: 126.7 kB / 4.007 GB, free: 55.72 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0006459/13.81, allocations: 0.5761 MB / 4.007 GB, free: 55.4 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005731/13.81, allocations: 3.456 MB / 4.011 GB, free: 55.39 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00799/13.82, allocations: 5.496 MB / 4.016 GB, free: 53.38 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007727/13.83, allocations: 4.559 MB / 4.02 GB, free: 53.26 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.203e-05/13.83, allocations: 15.64 kB / 4.02 GB, free: 53.26 MB / 0.7449 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.02677/13.86, allocations: 10.84 MB / 4.031 GB, free: 52.26 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.012/13.87, allocations: 25.34 MB / 4.056 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004103/13.87, allocations: 64.81 kB / 4.056 GB, free: 42.15 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002846/13.87, allocations: 1.02 MB / 4.057 GB, free: 41.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006932/13.88, allocations: 1.451 MB / 4.058 GB, free: 41.99 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02683/13.9, allocations: 33.03 MB / 4.09 GB, free: 31.4 MB / 0.7762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01725/13.92, allocations: 1.497 MB / 4.092 GB, free: 31.18 MB / 0.7762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/13.92, allocations: 275.3 kB / 4.092 GB, free: 31.18 MB / 0.7762 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/13.92, allocations: 3.906 kB / 4.092 GB, free: 31.18 MB / 0.7762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02153/13.95, allocations: 9.743 MB / 4.102 GB, free: 30.81 MB / 0.7762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004271/13.95, allocations: 62.27 kB / 4.102 GB, free: 30.81 MB / 0.7762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/13.95, allocations: 0.993 MB / 4.103 GB, free: 30.66 MB / 0.7762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007345/13.96, allocations: 1.448 MB / 4.104 GB, free: 30.66 MB / 0.7762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02782/13.98, allocations: 33.3 MB / 4.137 GB, free: 36.05 MB / 0.8074 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01647/14, allocations: 1.383 MB / 4.138 GB, free: 35.79 MB / 0.8074 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002822/14, allocations: 270.6 kB / 4.138 GB, free: 35.79 MB / 0.8074 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 () * 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.004606/14.01, allocations: 492.4 kB / 4.139 GB, free: 35.65 MB / 0.8074 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007031/14.01, allocations: 1.168 MB / 4.14 GB, free: 35.04 MB / 0.8074 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02405/14.04, allocations: 8.321 MB / 4.148 GB, free: 34.55 MB / 0.8074 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.86e-05/14.04, allocations: 51.53 kB / 4.148 GB, free: 34.55 MB / 0.8074 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.046e-05/14.04, allocations: 11.53 kB / 4.148 GB, free: 34.55 MB / 0.8074 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009587/14.05, allocations: 6.425 MB / 4.154 GB, free: 33.87 MB / 0.8074 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08223/14.13, allocations: 44.08 MB / 4.197 GB, free: 18.29 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.748e-05/14.13, allocations: 8.938 kB / 4.197 GB, free: 18.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004479/14.14, allocations: 1.07 MB / 4.198 GB, free: 18.22 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002077/14.14, allocations: 0.9733 MB / 4.199 GB, free: 17.81 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008106/14.14, allocations: 155.9 kB / 4.2 GB, free: 17.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.7607/14.9, allocations: 33.15 MB / 4.232 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.037e-05/14.9, allocations: 18 kB / 4.232 GB, free: 128.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03565/14.93, allocations: 15.65 MB / 4.247 GB, free: 123.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01779/14.95, allocations: 2.966 MB / 4.25 GB, free: 122.4 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007552/14.96, allocations: 127.3 kB / 4.25 GB, free: 122.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01474/14.98, allocations: 0.662 MB / 4.251 GB, free: 122.4 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002026/14.98, allocations: 360.3 kB / 4.251 GB, free: 122.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009262/14.98, allocations: 197.5 kB / 4.251 GB, free: 122.4 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0338/15.01, allocations: 12 MB / 4.263 GB, free: 122 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.112e-06/15.01, allocations: 0 / 4.263 GB, free: 122 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0403/15.05, allocations: 6.507 MB / 4.27 GB, free: 121.7 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 () * 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.005294/15.06, allocations: 1.396 MB / 4.271 GB, free: 121.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.03551/15.09, allocations: 18.27 MB / 4.289 GB, free: 116.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 4.274e-05/15.09, allocations: 8.375 kB / 4.289 GB, free: 116.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.009582/15.1, allocations: 5.631 MB / 4.294 GB, free: 114 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04435/15.15, allocations: 7.913 MB / 4.302 GB, free: 113.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06763/15.22, allocations: 26.05 MB / 4.327 GB, free: 108.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02115/15.24, allocations: 9.601 MB / 4.337 GB, free: 107.4 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0549/15.29, allocations: 13.35 MB / 4.35 GB, free: 106.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004276/15.3, allocations: 0.6441 MB / 4.35 GB, free: 106.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.884e-06/15.3, allocations: 0 / 4.35 GB, free: 106.7 MB / 0.823 GB Notification: Performance of Templates: time 1.23/16.53, allocations: 293.2 MB / 4.637 GB, free: 132 MB / 0.823 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)