Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.646/1.646, allocations: 289.7 MB / 302.3 MB, free: 2.121 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.001164/0.001164, allocations: 181.3 kB / 371.6 MB, free: 3.398 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.636/1.636, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000875/0.0008751, allocations: 90.69 kB / 0.745 GB, free: 54.58 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.981e-05/3.984e-05, allocations: 8 kB / 0.8662 GB, free: 15.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2757/0.2757, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.608/1.884, allocations: 422.6 MB / 1.392 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.885, allocations: 104.5 kB / 1.393 GB, free: 295.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.662/3.547, allocations: 0.5536 GB / 1.946 GB, free: 165.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.182e-06/3.547, allocations: 0 / 1.946 GB, free: 165.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001066/3.547, allocations: 38.38 kB / 1.946 GB, free: 165.1 MB / 0.948 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.002674/3.55, allocations: 1.405 MB / 1.948 GB, free: 164 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/3.55, allocations: 10.78 kB / 1.948 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004206/3.55, allocations: 150.1 kB / 1.948 GB, free: 163.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002466/3.553, allocations: 1.389 MB / 1.949 GB, free: 163 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.148e-05/3.553, allocations: 70.19 kB / 1.949 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/3.553, allocations: 92.61 kB / 1.949 GB, free: 162.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/3.554, allocations: 0.86 MB / 1.95 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/3.554, allocations: 4.922 kB / 1.95 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.957e-05/3.554, allocations: 39.83 kB / 1.95 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.654e-05/3.554, allocations: 22.03 kB / 1.95 GB, free: 162.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008968/3.555, allocations: 0.6072 MB / 1.951 GB, free: 162.1 MB / 0.948 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.004466/3.56, allocations: 4.327 MB / 1.955 GB, free: 158.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008188/3.561, allocations: 0.5218 MB / 1.955 GB, free: 158.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/3.561, allocations: 318.7 kB / 1.956 GB, free: 158 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005718/3.562, allocations: 0.5957 MB / 1.956 GB, free: 157.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.702e-05/3.562, allocations: 42.38 kB / 1.956 GB, free: 157.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 3.406e-06/3.562, allocations: 3.062 kB / 1.956 GB, free: 157.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.00123/3.563, allocations: 0.6262 MB / 1.957 GB, free: 156.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.545e-05/3.563, allocations: 62.59 kB / 1.957 GB, free: 156.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009938/3.564, allocations: 0.797 MB / 1.958 GB, free: 156.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.391e-05/3.564, allocations: 37.61 kB / 1.958 GB, free: 156.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003017/3.564, allocations: 0.5031 MB / 1.958 GB, free: 156 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/3.565, allocations: 208.9 kB / 1.959 GB, free: 155.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.517e-05/3.565, allocations: 11.69 kB / 1.959 GB, free: 155.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/3.565, allocations: 332.4 kB / 1.959 GB, free: 155.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002696/3.565, allocations: 188.3 kB / 1.959 GB, free: 155.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/3.565, allocations: 388.6 kB / 1.959 GB, free: 155 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/3.566, allocations: 261.6 kB / 1.96 GB, free: 154.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/3.566, allocations: 0 / 1.96 GB, free: 154.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001185/3.567, allocations: 0.7947 MB / 1.96 GB, free: 154.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003507/3.567, allocations: 1.316 MB / 1.962 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/3.567, allocations: 3.594 kB / 1.962 GB, free: 153.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003881/3.568, allocations: 137.9 kB / 1.962 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/3.568, allocations: 126 kB / 1.962 GB, free: 153 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002657/3.571, allocations: 4.817 MB / 1.967 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/3.572, allocations: 113.5 kB / 1.967 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.098e-05/3.572, allocations: 27.44 kB / 1.967 GB, free: 148.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/3.572, allocations: 6.312 kB / 1.967 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/3.573, allocations: 0.6778 MB / 1.968 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.249e-05/3.573, allocations: 2.75 kB / 1.968 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002742/3.573, allocations: 124.1 kB / 1.968 GB, free: 147.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/3.574, allocations: 131.5 kB / 1.968 GB, free: 147.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003074/3.577, allocations: 5.823 MB / 1.973 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001106/3.578, allocations: 101.7 kB / 1.974 GB, free: 141.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-05/3.578, allocations: 37.7 kB / 1.974 GB, free: 141.7 MB / 0.948 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 () * 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.0002096/3.578, allocations: 145.2 kB / 1.974 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001541/3.578, allocations: 104.9 kB / 1.974 GB, free: 141.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001261/3.58, allocations: 0.7132 MB / 1.975 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/3.58, allocations: 3.906 kB / 1.975 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/3.58, allocations: 7.859 kB / 1.975 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007757/3.581, allocations: 0.654 MB / 1.975 GB, free: 140.7 MB / 0.948 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 postOpt removeSimpleEquations (simulation): time 0.002635/3.583, allocations: 1.857 MB / 1.977 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/3.583, allocations: 6.75 kB / 1.977 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003463/3.584, allocations: 86.08 kB / 1.977 GB, free: 139.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002777/3.584, allocations: 126 kB / 1.977 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/3.584, allocations: 15.95 kB / 1.977 GB, free: 139.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002303/3.586, allocations: 4.811 MB / 1.982 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/3.586, allocations: 3.984 kB / 1.982 GB, free: 134.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001581/3.588, allocations: 1.109 MB / 1.983 GB, free: 133.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/3.588, allocations: 275.1 kB / 1.983 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/3.589, allocations: 15.73 kB / 1.983 GB, free: 133.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005966/3.589, allocations: 68.19 kB / 1.983 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.541e-05/3.589, allocations: 38.23 kB / 1.983 GB, free: 133.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.324e-05/3.589, allocations: 23.33 kB / 1.983 GB, free: 133.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0008449/3.59, allocations: 0.6164 MB / 1.984 GB, free: 133 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.01e-07/3.59, allocations: 0 / 1.984 GB, free: 133 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002652/3.593, allocations: 0.7739 MB / 1.985 GB, free: 132.8 MB / 0.948 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 () * 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.001334/3.594, allocations: 0.6665 MB / 1.985 GB, free: 132.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002088/3.596, allocations: 1.744 MB / 1.987 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/3.596, allocations: 3.75 kB / 1.987 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005806/3.597, allocations: 0.6148 MB / 1.988 GB, free: 130.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/3.599, allocations: 0.5518 MB / 1.988 GB, free: 130.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002316/3.602, allocations: 1.549 MB / 1.99 GB, free: 129.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/3.602, allocations: 1.124 MB / 1.991 GB, free: 128.7 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001168/3.603, allocations: 282 kB / 1.991 GB, free: 128.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/3.603, allocations: 62.11 kB / 1.991 GB, free: 128.6 MB / 0.948 GB Notification: Performance of SimCode: time 9.42e-07/3.604, allocations: 0 / 1.991 GB, free: 128.6 MB / 0.948 GB Notification: Performance of Templates: time 0.03737/3.641, allocations: 27.8 MB / 2.018 GB, free: 102.6 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)