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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) 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 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.8122/0.8122, allocations: 140.1 MB / 156 MB, free: 5.168 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001086/0.001086, allocations: 178.8 kB / 188.5 MB, free: 15.82 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.599/1.599, allocations: 205.4 MB / 426.3 MB, free: 8.375 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007844, allocations: 86.31 kB / 0.4945 GB, free: 8.32 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001688/0.001688, allocations: 269.3 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004688, allocations: 16 kB / 0.6621 GB, free: 6.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3949/0.3954, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7719/1.167, allocations: 398.4 MB / 1.129 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/1.168, allocations: 128.5 kB / 1.129 GB, free: 10.91 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.57/4.737, allocations: 1.017 GB / 2.146 GB, free: 69.78 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.538e-06/4.737, allocations: 0 / 2.146 GB, free: 69.78 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0005809/4.738, allocations: 86.78 kB / 2.146 GB, free: 69.75 MB / 0.698 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.01137/4.749, allocations: 3.568 MB / 2.149 GB, free: 67.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/4.749, allocations: 7.656 kB / 2.149 GB, free: 67.41 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/4.751, allocations: 373.9 kB / 2.15 GB, free: 67.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007218/4.759, allocations: 2.891 MB / 2.153 GB, free: 65.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001771/4.759, allocations: 162.5 kB / 2.153 GB, free: 65.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007222/4.759, allocations: 217.4 kB / 2.153 GB, free: 64.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005096/4.765, allocations: 2.128 MB / 2.155 GB, free: 63.62 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.998e-05/4.765, allocations: 11.83 kB / 2.155 GB, free: 63.61 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003414/4.765, allocations: 86.19 kB / 2.155 GB, free: 63.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.638e-05/4.765, allocations: 48.12 kB / 2.155 GB, free: 63.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/4.768, allocations: 1.619 MB / 2.157 GB, free: 62.72 MB / 0.698 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.01411/4.782, allocations: 8.789 MB / 2.165 GB, free: 55.78 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/4.784, allocations: 1.362 MB / 2.167 GB, free: 54.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001104/4.785, allocations: 0.8719 MB / 2.168 GB, free: 54.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001886/4.787, allocations: 2.918 MB / 2.17 GB, free: 51.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/4.787, allocations: 43.88 kB / 2.17 GB, free: 51.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=148): time 4.869e-06/4.787, allocations: 0 / 2.17 GB, free: 51.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=148): time 0.005686/4.793, allocations: 2.765 MB / 2.173 GB, free: 48.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.498e-05/4.793, allocations: 102.3 kB / 2.173 GB, free: 47.99 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006809/4.8, allocations: 2.196 MB / 2.175 GB, free: 45.78 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0005186/4.801, allocations: 61.64 kB / 2.175 GB, free: 45.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001242/4.802, allocations: 1.205 MB / 2.177 GB, free: 44.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009026/4.803, allocations: 0.5121 MB / 2.177 GB, free: 43.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/4.803, allocations: 32 kB / 2.177 GB, free: 43.95 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001799/4.803, allocations: 373.8 kB / 2.177 GB, free: 43.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/4.804, allocations: 0.5232 MB / 2.178 GB, free: 43.05 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001377/4.806, allocations: 0.9048 MB / 2.179 GB, free: 42.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00228/4.808, allocations: 1.428 MB / 2.18 GB, free: 40.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/4.808, allocations: 0 / 2.18 GB, free: 40.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004564/4.813, allocations: 2.009 MB / 2.182 GB, free: 38.47 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000174/4.813, allocations: 298.5 kB / 2.183 GB, free: 38.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3e-05/4.813, allocations: 11.98 kB / 2.183 GB, free: 38.08 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008913/4.814, allocations: 264.8 kB / 2.183 GB, free: 37.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/4.815, allocations: 347.5 kB / 2.183 GB, free: 37.46 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004045/4.819, allocations: 7.062 MB / 2.19 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002943/4.822, allocations: 278.1 kB / 2.19 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003455/4.822, allocations: 71.55 kB / 2.19 GB, free: 29.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.738e-06/4.822, allocations: 4 kB / 2.19 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003477/4.826, allocations: 1.707 MB / 2.192 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/4.826, allocations: 8 kB / 2.192 GB, free: 27.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004598/4.826, allocations: 212.6 kB / 2.192 GB, free: 27.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/4.828, allocations: 351.7 kB / 2.193 GB, free: 27.18 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005528/4.833, allocations: 8.969 MB / 2.201 GB, free: 17.42 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002936/4.836, allocations: 262.4 kB / 2.202 GB, free: 17.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000381/4.836, allocations: 67.98 kB / 2.202 GB, free: 17.1 MB / 0.698 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.002047/4.839, allocations: 0.6529 MB / 2.202 GB, free: 16.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009526/4.84, allocations: 260.8 kB / 2.203 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004154/4.844, allocations: 2.029 MB / 2.205 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.841e-05/4.844, allocations: 27.92 kB / 2.205 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/4.844, allocations: 4 kB / 2.205 GB, free: 14.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002241/4.846, allocations: 1.666 MB / 2.206 GB, free: 12.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008823/4.855, allocations: 4.481 MB / 2.211 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/4.855, allocations: 0 / 2.211 GB, free: 7.762 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/4.856, allocations: 279.8 kB / 2.211 GB, free: 7.488 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004739/4.856, allocations: 218.2 kB / 2.211 GB, free: 7.262 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/4.857, allocations: 39.98 kB / 2.211 GB, free: 7.223 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004152/4.861, allocations: 7.064 MB / 2.218 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/4.861, allocations: 3.938 kB / 2.218 GB, free: 15.58 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005163/4.866, allocations: 2.683 MB / 2.221 GB, free: 12.84 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/4.868, allocations: 0.5675 MB / 2.221 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007666/4.869, allocations: 31.94 kB / 2.221 GB, free: 12.22 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001945/4.87, allocations: 151.7 kB / 2.221 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002233/4.871, allocations: 105.1 kB / 2.221 GB, free: 11.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001488/4.871, allocations: 54.88 kB / 2.221 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00345/4.874, allocations: 1.492 MB / 2.223 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.61e-07/4.874, allocations: 0 / 2.223 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.008466/4.883, allocations: 1.965 MB / 2.225 GB, free: 8.453 MB / 0.7136 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.004906/4.888, allocations: 1.717 MB / 2.227 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.006551/4.894, allocations: 3.604 MB / 2.23 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/4.894, allocations: 3.859 kB / 2.23 GB, free: 3.062 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001954/4.896, allocations: 1.238 MB / 2.231 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008949/4.905, allocations: 1.355 MB / 2.233 GB, free: 488 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4525/5.358, allocations: 6.094 MB / 2.239 GB, free: 79.61 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002209/5.36, allocations: 1.742 MB / 2.24 GB, free: 78.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.003275/5.363, allocations: 0.5953 MB / 2.241 GB, free: 78.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000767/5.364, allocations: 206.2 kB / 2.241 GB, free: 78.86 MB / 0.7136 GB Notification: Performance of SimCode: time 9.71e-07/5.364, allocations: 1.812 kB / 2.241 GB, free: 78.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.103/5.467, allocations: 65.07 MB / 2.305 GB, free: 75.49 MB / 0.7136 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)