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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.721/1.721, allocations: 293 MB / 309 MB, free: 4.82 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.001014/0.001014, allocations: 175.4 kB / 378.7 MB, free: 1.062 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.506/1.506, allocations: 205.4 MB / 0.6383 GB, free: 9.066 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.0007465/0.0007465, allocations: 95.75 kB / 0.7527 GB, free: 62.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003839, allocations: 16 kB / 0.8768 GB, free: 10.53 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2516/0.252, allocations: 116.4 MB / 0.9905 GB, free: 5.988 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.511/1.763, allocations: 414.9 MB / 1.396 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.764, allocations: 115.9 kB / 1.396 GB, free: 279.1 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 10.09/11.85, allocations: 2.777 GB / 4.173 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.595e-06/11.85, allocations: 3.344 kB / 4.173 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.003703/11.85, allocations: 304.8 kB / 4.173 GB, free: 105.9 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.05495/11.91, allocations: 14.08 MB / 4.187 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/11.91, allocations: 11.38 kB / 4.187 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01174/11.92, allocations: 1.626 MB / 4.189 GB, free: 97.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05134/11.97, allocations: 18.61 MB / 4.207 GB, free: 85.72 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001011/11.97, allocations: 0.6383 MB / 4.208 GB, free: 85.17 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005076/11.98, allocations: 0.8553 MB / 4.208 GB, free: 84.32 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04276/12.02, allocations: 12.03 MB / 4.22 GB, free: 71.99 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003708/12.02, allocations: 31.73 kB / 4.22 GB, free: 71.96 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002059/12.02, allocations: 352 kB / 4.221 GB, free: 71.62 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/12.02, allocations: 211.5 kB / 4.221 GB, free: 71.41 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02361/12.05, allocations: 10.26 MB / 4.231 GB, free: 61.13 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.09487/12.14, allocations: 51.06 MB / 4.281 GB, free: 8.887 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008527/12.15, allocations: 5.85 MB / 4.286 GB, free: 3.016 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004898/12.15, allocations: 3.904 MB / 4.29 GB, free: 15.11 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002207/12.16, allocations: 2.18 MB / 4.292 GB, free: 12.48 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/12.16, allocations: 102.3 kB / 4.292 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=482): time 6.142e-06/12.16, allocations: 0 / 4.292 GB, free: 12.38 MB / 0.9948 GB Notification: Performance of matching and sorting (n=482): time 1.365/13.52, allocations: 12.57 MB / 4.305 GB, free: 128.7 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/13.52, allocations: 364 kB / 4.305 GB, free: 128.4 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04387/13.57, allocations: 15.51 MB / 4.32 GB, free: 127.7 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002196/13.57, allocations: 128.1 kB / 4.32 GB, free: 127.7 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01139/13.58, allocations: 6.009 MB / 4.326 GB, free: 127.5 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.003858/13.58, allocations: 1.704 MB / 4.328 GB, free: 127.1 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008353/13.58, allocations: 130.2 kB / 4.328 GB, free: 127.1 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.0006134/13.59, allocations: 0.5741 MB / 4.328 GB, free: 126.8 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006111/13.59, allocations: 3.506 MB / 4.332 GB, free: 126.8 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008323/13.6, allocations: 5.752 MB / 4.337 GB, free: 124.6 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/13.61, allocations: 8.603 MB / 4.346 GB, free: 123 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.267e-05/13.61, allocations: 13.91 kB / 4.346 GB, free: 123 MB / 0.9949 GB Notification: Performance of matching and sorting (n=847) (initialization): time 0.03131/13.65, allocations: 10.92 MB / 4.357 GB, free: 122 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.001312/13.65, allocations: 1.346 MB / 4.358 GB, free: 120.4 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003962/13.65, allocations: 63.97 kB / 4.358 GB, free: 120.4 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002572/13.65, allocations: 1.019 MB / 4.359 GB, free: 120.3 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006613/13.66, allocations: 1.453 MB / 4.36 GB, free: 120.3 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02224/13.68, allocations: 33.09 MB / 4.393 GB, free: 93.64 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01636/13.69, allocations: 1.465 MB / 4.394 GB, free: 93.43 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002379/13.7, allocations: 279.1 kB / 4.394 GB, free: 93.43 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/13.7, allocations: 3.062 kB / 4.394 GB, free: 93.43 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01974/13.72, allocations: 9.834 MB / 4.404 GB, free: 93.07 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004148/13.72, allocations: 66.28 kB / 4.404 GB, free: 93.07 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001899/13.72, allocations: 0.9904 MB / 4.405 GB, free: 92.91 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007287/13.73, allocations: 1.449 MB / 4.406 GB, free: 92.91 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02617/13.75, allocations: 33.36 MB / 4.439 GB, free: 66.28 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01609/13.77, allocations: 1.373 MB / 4.44 GB, free: 66.11 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002415/13.77, allocations: 273.9 kB / 4.441 GB, free: 66.11 MB / 0.9949 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.01746/13.79, allocations: 5.395 MB / 4.446 GB, free: 65.91 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006127/13.8, allocations: 1.162 MB / 4.447 GB, free: 65.3 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02419/13.82, allocations: 8.368 MB / 4.455 GB, free: 64.84 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.89e-05/13.82, allocations: 50.5 kB / 4.455 GB, free: 64.84 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-05/13.82, allocations: 16.72 kB / 4.455 GB, free: 64.84 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01348/13.83, allocations: 6.494 MB / 4.462 GB, free: 64.5 MB / 0.9949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.08135/13.91, allocations: 43.93 MB / 4.504 GB, free: 57.72 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-05/13.91, allocations: 11.31 kB / 4.504 GB, free: 57.72 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00434/13.92, allocations: 1.063 MB / 4.506 GB, free: 57.72 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/13.92, allocations: 0.9725 MB / 4.506 GB, free: 57.56 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009238/13.92, allocations: 152.1 kB / 4.507 GB, free: 57.56 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02803/13.95, allocations: 33.22 MB / 4.539 GB, free: 46.91 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.195e-05/13.95, allocations: 18.47 kB / 4.539 GB, free: 46.91 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0269/13.98, allocations: 12.19 MB / 4.551 GB, free: 42.35 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01259/13.99, allocations: 2.861 MB / 4.554 GB, free: 40.79 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006258/14, allocations: 129.9 kB / 4.554 GB, free: 40.71 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01213/14.01, allocations: 0.6595 MB / 4.555 GB, free: 40.61 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001821/14.01, allocations: 357.3 kB / 4.555 GB, free: 40.56 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007938/14.01, allocations: 196.3 kB / 4.555 GB, free: 40.52 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03243/14.04, allocations: 11.55 MB / 4.566 GB, free: 36.59 MB / 1.026 GB Notification: Performance of sort global known variables: time 2.484e-06/14.04, allocations: 0 / 4.566 GB, free: 36.59 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.03467/14.08, allocations: 6.479 MB / 4.573 GB, free: 35.66 MB / 1.026 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.004708/14.08, allocations: 1.395 MB / 4.574 GB, free: 35.37 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.03215/14.11, allocations: 18.02 MB / 4.592 GB, free: 25.76 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.78e-05/14.11, allocations: 5.312 kB / 4.592 GB, free: 25.76 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.008877/14.12, allocations: 5.689 MB / 4.597 GB, free: 38.27 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07089/14.19, allocations: 8.961 MB / 4.606 GB, free: 36.62 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06079/14.26, allocations: 33.31 MB / 4.638 GB, free: 20.77 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01699/14.27, allocations: 9.318 MB / 4.648 GB, free: 17.54 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.02783/14.3, allocations: 6.766 MB / 4.654 GB, free: 15.15 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006425/14.31, allocations: 0.9789 MB / 4.655 GB, free: 14.23 MB / 1.042 GB Notification: Performance of SimCode: time 1.363e-06/14.31, allocations: 0 / 4.655 GB, free: 14.23 MB / 1.042 GB Notification: Performance of Templates: time 1.179/15.49, allocations: 314.1 MB / 4.962 GB, free: 91.19 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)