Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.074/2.074, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001363/0.001363, allocations: 178.8 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009304/0.0009298, allocations: 87.92 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004739/0.000474, allocations: 11.97 kB / 0.7958 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2047, allocations: 106.3 MB / 0.8995 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.224/1.429, allocations: 422.8 MB / 1.312 GB, free: 11.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004957/1.429, allocations: 126.1 kB / 1.313 GB, free: 11.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.544/6.973, allocations: 1.017 GB / 2.329 GB, free: 75.91 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.725e-06/6.973, allocations: 0 / 2.329 GB, free: 75.91 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0004957/6.974, allocations: 83.92 kB / 2.329 GB, free: 75.83 MB / 0.8855 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.01363/6.987, allocations: 3.601 MB / 2.333 GB, free: 72.15 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/6.987, allocations: 8.031 kB / 2.333 GB, free: 72.14 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002252/6.99, allocations: 380.7 kB / 2.333 GB, free: 71.77 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009933/7, allocations: 2.792 MB / 2.336 GB, free: 68.91 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001699/7, allocations: 164.1 kB / 2.336 GB, free: 68.74 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000668/7.001, allocations: 219.9 kB / 2.336 GB, free: 68.53 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006372/7.007, allocations: 2.136 MB / 2.339 GB, free: 66.28 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.562e-05/7.007, allocations: 7.938 kB / 2.339 GB, free: 66.27 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003291/7.007, allocations: 84 kB / 2.339 GB, free: 66.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.535e-05/7.007, allocations: 59.38 kB / 2.339 GB, free: 66.14 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005576/7.013, allocations: 1.612 MB / 2.34 GB, free: 64.51 MB / 0.8855 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.02017/7.033, allocations: 8.792 MB / 2.349 GB, free: 55.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002888/7.036, allocations: 1.359 MB / 2.35 GB, free: 54 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001846/7.038, allocations: 0.8677 MB / 2.351 GB, free: 53.14 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002943/7.041, allocations: 2.918 MB / 2.354 GB, free: 49.57 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.978e-05/7.041, allocations: 55.81 kB / 2.354 GB, free: 49.51 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=148): time 4.398e-06/7.041, allocations: 4 kB / 2.354 GB, free: 49.51 MB / 0.8855 GB Notification: Performance of matching and sorting (n=148): time 0.008918/7.05, allocations: 2.748 MB / 2.357 GB, free: 46.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.538e-05/7.05, allocations: 102.4 kB / 2.357 GB, free: 46.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004689/7.055, allocations: 2.2 MB / 2.359 GB, free: 44.29 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000438/7.055, allocations: 57.7 kB / 2.359 GB, free: 44.23 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001167/7.057, allocations: 1.197 MB / 2.36 GB, free: 43.02 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007049/7.057, allocations: 0.5198 MB / 2.361 GB, free: 42.49 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/7.057, allocations: 36 kB / 2.361 GB, free: 42.45 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001234/7.058, allocations: 365.9 kB / 2.361 GB, free: 42.09 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/7.059, allocations: 0.5271 MB / 2.361 GB, free: 41.56 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001745/7.061, allocations: 0.9048 MB / 2.362 GB, free: 40.53 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001828/7.063, allocations: 0.6754 MB / 2.363 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.351e-05/7.063, allocations: 0 / 2.363 GB, free: 39.86 MB / 0.8855 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.006415/7.069, allocations: 2.014 MB / 2.365 GB, free: 37.81 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001617/7.069, allocations: 297.7 kB / 2.365 GB, free: 37.43 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.013e-05/7.069, allocations: 12 kB / 2.365 GB, free: 37.42 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001449/7.071, allocations: 264.7 kB / 2.366 GB, free: 37.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/7.073, allocations: 351.5 kB / 2.366 GB, free: 36.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005467/7.079, allocations: 7.061 MB / 2.373 GB, free: 29.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/7.083, allocations: 270.1 kB / 2.373 GB, free: 28.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004271/7.083, allocations: 75.97 kB / 2.373 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.427e-06/7.083, allocations: 4 kB / 2.373 GB, free: 28.82 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004663/7.088, allocations: 1.703 MB / 2.375 GB, free: 27.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.312e-05/7.088, allocations: 12 kB / 2.375 GB, free: 27.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007776/7.089, allocations: 205.2 kB / 2.375 GB, free: 26.87 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/7.091, allocations: 355.5 kB / 2.375 GB, free: 26.52 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007633/7.099, allocations: 8.977 MB / 2.384 GB, free: 16.76 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003738/7.103, allocations: 262.4 kB / 2.384 GB, free: 16.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004051/7.103, allocations: 71.98 kB / 2.384 GB, free: 16.43 MB / 0.8855 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.00201/7.105, allocations: 0.6417 MB / 2.385 GB, free: 15.78 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008726/7.106, allocations: 256.8 kB / 2.385 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005436/7.112, allocations: 2.048 MB / 2.387 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.233e-05/7.112, allocations: 31.86 kB / 2.387 GB, free: 13.42 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/7.112, allocations: 3.938 kB / 2.387 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003634/7.115, allocations: 1.663 MB / 2.389 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01148/7.127, allocations: 4.481 MB / 2.393 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/7.127, allocations: 3.938 kB / 2.393 GB, free: 7.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002242/7.129, allocations: 275.8 kB / 2.394 GB, free: 6.82 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008729/7.13, allocations: 210.5 kB / 2.394 GB, free: 6.598 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002502/7.13, allocations: 43.98 kB / 2.394 GB, free: 6.555 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005759/7.136, allocations: 7.063 MB / 2.401 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/7.136, allocations: 0 / 2.401 GB, free: 14.91 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00796/7.144, allocations: 2.698 MB / 2.403 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002306/7.147, allocations: 0.5598 MB / 2.404 GB, free: 11.59 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008596/7.147, allocations: 35.94 kB / 2.404 GB, free: 11.56 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003373/7.151, allocations: 159.5 kB / 2.404 GB, free: 11.4 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000523/7.151, allocations: 97.17 kB / 2.404 GB, free: 11.3 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002601/7.152, allocations: 59.97 kB / 2.404 GB, free: 11.25 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.004705/7.156, allocations: 1.484 MB / 2.406 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7.21e-07/7.156, allocations: 0 / 2.406 GB, free: 9.754 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.009704/7.166, allocations: 1.957 MB / 2.408 GB, free: 7.793 MB / 0.9011 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.005427/7.172, allocations: 1.72 MB / 2.409 GB, free: 6.152 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.009169/7.181, allocations: 3.589 MB / 2.413 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/7.181, allocations: 0 / 2.413 GB, free: 2.426 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.002931/7.184, allocations: 1.253 MB / 2.414 GB, free: 1.117 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01262/7.197, allocations: 1.367 MB / 2.415 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/7.212, allocations: 6.108 MB / 2.421 GB, free: 9.734 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/7.214, allocations: 1.739 MB / 2.423 GB, free: 7.965 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004222/7.218, allocations: 0.5916 MB / 2.424 GB, free: 7.41 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001108/7.22, allocations: 207.3 kB / 2.424 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of SimCode: time 1.623e-06/7.22, allocations: 0 / 2.424 GB, free: 7.207 MB / 0.9167 GB Notification: Performance of Templates: time 0.9392/8.159, allocations: 64.17 MB / 2.486 GB, free: 115.8 MB / 0.9167 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)