Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.74/1.74, allocations: 288.3 MB / 303.2 MB, free: 8.238 MB / 234.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: 189 kB / 371.9 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.387/1.387, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008628/0.0008627, allocations: 91.44 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004288/0.000429, allocations: 11.59 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2196, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8415/1.061, allocations: 421.7 MB / 1.391 GB, free: 7.574 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/1.062, allocations: 108.9 kB / 1.391 GB, free: 7.512 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.919/2.98, allocations: 0.5552 GB / 1.946 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.733e-06/2.98, allocations: 0 / 1.946 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001061/2.98, allocations: 36.31 kB / 1.947 GB, free: 187.8 MB / 0.9323 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.0033/2.984, allocations: 1.633 MB / 1.948 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/2.984, allocations: 10.28 kB / 1.948 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004112/2.984, allocations: 157.1 kB / 1.948 GB, free: 186.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002614/2.987, allocations: 1.388 MB / 1.95 GB, free: 185.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/2.987, allocations: 69.22 kB / 1.95 GB, free: 185.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001227/2.987, allocations: 92.59 kB / 1.95 GB, free: 185.3 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001298/2.988, allocations: 0.8767 MB / 1.951 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.992e-05/2.988, allocations: 8.438 kB / 1.951 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.426e-05/2.988, allocations: 32 kB / 1.951 GB, free: 184.4 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/2.989, allocations: 35.94 kB / 1.951 GB, free: 184.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000935/2.989, allocations: 0.6129 MB / 1.951 GB, free: 183.7 MB / 0.9323 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.004423/2.994, allocations: 4.319 MB / 1.956 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008464/2.995, allocations: 0.5181 MB / 1.956 GB, free: 178.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/2.995, allocations: 0.6011 MB / 1.957 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.43e-05/2.995, allocations: 51 kB / 1.957 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 2.695e-06/2.995, allocations: 0 / 1.957 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.001987/2.997, allocations: 1.241 MB / 1.958 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.789e-05/2.997, allocations: 59.97 kB / 1.958 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008794/2.998, allocations: 0.799 MB / 1.959 GB, free: 175.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.511e-05/2.998, allocations: 41.7 kB / 1.959 GB, free: 175.6 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002838/2.999, allocations: 0.5176 MB / 1.959 GB, free: 175.1 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/2.999, allocations: 200.7 kB / 1.959 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-05/2.999, allocations: 16 kB / 1.959 GB, free: 174.9 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.004e-05/2.999, allocations: 330 kB / 1.96 GB, free: 174.6 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/2.999, allocations: 197 kB / 1.96 GB, free: 174.4 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003547/2.999, allocations: 394.2 kB / 1.96 GB, free: 173.9 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000338/3, allocations: 272.3 kB / 1.961 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/3, allocations: 0 / 1.961 GB, free: 173.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001108/3.001, allocations: 0.8047 MB / 1.961 GB, free: 172.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002375/3.001, allocations: 1.319 MB / 1.963 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.532e-05/3.001, allocations: 4 kB / 1.963 GB, free: 171.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003617/3.002, allocations: 138.7 kB / 1.963 GB, free: 171.3 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/3.002, allocations: 130.4 kB / 1.963 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002584/3.005, allocations: 4.969 MB / 1.968 GB, free: 165.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009285/3.006, allocations: 116.2 kB / 1.968 GB, free: 165.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.758e-05/3.006, allocations: 28 kB / 1.968 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.697e-06/3.006, allocations: 4 kB / 1.968 GB, free: 165.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00104/3.007, allocations: 0.6804 MB / 1.969 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/3.007, allocations: 4 kB / 1.969 GB, free: 165 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002621/3.007, allocations: 134.5 kB / 1.969 GB, free: 164.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004094/3.007, allocations: 123.8 kB / 1.969 GB, free: 164.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003197/3.011, allocations: 6.011 MB / 1.975 GB, free: 158.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008717/3.012, allocations: 108.3 kB / 1.975 GB, free: 158.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.223e-05/3.012, allocations: 31.98 kB / 1.975 GB, free: 158 MB / 0.9323 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 (70): * Single equations (assignments): 65 * 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%) 3} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0006323/3.012, allocations: 368.7 kB / 1.975 GB, free: 157.7 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001545/3.012, allocations: 102.7 kB / 1.975 GB, free: 157.6 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001107/3.013, allocations: 0.722 MB / 1.976 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/3.014, allocations: 8 kB / 1.976 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/3.014, allocations: 0 / 1.976 GB, free: 156.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007962/3.014, allocations: 0.6758 MB / 1.977 GB, free: 156.1 MB / 0.9323 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.002373/3.017, allocations: 1.865 MB / 1.979 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/3.017, allocations: 0 / 1.979 GB, free: 154.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003651/3.017, allocations: 87.89 kB / 1.979 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002733/3.017, allocations: 131.3 kB / 1.979 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/3.017, allocations: 12 kB / 1.979 GB, free: 153.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002452/3.02, allocations: 4.991 MB / 1.984 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/3.02, allocations: 7.031 kB / 1.984 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001286/3.021, allocations: 1.11 MB / 1.985 GB, free: 147.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004443/3.022, allocations: 263.7 kB / 1.985 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/3.022, allocations: 19.92 kB / 1.985 GB, free: 147.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000632/3.022, allocations: 62.2 kB / 1.985 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.171e-05/3.022, allocations: 48.44 kB / 1.985 GB, free: 147 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.121e-05/3.023, allocations: 23.98 kB / 1.985 GB, free: 147 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0007047/3.023, allocations: 0.6293 MB / 1.986 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.4e-07/3.023, allocations: 0 / 1.986 GB, free: 146.3 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002453/3.026, allocations: 0.7743 MB / 1.986 GB, free: 145.5 MB / 0.9323 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 (47): * Single equations (assignments): 41 * 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%) 3,(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.001183/3.027, allocations: 0.6678 MB / 1.987 GB, free: 145 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002131/3.029, allocations: 1.764 MB / 1.989 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/3.029, allocations: 0 / 1.989 GB, free: 143.2 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005833/3.03, allocations: 0.6232 MB / 1.989 GB, free: 142.5 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002355/3.032, allocations: 0.5571 MB / 1.99 GB, free: 142 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002793/3.035, allocations: 2.481 MB / 1.992 GB, free: 139.6 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/3.035, allocations: 1.114 MB / 1.994 GB, free: 138.4 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0009697/3.036, allocations: 236 kB / 1.994 GB, free: 138.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/3.036, allocations: 79.42 kB / 1.994 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of SimCode: time 1.413e-06/3.036, allocations: 0 / 1.994 GB, free: 138.1 MB / 0.9323 GB Notification: Performance of Templates: time 0.03686/3.073, allocations: 25.57 MB / 2.019 GB, free: 113.4 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)