Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.83/1.83, allocations: 292.6 MB / 307.5 MB, free: 5.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001466/0.001466, allocations: 188 kB / 377.1 MB, free: 1.539 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.715/1.715, allocations: 205.4 MB / 0.6367 GB, free: 8.648 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000897/0.000897, allocations: 87.75 kB / 0.751 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003465, allocations: 11.98 kB / 0.8748 GB, free: 11.19 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2917, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.753/2.045, allocations: 414.8 MB / 1.393 GB, free: 254 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003589/2.045, allocations: 115.3 kB / 1.394 GB, free: 254 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.68/12.73, allocations: 2.797 GB / 4.191 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.176e-06/12.73, allocations: 0 / 4.191 GB, free: 97.39 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.004558/12.73, allocations: 309.6 kB / 4.191 GB, free: 97.34 MB / 0.9792 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.08083/12.81, allocations: 14.23 MB / 4.205 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.756e-05/12.81, allocations: 7.5 kB / 4.205 GB, free: 88.36 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01485/12.83, allocations: 1.624 MB / 4.207 GB, free: 87.56 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06471/12.89, allocations: 18.78 MB / 4.225 GB, free: 70.11 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001056/12.89, allocations: 0.6336 MB / 4.226 GB, free: 69.47 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005685/12.9, allocations: 0.8654 MB / 4.227 GB, free: 68.61 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04869/12.95, allocations: 11.96 MB / 4.238 GB, free: 56.36 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001123/12.95, allocations: 35.69 kB / 4.238 GB, free: 56.32 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005782/12.96, allocations: 355.8 kB / 4.239 GB, free: 55.98 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000257/12.96, allocations: 208 kB / 4.239 GB, free: 55.78 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03252/12.99, allocations: 10.26 MB / 4.249 GB, free: 45.49 MB / 0.9792 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.1276/13.12, allocations: 51.43 MB / 4.299 GB, free: 8.883 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01331/13.13, allocations: 5.841 MB / 4.305 GB, free: 3.012 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002704/13.13, allocations: 2.184 MB / 4.307 GB, free: 392 kB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/13.13, allocations: 94.67 kB / 4.307 GB, free: 288 kB / 0.9948 GB Notification: Performance of pre-optimization done (n=482): time 9.848e-06/13.13, allocations: 3.938 kB / 4.307 GB, free: 284 kB / 0.9948 GB Notification: Performance of matching and sorting (n=482): time 1.511/14.64, allocations: 12.57 MB / 4.319 GB, free: 124.1 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/14.64, allocations: 360.8 kB / 4.32 GB, free: 123.7 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04937/14.69, allocations: 14.73 MB / 4.334 GB, free: 123.1 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.00275/14.7, allocations: 130.3 kB / 4.334 GB, free: 123.1 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01267/14.71, allocations: 6.02 MB / 4.34 GB, free: 122.5 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.004265/14.71, allocations: 1.704 MB / 4.342 GB, free: 121.6 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001984/14.71, allocations: 125.5 kB / 4.342 GB, free: 121.6 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001193/14.72, allocations: 0.5744 MB / 4.342 GB, free: 121.3 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008543/14.72, allocations: 3.5 MB / 4.346 GB, free: 121.3 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01134/14.74, allocations: 5.729 MB / 4.351 GB, free: 119.1 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/14.75, allocations: 4.593 MB / 4.356 GB, free: 119 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001407/14.75, allocations: 16.28 kB / 4.356 GB, free: 119 MB / 0.9949 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.04065/14.79, allocations: 10.92 MB / 4.367 GB, free: 118 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.009525/14.8, allocations: 25.4 MB / 4.391 GB, free: 91.74 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004462/14.8, allocations: 68.8 kB / 4.391 GB, free: 91.74 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002831/14.8, allocations: 1.025 MB / 4.392 GB, free: 91.59 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0071/14.81, allocations: 1.446 MB / 4.394 GB, free: 91.59 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02943/14.84, allocations: 33.32 MB / 4.426 GB, free: 80.98 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01936/14.86, allocations: 1.515 MB / 4.428 GB, free: 80.75 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002923/14.86, allocations: 273.1 kB / 4.428 GB, free: 80.75 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/14.86, allocations: 9.422 kB / 4.428 GB, free: 80.75 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02934/14.89, allocations: 9.831 MB / 4.438 GB, free: 80.39 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005873/14.89, allocations: 68.17 kB / 4.438 GB, free: 80.39 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002211/14.89, allocations: 0.9915 MB / 4.439 GB, free: 80.23 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006863/14.9, allocations: 1.452 MB / 4.44 GB, free: 80.23 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03265/14.93, allocations: 33.62 MB / 4.473 GB, free: 69.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0191/14.95, allocations: 1.411 MB / 4.474 GB, free: 69.44 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003042/14.95, allocations: 271.3 kB / 4.475 GB, free: 69.44 MB / 1.026 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.01874/14.97, allocations: 5.396 MB / 4.48 GB, free: 69.25 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00756/14.98, allocations: 1.16 MB / 4.481 GB, free: 68.64 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03159/15.01, allocations: 8.38 MB / 4.489 GB, free: 68.17 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000122/15.01, allocations: 54.28 kB / 4.489 GB, free: 68.17 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001236/15.01, allocations: 10.88 kB / 4.489 GB, free: 68.17 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01849/15.03, allocations: 6.492 MB / 4.496 GB, free: 67.82 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1008/15.13, allocations: 44.13 MB / 4.539 GB, free: 45.05 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001047/15.13, allocations: 7.75 kB / 4.539 GB, free: 45.05 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006835/15.14, allocations: 1.066 MB / 4.54 GB, free: 45.05 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003014/15.14, allocations: 0.9729 MB / 4.541 GB, free: 44.89 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002401/15.14, allocations: 156.8 kB / 4.541 GB, free: 44.89 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03928/15.18, allocations: 33.48 MB / 4.574 GB, free: 50.16 MB / 1.057 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.1e-05/15.18, allocations: 19.2 kB / 4.574 GB, free: 50.15 MB / 1.057 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03902/15.22, allocations: 15.71 MB / 4.589 GB, free: 40.93 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01622/15.24, allocations: 2.961 MB / 4.592 GB, free: 39.31 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008884/15.25, allocations: 131.8 kB / 4.592 GB, free: 39.24 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01677/15.26, allocations: 0.6608 MB / 4.593 GB, free: 39.14 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002612/15.27, allocations: 357.9 kB / 4.593 GB, free: 39.09 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002087/15.27, allocations: 192.9 kB / 4.593 GB, free: 39.05 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.04124/15.31, allocations: 12.07 MB / 4.605 GB, free: 34.9 MB / 1.057 GB Notification: Performance of sort global known variables: time 6.31e-07/15.31, allocations: 4.938 kB / 4.605 GB, free: 34.9 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.04999/15.36, allocations: 6.514 MB / 4.611 GB, free: 34.02 MB / 1.057 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.007717/15.37, allocations: 1.422 MB / 4.613 GB, free: 33.73 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.04107/15.41, allocations: 18.02 MB / 4.63 GB, free: 24.2 MB / 1.057 GB Notification: Performance of simCode: created event and clocks part: time 3.59e-05/15.41, allocations: 8.062 kB / 4.63 GB, free: 24.2 MB / 1.057 GB Notification: Performance of simCode: created simulation system equations: time 0.01093/15.42, allocations: 5.692 MB / 4.636 GB, free: 20.7 MB / 1.057 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0521/15.47, allocations: 7.951 MB / 4.644 GB, free: 19.41 MB / 1.057 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1028/15.58, allocations: 33.27 MB / 4.676 GB, free: 3.477 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.7577/16.33, allocations: 9.973 MB / 4.686 GB, free: 166.7 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.0282/16.36, allocations: 6.733 MB / 4.692 GB, free: 166.6 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00568/16.37, allocations: 0.8846 MB / 4.693 GB, free: 166.6 MB / 1.057 GB Notification: Performance of SimCode: time 1.332e-06/16.37, allocations: 0 / 4.693 GB, free: 166.6 MB / 1.057 GB Notification: Performance of Templates: time 0.436/16.8, allocations: 274.2 MB / 4.961 GB, free: 69.93 MB / 1.057 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.Examples.BoreholeOneUTube.pipe 2>&1)