Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.871/0.871, allocations: 143.4 MB / 158.3 MB, free: 5.793 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 185 kB / 191.5 MB, free: 5.77 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.569/1.569, allocations: 223.2 MB / 447.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009522/0.0009521, allocations: 92.27 kB / 0.5188 GB, free: 2.887 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002013, allocations: 277.3 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 16 kB / 0.6929 GB, free: 2.277 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4094/0.4098, allocations: 82.79 MB / 0.7738 GB, free: 26.23 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8173/1.227, allocations: 401.9 MB / 1.166 GB, free: 2.211 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.228, allocations: 132 kB / 1.166 GB, free: 2.133 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.668/4.896, allocations: 1.044 GB / 2.21 GB, free: 54.93 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.274e-06/4.896, allocations: 4 kB / 2.21 GB, free: 54.93 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0004357/4.896, allocations: 75.97 kB / 2.21 GB, free: 54.85 MB / 0.7292 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.01054/4.907, allocations: 3.596 MB / 2.214 GB, free: 51.18 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/4.907, allocations: 8.031 kB / 2.214 GB, free: 51.17 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001646/4.909, allocations: 376.6 kB / 2.214 GB, free: 50.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007151/4.916, allocations: 2.924 MB / 2.217 GB, free: 47.81 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001707/4.916, allocations: 164.1 kB / 2.217 GB, free: 47.65 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00068/4.917, allocations: 216 kB / 2.218 GB, free: 47.44 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005115/4.922, allocations: 2.124 MB / 2.22 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.339e-05/4.922, allocations: 3.906 kB / 2.22 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003377/4.922, allocations: 84 kB / 2.22 GB, free: 45.12 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.53e-05/4.922, allocations: 52 kB / 2.22 GB, free: 45.07 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003157/4.926, allocations: 1.612 MB / 2.221 GB, free: 43.44 MB / 0.7292 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.01584/4.941, allocations: 8.845 MB / 2.23 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001921/4.943, allocations: 1.354 MB / 2.231 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002134/4.946, allocations: 2.918 MB / 2.234 GB, free: 29.33 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.031e-05/4.946, allocations: 55.88 kB / 2.234 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=148): time 5.039e-06/4.946, allocations: 3.938 kB / 2.234 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=148): time 0.005842/4.951, allocations: 2.705 MB / 2.237 GB, free: 26.42 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/4.952, allocations: 98.42 kB / 2.237 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004614/4.956, allocations: 2.023 MB / 2.239 GB, free: 24.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002886/4.956, allocations: 53.7 kB / 2.239 GB, free: 24.21 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001003/4.958, allocations: 1.201 MB / 2.24 GB, free: 23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005388/4.958, allocations: 0.5121 MB / 2.241 GB, free: 22.48 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001174/4.958, allocations: 28 kB / 2.241 GB, free: 22.45 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001187/4.958, allocations: 369.9 kB / 2.241 GB, free: 22.08 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008747/4.959, allocations: 0.531 MB / 2.242 GB, free: 21.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/4.96, allocations: 0.897 MB / 2.242 GB, free: 20.52 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009864/4.961, allocations: 0.6774 MB / 2.243 GB, free: 19.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/4.961, allocations: 3.938 kB / 2.243 GB, free: 19.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.003384/4.965, allocations: 1.967 MB / 2.245 GB, free: 17.85 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004629/4.965, allocations: 2.735 MB / 2.248 GB, free: 14.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.647e-05/4.965, allocations: 11.94 kB / 2.248 GB, free: 14.87 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005692/4.966, allocations: 235 kB / 2.248 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/4.967, allocations: 351.5 kB / 2.248 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003755/4.971, allocations: 7.069 MB / 2.255 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/4.973, allocations: 282 kB / 2.255 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002891/4.974, allocations: 75.45 kB / 2.256 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/4.974, allocations: 4 kB / 2.256 GB, free: 6.289 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003031/4.977, allocations: 1.703 MB / 2.257 GB, free: 4.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/4.977, allocations: 12 kB / 2.257 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004546/4.977, allocations: 213.3 kB / 2.257 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/4.978, allocations: 347.5 kB / 2.258 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00658/4.985, allocations: 9.031 MB / 2.267 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002819/4.988, allocations: 262.2 kB / 2.267 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/4.988, allocations: 79.94 kB / 2.267 GB, free: 9.832 MB / 0.7448 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.001946/4.99, allocations: 0.6451 MB / 2.268 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/4.991, allocations: 260.8 kB / 2.268 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00441/4.996, allocations: 2.041 MB / 2.27 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.009e-05/4.996, allocations: 23.98 kB / 2.27 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/4.996, allocations: 4 kB / 2.27 GB, free: 6.836 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002617/4.998, allocations: 1.662 MB / 2.271 GB, free: 5.105 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/5.009, allocations: 4.52 MB / 2.276 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/5.009, allocations: 3.703 kB / 2.276 GB, free: 480 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/5.01, allocations: 279.7 kB / 2.276 GB, free: 200 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4635/5.474, allocations: 202.7 kB / 2.276 GB, free: 80.21 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/5.474, allocations: 39.45 kB / 2.276 GB, free: 80.21 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004338/5.479, allocations: 7.086 MB / 2.283 GB, free: 73.94 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/5.479, allocations: 12.22 kB / 2.283 GB, free: 73.94 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005519/5.484, allocations: 2.758 MB / 2.286 GB, free: 73.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001963/5.486, allocations: 0.5775 MB / 2.286 GB, free: 73.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006208/5.487, allocations: 32.3 kB / 2.287 GB, free: 73.49 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/5.489, allocations: 154.9 kB / 2.287 GB, free: 73.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002536/5.489, allocations: 108.7 kB / 2.287 GB, free: 73.48 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001544/5.489, allocations: 58.78 kB / 2.287 GB, free: 73.48 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003441/5.493, allocations: 1.561 MB / 2.288 GB, free: 73.34 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.82e-07/5.493, allocations: 0 / 2.288 GB, free: 73.34 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008552/5.501, allocations: 1.988 MB / 2.29 GB, free: 73.26 MB / 0.7448 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.004665/5.506, allocations: 1.761 MB / 2.292 GB, free: 73.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.005507/5.511, allocations: 3.59 MB / 2.296 GB, free: 71.8 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/5.511, allocations: 8.5 kB / 2.296 GB, free: 71.8 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.001534/5.513, allocations: 1.248 MB / 2.297 GB, free: 71.34 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006608/5.52, allocations: 1.338 MB / 2.298 GB, free: 71.33 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009112/5.529, allocations: 6.096 MB / 2.304 GB, free: 68.8 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/5.53, allocations: 1.796 MB / 2.306 GB, free: 68.06 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00284/5.533, allocations: 0.5959 MB / 2.306 GB, free: 68.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006357/5.534, allocations: 216.3 kB / 2.307 GB, free: 68.04 MB / 0.7448 GB Notification: Performance of SimCode: time 1.703e-06/5.534, allocations: 0 / 2.307 GB, free: 68.04 MB / 0.7448 GB Notification: Performance of Templates: time 0.09462/5.628, allocations: 64.98 MB / 2.37 GB, free: 64.3 MB / 0.7448 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)