Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7548/0.7548, allocations: 128.8 MB / 143.7 MB, free: 2.328 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.001046/0.001046, allocations: 183.3 kB / 173.8 MB, free: 6.121 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.582/1.582, allocations: 205.4 MB / 409 MB, free: 10.48 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.0009184/0.0009184, allocations: 91.72 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003665, allocations: 8.719 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1899, allocations: 76.77 MB / 0.6354 GB, free: 30.5 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.324/1.514, allocations: 401.4 MB / 1.027 GB, free: 224.1 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004421/1.515, allocations: 137.4 kB / 1.028 GB, free: 224 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.896/5.411, allocations: 1.047 GB / 2.075 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.287e-06/5.411, allocations: 5.281 kB / 2.075 GB, free: 59.62 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003822/5.411, allocations: 79.09 kB / 2.075 GB, free: 59.61 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 534 * Number of variables: 534 Notification: Performance of Generate backend data structure: time 0.0122/5.424, allocations: 3.62 MB / 2.078 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/5.424, allocations: 11.44 kB / 2.078 GB, free: 58.02 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001852/5.426, allocations: 380.2 kB / 2.079 GB, free: 57.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007524/5.433, allocations: 3.284 MB / 2.082 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/5.433, allocations: 167.5 kB / 2.082 GB, free: 57.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003752/5.434, allocations: 226.9 kB / 2.082 GB, free: 57.26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004639/5.438, allocations: 2.284 MB / 2.085 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.608e-05/5.438, allocations: 6.438 kB / 2.085 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002004/5.439, allocations: 86.03 kB / 2.085 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.555e-05/5.439, allocations: 51.75 kB / 2.085 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/5.442, allocations: 1.751 MB / 2.086 GB, free: 56.94 MB / 0.6823 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.01278/5.455, allocations: 9.29 MB / 2.095 GB, free: 53.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002289/5.457, allocations: 1.279 MB / 2.097 GB, free: 53.66 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00191/5.459, allocations: 2.759 MB / 2.099 GB, free: 50.56 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/5.459, allocations: 50.88 kB / 2.099 GB, free: 50.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 5.861e-06/5.459, allocations: 0 / 2.099 GB, free: 50.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139): time 0.00892/5.468, allocations: 3.106 MB / 2.102 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/5.468, allocations: 93.08 kB / 2.103 GB, free: 49.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/5.472, allocations: 2.047 MB / 2.105 GB, free: 49.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004903/5.473, allocations: 57.77 kB / 2.105 GB, free: 49.35 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001158/5.474, allocations: 1.262 MB / 2.106 GB, free: 48.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006538/5.474, allocations: 495.5 kB / 2.106 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001145/5.475, allocations: 33.34 kB / 2.106 GB, free: 48.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001247/5.475, allocations: 367.7 kB / 2.107 GB, free: 48.32 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/5.476, allocations: 0.5663 MB / 2.107 GB, free: 48.31 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001351/5.477, allocations: 0.9817 MB / 2.108 GB, free: 47.88 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/5.478, allocations: 0.719 MB / 2.109 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.754e-06/5.479, allocations: 3.844 kB / 2.109 GB, free: 47.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.006611/5.485, allocations: 2.323 MB / 2.111 GB, free: 47.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009433/5.486, allocations: 3.67 MB / 2.115 GB, free: 43.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.044e-05/5.486, allocations: 12.62 kB / 2.115 GB, free: 43.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/5.487, allocations: 329 kB / 2.115 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/5.489, allocations: 357 kB / 2.115 GB, free: 43.69 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004648/5.493, allocations: 7.223 MB / 2.123 GB, free: 37.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003731/5.497, allocations: 306.1 kB / 2.123 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/5.497, allocations: 79.7 kB / 2.123 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/5.497, allocations: 4.125 kB / 2.123 GB, free: 37.22 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00318/5.501, allocations: 1.721 MB / 2.125 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.591e-05/5.501, allocations: 13.48 kB / 2.125 GB, free: 37.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/5.501, allocations: 212.8 kB / 2.125 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/5.502, allocations: 363.7 kB / 2.125 GB, free: 37.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008615/5.511, allocations: 9.03 MB / 2.134 GB, free: 45.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003384/5.514, allocations: 269.5 kB / 2.134 GB, free: 44.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/5.515, allocations: 68.03 kB / 2.134 GB, free: 44.99 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (196): * Single equations (assignments): 189 * 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.00208/5.517, allocations: 0.6577 MB / 2.135 GB, free: 44.79 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009069/5.518, allocations: 262.8 kB / 2.135 GB, free: 44.65 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006642/5.524, allocations: 2.373 MB / 2.137 GB, free: 44.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.391e-05/5.524, allocations: 16.3 kB / 2.137 GB, free: 44.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/5.524, allocations: 7.516 kB / 2.137 GB, free: 44.44 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004944/5.529, allocations: 1.807 MB / 2.139 GB, free: 44.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/5.542, allocations: 4.361 MB / 2.144 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/5.542, allocations: 0 / 2.144 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00118/5.543, allocations: 249.7 kB / 2.144 GB, free: 43.63 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008344/5.544, allocations: 312.9 kB / 2.144 GB, free: 43.58 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000186/5.544, allocations: 37.66 kB / 2.144 GB, free: 43.58 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/5.558, allocations: 9.995 MB / 2.154 GB, free: 35.57 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/5.558, allocations: 1.125 kB / 2.154 GB, free: 35.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007947/5.566, allocations: 2.746 MB / 2.157 GB, free: 35.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/5.568, allocations: 0.5713 MB / 2.157 GB, free: 34.95 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001084/5.569, allocations: 31.5 kB / 2.157 GB, free: 34.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/5.572, allocations: 159.7 kB / 2.157 GB, free: 34.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/5.572, allocations: 103.6 kB / 2.157 GB, free: 34.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002169/5.573, allocations: 48.14 kB / 2.157 GB, free: 34.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.003869/5.577, allocations: 1.62 MB / 2.159 GB, free: 34.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.62e-07/5.577, allocations: 0 / 2.159 GB, free: 34.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.01126/5.588, allocations: 2.041 MB / 2.161 GB, free: 34.48 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (122): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.005771/5.594, allocations: 1.781 MB / 2.163 GB, free: 34.05 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.007089/5.601, allocations: 3.593 MB / 2.166 GB, free: 32.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/5.601, allocations: 5.875 kB / 2.166 GB, free: 32.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/5.603, allocations: 1.422 MB / 2.168 GB, free: 32.15 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007437/5.611, allocations: 1.34 MB / 2.169 GB, free: 32.13 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01182/5.623, allocations: 6.03 MB / 2.175 GB, free: 29.15 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002502/5.625, allocations: 1.8 MB / 2.177 GB, free: 28.38 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003333/5.628, allocations: 0.5977 MB / 2.177 GB, free: 28.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005606/5.629, allocations: 212 kB / 2.177 GB, free: 28.29 MB / 0.698 GB Notification: Performance of SimCode: time 1.162e-06/5.629, allocations: 0 / 2.177 GB, free: 28.29 MB / 0.698 GB Notification: Performance of Templates: time 0.1133/5.742, allocations: 67.97 MB / 2.244 GB, free: 14.46 MB / 0.698 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXTwoUTube.pipe 2>&1)