Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6965/0.6965, allocations: 117.9 MB / 133.9 MB, free: 9.223 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001005/0.001006, allocations: 180.5 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.4 MB / 394.8 MB, free: 10.01 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008425/0.0008427, allocations: 90.73 kB / 470.1 MB, free: 29.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004163/0.0004163, allocations: 12 kB / 0.5424 GB, free: 9.688 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.168, allocations: 74.54 MB / 0.6152 GB, free: 15.07 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.113/1.281, allocations: 381.5 MB / 0.9878 GB, free: 121.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003269/1.282, allocations: 133.7 kB / 0.9879 GB, free: 121.5 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.585/2.866, allocations: 486.2 MB / 1.463 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/2.866, allocations: 0 / 1.463 GB, free: 70.52 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001572/2.867, allocations: 46.22 kB / 1.463 GB, free: 70.51 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005103/2.872, allocations: 2.267 MB / 1.465 GB, free: 69.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/2.872, allocations: 10.53 kB / 1.465 GB, free: 69.23 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006053/2.872, allocations: 211.8 kB / 1.465 GB, free: 69.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003563/2.876, allocations: 1.907 MB / 1.467 GB, free: 68.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.496e-05/2.876, allocations: 83.83 kB / 1.467 GB, free: 68.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000157/2.876, allocations: 112.8 kB / 1.467 GB, free: 68.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00225/2.879, allocations: 1.186 MB / 1.468 GB, free: 68.47 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.842e-05/2.879, allocations: 14.27 kB / 1.468 GB, free: 68.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/2.879, allocations: 43.25 kB / 1.468 GB, free: 68.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.789e-05/2.879, allocations: 30.53 kB / 1.469 GB, free: 68.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001665/2.88, allocations: 0.8729 MB / 1.469 GB, free: 68.45 MB / 0.6198 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.007852/2.888, allocations: 6.848 MB / 1.476 GB, free: 64.32 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006819/2.889, allocations: 0.5084 MB / 1.477 GB, free: 64.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003797/2.889, allocations: 322 kB / 1.477 GB, free: 64.27 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007839/2.89, allocations: 1.1 MB / 1.478 GB, free: 63.05 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/2.89, allocations: 45.91 kB / 1.478 GB, free: 63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=61): time 3.236e-06/2.89, allocations: 0 / 1.478 GB, free: 63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=61): time 0.002368/2.893, allocations: 1.134 MB / 1.479 GB, free: 62.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/2.893, allocations: 85.42 kB / 1.479 GB, free: 62.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002149/2.895, allocations: 1.548 MB / 1.481 GB, free: 62.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001209/2.895, allocations: 44.98 kB / 1.481 GB, free: 62.24 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/2.895, allocations: 0.7558 MB / 1.481 GB, free: 61.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/2.896, allocations: 221.1 kB / 1.482 GB, free: 61.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/2.896, allocations: 19.84 kB / 1.482 GB, free: 61.46 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.565e-05/2.896, allocations: 337 kB / 1.482 GB, free: 61.15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004697/2.896, allocations: 276.5 kB / 1.482 GB, free: 61.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/2.897, allocations: 0.5559 MB / 1.483 GB, free: 60.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/2.898, allocations: 0.7444 MB / 1.484 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.898, allocations: 0 / 1.484 GB, free: 60.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.001824/2.9, allocations: 1.047 MB / 1.485 GB, free: 59.7 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/2.9, allocations: 250.7 kB / 1.485 GB, free: 59.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/2.9, allocations: 10.31 kB / 1.485 GB, free: 59.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002699/2.9, allocations: 77.97 kB / 1.485 GB, free: 59.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006854/2.901, allocations: 195.6 kB / 1.485 GB, free: 59.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001829/2.903, allocations: 2.967 MB / 1.488 GB, free: 56.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/2.904, allocations: 183.1 kB / 1.488 GB, free: 56.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.762e-05/2.905, allocations: 48.33 kB / 1.488 GB, free: 56.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.853e-06/2.905, allocations: 2.938 kB / 1.488 GB, free: 56.37 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001238/2.906, allocations: 0.8335 MB / 1.489 GB, free: 56.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/2.906, allocations: 10.62 kB / 1.489 GB, free: 56.02 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/2.906, allocations: 61.41 kB / 1.489 GB, free: 55.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/2.907, allocations: 192.6 kB / 1.489 GB, free: 55.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001574/2.908, allocations: 2.969 MB / 1.492 GB, free: 53.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001445/2.91, allocations: 137 kB / 1.492 GB, free: 53.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.545e-05/2.91, allocations: 42.89 kB / 1.492 GB, free: 53 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (104): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009641/2.911, allocations: 451.4 kB / 1.493 GB, free: 52.67 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003661/2.911, allocations: 161.1 kB / 1.493 GB, free: 52.59 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/2.912, allocations: 0.9188 MB / 1.494 GB, free: 52.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/2.913, allocations: 7.812 kB / 1.494 GB, free: 52.16 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/2.913, allocations: 0 / 1.494 GB, free: 52.16 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007201/2.913, allocations: 0.6235 MB / 1.494 GB, free: 51.8 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003608/2.917, allocations: 2.354 MB / 1.497 GB, free: 50.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/2.917, allocations: 3.875 kB / 1.497 GB, free: 50.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000465/2.917, allocations: 118.8 kB / 1.497 GB, free: 50.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002481/2.918, allocations: 62.98 kB / 1.497 GB, free: 50.45 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/2.918, allocations: 23.73 kB / 1.497 GB, free: 50.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/2.919, allocations: 2.961 MB / 1.5 GB, free: 47.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.919, allocations: 7.781 kB / 1.5 GB, free: 47.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/2.921, allocations: 1.114 MB / 1.501 GB, free: 46.9 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007454/2.922, allocations: 372.8 kB / 1.501 GB, free: 46.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001832/2.922, allocations: 15.22 kB / 1.501 GB, free: 46.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007513/2.923, allocations: 61.89 kB / 1.501 GB, free: 46.61 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.75e-05/2.923, allocations: 55.06 kB / 1.501 GB, free: 46.6 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/2.923, allocations: 25.69 kB / 1.501 GB, free: 46.59 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001662/2.924, allocations: 1.145 MB / 1.503 GB, free: 46.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.92e-07/2.924, allocations: 3.25 kB / 1.503 GB, free: 46.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.003783/2.928, allocations: 1.196 MB / 1.504 GB, free: 45.85 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.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 (54): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.003209/2.932, allocations: 1.251 MB / 1.505 GB, free: 45.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002925/2.934, allocations: 1.612 MB / 1.506 GB, free: 44.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.934, allocations: 3 kB / 1.506 GB, free: 44.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005739/2.935, allocations: 0.5035 MB / 1.507 GB, free: 44.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004718/2.94, allocations: 0.8156 MB / 1.508 GB, free: 44.07 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00437/2.944, allocations: 3.39 MB / 1.511 GB, free: 42.04 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001682/2.946, allocations: 1.271 MB / 1.512 GB, free: 57.29 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001755/2.948, allocations: 374.3 kB / 1.513 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003071/2.948, allocations: 128.6 kB / 1.513 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of SimCode: time 1.072e-06/2.948, allocations: 3.938 kB / 1.513 GB, free: 57.2 MB / 0.6355 GB Notification: Performance of Templates: time 0.06299/3.011, allocations: 41.52 MB / 1.553 GB, free: 36.68 MB / 0.6355 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.pipe 2>&1)