Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.776/1.776, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001108/0.001108, allocations: 191.5 kB / 371.9 MB, free: 10.3 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.645/1.645, allocations: 205.4 MB / 0.6306 GB, free: 10.02 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.0009113/0.0009114, allocations: 98.8 kB / 0.7439 GB, free: 5.953 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004026/0.0004027, allocations: 16.36 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.2163, allocations: 115.3 MB / 0.9795 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.946/1.162, allocations: 429.2 MB / 1.399 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000383/1.163, allocations: 126.8 kB / 1.399 GB, free: 15.13 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 3.672/4.835, allocations: 1.025 GB / 2.423 GB, free: 89.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/4.835, allocations: 0 / 2.423 GB, free: 89.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003282/4.835, allocations: 71.98 kB / 2.423 GB, free: 89.55 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.01121/4.847, allocations: 3.595 MB / 2.427 GB, free: 85.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/4.847, allocations: 15.97 kB / 2.427 GB, free: 85.86 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001786/4.849, allocations: 369.2 kB / 2.427 GB, free: 85.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006381/4.855, allocations: 2.935 MB / 2.43 GB, free: 82.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/4.855, allocations: 160.1 kB / 2.43 GB, free: 82.34 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000337/4.855, allocations: 215.9 kB / 2.431 GB, free: 82.12 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/4.859, allocations: 2.12 MB / 2.433 GB, free: 79.89 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.722e-05/4.859, allocations: 4 kB / 2.433 GB, free: 79.89 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/4.859, allocations: 88 kB / 2.433 GB, free: 79.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/4.859, allocations: 48 kB / 2.433 GB, free: 79.76 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002436/4.862, allocations: 1.612 MB / 2.434 GB, free: 78.13 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.01134/4.873, allocations: 8.84 MB / 2.443 GB, free: 68.99 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/4.874, allocations: 1.356 MB / 2.444 GB, free: 67.59 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001799/4.876, allocations: 2.922 MB / 2.447 GB, free: 64.02 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/4.876, allocations: 47.81 kB / 2.447 GB, free: 63.96 MB / 0.948 GB Notification: Performance of pre-optimization done (n=148): time 4.669e-06/4.876, allocations: 4 kB / 2.447 GB, free: 63.96 MB / 0.948 GB Notification: Performance of matching and sorting (n=148): time 0.004801/4.881, allocations: 2.715 MB / 2.45 GB, free: 61.11 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.777e-05/4.881, allocations: 90.42 kB / 2.45 GB, free: 61.01 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003025/4.884, allocations: 2.023 MB / 2.452 GB, free: 58.97 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/4.884, allocations: 53.7 kB / 2.452 GB, free: 58.91 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007381/4.885, allocations: 1.209 MB / 2.453 GB, free: 57.69 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/4.886, allocations: 0.5082 MB / 2.454 GB, free: 57.18 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.668e-05/4.886, allocations: 36 kB / 2.454 GB, free: 57.14 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.75e-05/4.886, allocations: 365.9 kB / 2.454 GB, free: 56.78 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008155/4.887, allocations: 0.5309 MB / 2.455 GB, free: 56.25 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009409/4.888, allocations: 0.897 MB / 2.455 GB, free: 55.21 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/4.889, allocations: 0.6817 MB / 2.456 GB, free: 54.54 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/4.889, allocations: 4 kB / 2.456 GB, free: 54.54 MB / 0.948 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00328/4.892, allocations: 1.975 MB / 2.458 GB, free: 52.53 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004931/4.892, allocations: 2.724 MB / 2.461 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/4.892, allocations: 11.88 kB / 2.461 GB, free: 49.57 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005344/4.893, allocations: 225 kB / 2.461 GB, free: 49.33 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/4.894, allocations: 355.5 kB / 2.461 GB, free: 48.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003572/4.898, allocations: 7.076 MB / 2.468 GB, free: 41.33 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002652/4.9, allocations: 282.1 kB / 2.468 GB, free: 41.05 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001912/4.901, allocations: 67.98 kB / 2.469 GB, free: 40.98 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.075e-05/4.901, allocations: 5.25 kB / 2.469 GB, free: 40.98 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002488/4.903, allocations: 1.703 MB / 2.47 GB, free: 39.26 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/4.903, allocations: 8 kB / 2.47 GB, free: 39.25 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000425/4.903, allocations: 217.2 kB / 2.47 GB, free: 39.02 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/4.905, allocations: 351.5 kB / 2.471 GB, free: 38.68 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004997/4.91, allocations: 9.032 MB / 2.48 GB, free: 28.86 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003045/4.913, allocations: 270.2 kB / 2.48 GB, free: 28.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002594/4.913, allocations: 67.98 kB / 2.48 GB, free: 28.53 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.001684/4.915, allocations: 0.6374 MB / 2.481 GB, free: 27.88 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007347/4.915, allocations: 264.8 kB / 2.481 GB, free: 27.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003165/4.919, allocations: 2.046 MB / 2.483 GB, free: 25.55 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.986e-05/4.919, allocations: 19.98 kB / 2.483 GB, free: 25.53 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/4.919, allocations: 0 / 2.483 GB, free: 25.53 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001881/4.92, allocations: 1.673 MB / 2.484 GB, free: 23.79 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006852/4.927, allocations: 4.512 MB / 2.489 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/4.927, allocations: 4 kB / 2.489 GB, free: 19.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001023/4.928, allocations: 271.6 kB / 2.489 GB, free: 18.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004365/4.929, allocations: 216.6 kB / 2.489 GB, free: 18.67 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-05/4.929, allocations: 47.97 kB / 2.489 GB, free: 18.62 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/4.932, allocations: 7.075 MB / 2.496 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/4.932, allocations: 4.062 kB / 2.496 GB, free: 10.97 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0039/4.936, allocations: 2.78 MB / 2.499 GB, free: 8.109 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001579/4.938, allocations: 0.5754 MB / 2.5 GB, free: 7.512 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004019/4.938, allocations: 32 kB / 2.5 GB, free: 7.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001368/4.94, allocations: 151.6 kB / 2.5 GB, free: 7.332 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/4.94, allocations: 101.2 kB / 2.5 GB, free: 7.234 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000117/4.94, allocations: 55.97 kB / 2.5 GB, free: 7.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.002165/4.942, allocations: 1.558 MB / 2.501 GB, free: 5.613 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/4.942, allocations: 0 / 2.501 GB, free: 5.613 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.006438/4.949, allocations: 1.992 MB / 2.503 GB, free: 3.617 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.003355/4.952, allocations: 1.767 MB / 2.505 GB, free: 1.906 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005096/4.957, allocations: 3.597 MB / 2.509 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/4.957, allocations: 0 / 2.509 GB, free: 14.17 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001724/4.959, allocations: 1.238 MB / 2.51 GB, free: 12.89 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007002/4.966, allocations: 1.345 MB / 2.511 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/4.976, allocations: 6.097 MB / 2.517 GB, free: 5.527 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/4.978, allocations: 1.797 MB / 2.519 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002946/4.981, allocations: 0.6028 MB / 2.519 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006016/4.981, allocations: 207.4 kB / 2.52 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of SimCode: time 1.202e-06/4.981, allocations: 4 kB / 2.52 GB, free: 2.922 MB / 0.9636 GB Notification: Performance of Templates: time 0.6782/5.66, allocations: 64.93 MB / 2.583 GB, free: 129.3 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)