Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.095/2.095, allocations: 251.1 MB / 266.7 MB, free: 11.58 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001362/0.001362, allocations: 187.2 kB / 326.2 MB, free: 2.875 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.441/2.441, allocations: 205.4 MB / 0.5772 GB, free: 20.8 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000971/0.0009708, allocations: 96.36 kB / 0.6817 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007562/0.0007565, allocations: 13.91 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2281, allocations: 106.3 MB / 0.8995 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.267/1.495, allocations: 413.9 MB / 1.304 GB, free: 5.32 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003825/1.495, allocations: 114.3 kB / 1.304 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.084/4.58, allocations: 0.5367 GB / 1.841 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.657e-06/4.58, allocations: 3.281 kB / 1.841 GB, free: 209.2 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0001726/4.58, allocations: 32.83 kB / 1.841 GB, free: 209.2 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.00562/4.586, allocations: 1.627 MB / 1.842 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.937e-05/4.586, allocations: 15.34 kB / 1.842 GB, free: 208.4 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009795/4.587, allocations: 154.3 kB / 1.842 GB, free: 208.3 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004443/4.591, allocations: 1.312 MB / 1.844 GB, free: 208 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/4.591, allocations: 67.97 kB / 1.844 GB, free: 208 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002291/4.591, allocations: 91.12 kB / 1.844 GB, free: 208 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002306/4.594, allocations: 0.8761 MB / 1.845 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.06e-05/4.594, allocations: 9.891 kB / 1.845 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001236/4.594, allocations: 36.41 kB / 1.845 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-05/4.594, allocations: 22.03 kB / 1.845 GB, free: 207.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001832/4.596, allocations: 0.6217 MB / 1.845 GB, free: 207.9 MB / 0.8855 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.008246/4.604, allocations: 4.277 MB / 1.849 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001382/4.606, allocations: 0.5035 MB / 1.85 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007723/4.606, allocations: 326.6 kB / 1.85 GB, free: 205.7 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007914/4.607, allocations: 0.6051 MB / 1.851 GB, free: 205 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.78e-05/4.607, allocations: 42.5 kB / 1.851 GB, free: 205 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=57): time 3.817e-06/4.607, allocations: 0 / 1.851 GB, free: 205 MB / 0.8855 GB Notification: Performance of matching and sorting (n=57): time 0.004096/4.611, allocations: 1.248 MB / 1.852 GB, free: 204.5 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/4.612, allocations: 55.47 kB / 1.852 GB, free: 204.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00169/4.613, allocations: 0.8641 MB / 1.853 GB, free: 204.3 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002065/4.614, allocations: 40.48 kB / 1.853 GB, free: 204.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/4.614, allocations: 0.5107 MB / 1.854 GB, free: 204 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/4.614, allocations: 204.1 kB / 1.854 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.026e-05/4.614, allocations: 15.38 kB / 1.854 GB, free: 203.9 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001012/4.615, allocations: 326.1 kB / 1.854 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000537/4.615, allocations: 195.3 kB / 1.854 GB, free: 203.6 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007328/4.616, allocations: 403.7 kB / 1.855 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000647/4.617, allocations: 266.9 kB / 1.855 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.297e-06/4.617, allocations: 3.75 kB / 1.855 GB, free: 203.4 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002612/4.619, allocations: 0.8169 MB / 1.856 GB, free: 203.2 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/4.619, allocations: 192.9 kB / 1.856 GB, free: 203 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.933e-05/4.619, allocations: 7.594 kB / 1.856 GB, free: 203 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009518/4.62, allocations: 154.5 kB / 1.856 GB, free: 203 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008914/4.621, allocations: 124.4 kB / 1.856 GB, free: 203 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004075/4.625, allocations: 4.816 MB / 1.861 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001742/4.627, allocations: 119 kB / 1.861 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/4.627, allocations: 28.55 kB / 1.861 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/4.627, allocations: 3.906 kB / 1.861 GB, free: 198.5 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001959/4.629, allocations: 0.676 MB / 1.862 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.924e-05/4.629, allocations: 9.688 kB / 1.862 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004988/4.63, allocations: 133.8 kB / 1.862 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/4.631, allocations: 119.9 kB / 1.862 GB, free: 198.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005348/4.636, allocations: 5.825 MB / 1.868 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/4.638, allocations: 107.1 kB / 1.868 GB, free: 193.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/4.638, allocations: 24.59 kB / 1.868 GB, free: 193.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 66 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009307/4.639, allocations: 365.3 kB / 1.868 GB, free: 192.9 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004203/4.64, allocations: 114.5 kB / 1.868 GB, free: 192.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/4.642, allocations: 0.7221 MB / 1.869 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/4.642, allocations: 6.719 kB / 1.869 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/4.642, allocations: 0 / 1.869 GB, free: 192.7 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/4.643, allocations: 0.668 MB / 1.87 GB, free: 192.5 MB / 0.8855 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 postOpt removeSimpleEquations (simulation): time 0.004442/4.648, allocations: 1.839 MB / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/4.648, allocations: 5.656 kB / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007612/4.648, allocations: 101.5 kB / 1.871 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005043/4.649, allocations: 128.2 kB / 1.872 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.679e-05/4.649, allocations: 12.06 kB / 1.872 GB, free: 192 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003701/4.653, allocations: 4.822 MB / 1.876 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/4.653, allocations: 2.812 kB / 1.876 GB, free: 187.6 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002581/4.655, allocations: 1.064 MB / 1.877 GB, free: 187.3 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008839/4.656, allocations: 256.2 kB / 1.878 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/4.657, allocations: 18.12 kB / 1.878 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001117/4.658, allocations: 61.86 kB / 1.878 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001431/4.658, allocations: 48.36 kB / 1.878 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.516e-05/4.658, allocations: 23.27 kB / 1.878 GB, free: 187.1 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.001234/4.659, allocations: 0.5915 MB / 1.878 GB, free: 187 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4.51e-07/4.659, allocations: 0 / 1.878 GB, free: 187 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.003931/4.663, allocations: 0.7654 MB / 1.879 GB, free: 186.9 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.capFil1.T,hex.capFil2.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 (48): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001933/4.665, allocations: 0.6552 MB / 1.88 GB, free: 186.7 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003432/4.669, allocations: 1.739 MB / 1.881 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/4.669, allocations: 0 / 1.881 GB, free: 185.8 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/4.67, allocations: 0.6224 MB / 1.882 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005232/4.675, allocations: 0.5529 MB / 1.882 GB, free: 185.5 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006148/4.681, allocations: 2.482 MB / 1.885 GB, free: 184.4 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001068/4.682, allocations: 1.092 MB / 1.886 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002375/4.685, allocations: 221.2 kB / 1.886 GB, free: 183.7 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004142/4.685, allocations: 86.31 kB / 1.886 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of SimCode: time 1.353e-06/4.685, allocations: 2.969 kB / 1.886 GB, free: 183.6 MB / 0.8855 GB Notification: Performance of Templates: time 0.06661/4.752, allocations: 25.21 MB / 1.911 GB, free: 178.3 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)