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.6994/0.6994, allocations: 127.3 MB / 139.8 MB, free: 15.45 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.0009885/0.0009884, allocations: 172.9 kB / 169.7 MB, free: 1.742 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.59/1.59, allocations: 205.1 MB / 404.5 MB, free: 1.586 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.0008643/0.0008643, allocations: 90.22 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.79e-05/3.792e-05, allocations: 4 kB / 0.5532 GB, free: 54.78 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1729, allocations: 76.75 MB / 0.6282 GB, free: 9.965 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.195/1.368, allocations: 401.3 MB / 1.02 GB, free: 113.7 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/1.368, allocations: 134.1 kB / 1.02 GB, free: 113.6 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.166/5.535, allocations: 1.044 GB / 2.064 GB, free: 59.52 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.946e-06/5.535, allocations: 3.172 kB / 2.064 GB, free: 59.52 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003817/5.535, allocations: 84.06 kB / 2.064 GB, free: 59.51 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.0107/5.546, allocations: 3.073 MB / 2.067 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/5.546, allocations: 11.19 kB / 2.067 GB, free: 57.96 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002118/5.548, allocations: 380.6 kB / 2.067 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0075/5.556, allocations: 3.263 MB / 2.071 GB, free: 57.22 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/5.556, allocations: 164.7 kB / 2.071 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002956/5.556, allocations: 218.5 kB / 2.071 GB, free: 57.21 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004769/5.561, allocations: 2.23 MB / 2.073 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.433e-05/5.561, allocations: 0 / 2.073 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001924/5.561, allocations: 90.69 kB / 2.073 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.304e-05/5.561, allocations: 51.66 kB / 2.073 GB, free: 56.92 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003479/5.565, allocations: 1.683 MB / 2.075 GB, free: 56.88 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01792/5.582, allocations: 9.298 MB / 2.084 GB, free: 53.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002249/5.585, allocations: 1.234 MB / 2.085 GB, free: 53.61 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009803/5.586, allocations: 0.7981 MB / 2.086 GB, free: 53.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002087/5.588, allocations: 2.758 MB / 2.089 GB, free: 50.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.708e-05/5.588, allocations: 53.36 kB / 2.089 GB, free: 50.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=139): time 3.968e-06/5.588, allocations: 0 / 2.089 GB, free: 50.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=139): time 0.006569/5.595, allocations: 1.897 MB / 2.091 GB, free: 50.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.942e-05/5.595, allocations: 100.4 kB / 2.091 GB, free: 50.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00445/5.599, allocations: 2.016 MB / 2.093 GB, free: 49.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002541/5.599, allocations: 61.05 kB / 2.093 GB, free: 49.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001229/5.601, allocations: 1.257 MB / 2.094 GB, free: 49.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005494/5.601, allocations: 0.4938 MB / 2.094 GB, free: 49.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/5.601, allocations: 30.41 kB / 2.094 GB, free: 49.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002249/5.602, allocations: 373.3 kB / 2.095 GB, free: 48.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/5.603, allocations: 0.519 MB / 2.095 GB, free: 48.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/5.604, allocations: 0.948 MB / 2.096 GB, free: 48.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/5.605, allocations: 0.6913 MB / 2.097 GB, free: 48.33 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/5.605, allocations: 0 / 2.097 GB, free: 48.33 MB / 0.6823 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.005549/5.611, allocations: 2.218 MB / 2.099 GB, free: 48.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009838/5.612, allocations: 3.674 MB / 2.103 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.305e-05/5.612, allocations: 11.16 kB / 2.103 GB, free: 44.21 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006728/5.612, allocations: 282.3 kB / 2.103 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/5.614, allocations: 358.1 kB / 2.103 GB, free: 44.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/5.619, allocations: 7.103 MB / 2.11 GB, free: 37.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00372/5.622, allocations: 305.2 kB / 2.11 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001976/5.622, allocations: 77.14 kB / 2.111 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/5.623, allocations: 6.719 kB / 2.111 GB, free: 37.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003021/5.626, allocations: 1.698 MB / 2.112 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/5.626, allocations: 12.62 kB / 2.112 GB, free: 37.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005203/5.626, allocations: 215.1 kB / 2.112 GB, free: 37.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/5.627, allocations: 357.9 kB / 2.113 GB, free: 37.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005396/5.633, allocations: 8.973 MB / 2.122 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003432/5.636, allocations: 266 kB / 2.122 GB, free: 29.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001936/5.636, allocations: 71.62 kB / 2.122 GB, free: 29.36 MB / 0.6823 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 () * 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.0006402/5.637, allocations: 216.3 kB / 2.122 GB, free: 29.21 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006324/5.638, allocations: 261.4 kB / 2.122 GB, free: 29.08 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005727/5.643, allocations: 2.278 MB / 2.125 GB, free: 28.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.211e-05/5.643, allocations: 21.98 kB / 2.125 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/5.643, allocations: 5.734 kB / 2.125 GB, free: 28.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004151/5.648, allocations: 1.708 MB / 2.126 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/5.658, allocations: 4.259 MB / 2.13 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/5.658, allocations: 6.703 kB / 2.13 GB, free: 27.36 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/5.66, allocations: 249.1 kB / 2.131 GB, free: 27.34 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006376/5.66, allocations: 266.3 kB / 2.131 GB, free: 27.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/5.66, allocations: 33.53 kB / 2.131 GB, free: 27.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/5.672, allocations: 9.62 MB / 2.14 GB, free: 34.22 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/5.672, allocations: 0 / 2.14 GB, free: 34.22 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008017/5.68, allocations: 2.621 MB / 2.143 GB, free: 33.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002617/5.683, allocations: 0.571 MB / 2.143 GB, free: 32.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004021/5.683, allocations: 27.03 kB / 2.143 GB, free: 32.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001523/5.685, allocations: 161.7 kB / 2.144 GB, free: 32.62 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000243/5.685, allocations: 97.81 kB / 2.144 GB, free: 32.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/5.685, allocations: 59.91 kB / 2.144 GB, free: 32.59 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002628/5.688, allocations: 1.585 MB / 2.145 GB, free: 31.94 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.31e-07/5.688, allocations: 0 / 2.145 GB, free: 31.94 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.007287/5.695, allocations: 2.035 MB / 2.147 GB, free: 31.45 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 () * 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.004194/5.699, allocations: 1.769 MB / 2.149 GB, free: 30.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005588/5.705, allocations: 3.591 MB / 2.153 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/5.705, allocations: 1.438 kB / 2.153 GB, free: 28.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001718/5.707, allocations: 1.376 MB / 2.154 GB, free: 27.75 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007624/5.714, allocations: 1.341 MB / 2.155 GB, free: 27.44 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00725/5.722, allocations: 4.015 MB / 2.159 GB, free: 25.54 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/5.723, allocations: 1.805 MB / 2.161 GB, free: 24.72 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003678/5.727, allocations: 0.7982 MB / 2.162 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003585/5.727, allocations: 167.1 kB / 2.162 GB, free: 24.23 MB / 0.698 GB Notification: Performance of SimCode: time 1.523e-06/5.727, allocations: 0 / 2.162 GB, free: 24.23 MB / 0.698 GB Notification: Performance of Templates: time 0.7172/6.444, allocations: 73.58 MB / 2.234 GB, free: 74.79 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)