Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.482/2.482, allocations: 287.5 MB / 303.2 MB, free: 8.207 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.001357/0.001357, allocations: 188.2 kB / 371.8 MB, free: 10.77 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.085/2.085, allocations: 205.4 MB / 0.6305 GB, free: 10.54 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000919/0.0009188, allocations: 87.47 kB / 0.7438 GB, free: 6.539 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004824/0.0004824, allocations: 13.12 kB / 0.8668 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2048/0.2053, allocations: 115.3 MB / 0.9793 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.292/1.497, allocations: 429.2 MB / 1.398 GB, free: 256 kB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004752/1.498, allocations: 131.8 kB / 1.399 GB, free: 176 kB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.425/6.923, allocations: 1.017 GB / 2.416 GB, free: 99.47 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.434e-06/6.923, allocations: 0 / 2.416 GB, free: 99.47 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004559/6.924, allocations: 82.88 kB / 2.416 GB, free: 99.45 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 526 * Number of variables: 526 Notification: Performance of Generate backend data structure: time 0.01284/6.936, allocations: 3.568 MB / 2.419 GB, free: 96.06 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/6.936, allocations: 8.031 kB / 2.419 GB, free: 96.05 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/6.939, allocations: 380.7 kB / 2.42 GB, free: 95.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0101/6.949, allocations: 2.874 MB / 2.422 GB, free: 92.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/6.949, allocations: 164.1 kB / 2.422 GB, free: 92.56 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000706/6.95, allocations: 216 kB / 2.423 GB, free: 92.35 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006196/6.956, allocations: 2.139 MB / 2.425 GB, free: 90.11 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.804e-05/6.956, allocations: 7.844 kB / 2.425 GB, free: 90.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/6.956, allocations: 88 kB / 2.425 GB, free: 90.01 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.366e-05/6.956, allocations: 56 kB / 2.425 GB, free: 89.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007446/6.964, allocations: 1.605 MB / 2.426 GB, free: 88.34 MB / 0.948 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.02257/6.986, allocations: 8.798 MB / 2.435 GB, free: 79.24 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002864/6.989, allocations: 1.354 MB / 2.436 GB, free: 77.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/6.991, allocations: 0.8677 MB / 2.437 GB, free: 76.97 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002828/6.994, allocations: 2.921 MB / 2.44 GB, free: 73.41 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/6.994, allocations: 51.86 kB / 2.44 GB, free: 73.35 MB / 0.948 GB Notification: Performance of pre-optimization done (n=148): time 4.268e-06/6.994, allocations: 4 kB / 2.44 GB, free: 73.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=148): time 0.00895/7.003, allocations: 2.759 MB / 2.443 GB, free: 70.45 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/7.003, allocations: 102.3 kB / 2.443 GB, free: 70.33 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005127/7.009, allocations: 2.196 MB / 2.445 GB, free: 68.12 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004436/7.009, allocations: 57.7 kB / 2.445 GB, free: 68.06 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/7.01, allocations: 1.208 MB / 2.446 GB, free: 66.84 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007538/7.011, allocations: 0.5159 MB / 2.447 GB, free: 66.31 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001396/7.011, allocations: 32 kB / 2.447 GB, free: 66.28 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001393/7.011, allocations: 369.9 kB / 2.447 GB, free: 65.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/7.013, allocations: 0.5271 MB / 2.448 GB, free: 65.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001789/7.015, allocations: 0.9009 MB / 2.449 GB, free: 64.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003138/7.018, allocations: 1.424 MB / 2.45 GB, free: 62.85 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/7.018, allocations: 0 / 2.45 GB, free: 62.85 MB / 0.948 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.005976/7.024, allocations: 2.01 MB / 2.452 GB, free: 60.81 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/7.024, allocations: 301.1 kB / 2.452 GB, free: 60.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.796e-05/7.024, allocations: 11.94 kB / 2.452 GB, free: 60.41 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001423/7.026, allocations: 264.5 kB / 2.453 GB, free: 60.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002437/7.028, allocations: 351.5 kB / 2.453 GB, free: 59.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005651/7.034, allocations: 7.049 MB / 2.46 GB, free: 52.18 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/7.038, allocations: 278.1 kB / 2.46 GB, free: 51.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000358/7.038, allocations: 79.86 kB / 2.46 GB, free: 51.82 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/7.038, allocations: 4 kB / 2.46 GB, free: 51.82 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004565/7.043, allocations: 1.699 MB / 2.462 GB, free: 50.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.121e-05/7.043, allocations: 12.5 kB / 2.462 GB, free: 50.09 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007749/7.043, allocations: 212.5 kB / 2.462 GB, free: 49.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/7.046, allocations: 351.5 kB / 2.462 GB, free: 49.52 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008104/7.054, allocations: 8.979 MB / 2.471 GB, free: 39.75 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003774/7.058, allocations: 262.3 kB / 2.471 GB, free: 39.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003956/7.058, allocations: 71.98 kB / 2.471 GB, free: 39.43 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (191): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.001897/7.06, allocations: 0.649 MB / 2.472 GB, free: 38.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008798/7.061, allocations: 256.8 kB / 2.472 GB, free: 38.51 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00527/7.066, allocations: 2.029 MB / 2.474 GB, free: 36.45 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.222e-05/7.066, allocations: 19.94 kB / 2.474 GB, free: 36.43 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/7.067, allocations: 4 kB / 2.474 GB, free: 36.43 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003567/7.07, allocations: 1.662 MB / 2.476 GB, free: 34.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01047/7.081, allocations: 4.494 MB / 2.48 GB, free: 30.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/7.081, allocations: 3.938 kB / 2.48 GB, free: 30.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002035/7.083, allocations: 275.7 kB / 2.481 GB, free: 29.83 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007636/7.083, allocations: 221 kB / 2.481 GB, free: 29.59 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000126/7.084, allocations: 35.98 kB / 2.481 GB, free: 29.56 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005211/7.089, allocations: 7.055 MB / 2.488 GB, free: 21.93 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/7.089, allocations: 8.062 kB / 2.488 GB, free: 21.92 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006175/7.095, allocations: 2.695 MB / 2.49 GB, free: 19.18 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001818/7.097, allocations: 0.5558 MB / 2.491 GB, free: 18.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005415/7.097, allocations: 35.94 kB / 2.491 GB, free: 18.56 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003352/7.101, allocations: 151.6 kB / 2.491 GB, free: 18.41 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002868/7.101, allocations: 113.1 kB / 2.491 GB, free: 18.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002241/7.101, allocations: 55.97 kB / 2.491 GB, free: 18.25 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.006097/7.108, allocations: 1.488 MB / 2.493 GB, free: 16.75 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.182e-06/7.108, allocations: 0 / 2.493 GB, free: 16.75 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.01137/7.119, allocations: 1.953 MB / 2.495 GB, free: 14.79 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.vol3.dynBal.U,intHex.vol4.dynBal.U,intHex.intRes2UTub.capFil1.T,intHex.intRes2UTub.capFil2.T,intHex.intRes2UTub.capFil3.T,intHex.intRes2UTub.capFil4.T,senTem.T,senTem1.T,senTem2.T,senTem3.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 (140): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.00477/7.124, allocations: 1.721 MB / 2.496 GB, free: 13.15 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007408/7.131, allocations: 3.589 MB / 2.5 GB, free: 9.426 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/7.131, allocations: 4 kB / 2.5 GB, free: 9.422 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002308/7.134, allocations: 1.249 MB / 2.501 GB, free: 8.121 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01212/7.146, allocations: 1.355 MB / 2.502 GB, free: 6.812 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01216/7.158, allocations: 6.099 MB / 2.508 GB, free: 0.7578 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002181/7.16, allocations: 1.743 MB / 2.51 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004303/7.165, allocations: 0.5938 MB / 2.511 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009944/7.166, allocations: 207.4 kB / 2.511 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of SimCode: time 1.042e-06/7.166, allocations: 0 / 2.511 GB, free: 14.22 MB / 0.9636 GB Notification: Performance of Templates: time 0.9385/8.104, allocations: 64.29 MB / 2.573 GB, free: 133.7 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)