Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.527/2.527, allocations: 287.5 MB / 303.2 MB, free: 8.359 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.001431/0.001431, allocations: 185.4 kB / 371.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.4 MB / 0.6305 GB, free: 10.58 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.0009556/0.0009554, allocations: 90.61 kB / 0.7438 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004909/0.0004911, allocations: 12.73 kB / 0.8667 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2186, allocations: 115.3 MB / 0.9793 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.269/1.488, allocations: 421.5 MB / 1.391 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000415/1.488, allocations: 110.6 kB / 1.391 GB, free: 8.785 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.063/4.551, allocations: 0.5519 GB / 1.943 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.604e-06/4.551, allocations: 0 / 1.943 GB, free: 191.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001432/4.551, allocations: 37.11 kB / 1.943 GB, free: 191.4 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.004943/4.556, allocations: 1.617 MB / 1.945 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/4.556, allocations: 9.656 kB / 1.945 GB, free: 190.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007723/4.557, allocations: 152.3 kB / 1.945 GB, free: 190.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004064/4.561, allocations: 1.344 MB / 1.946 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/4.561, allocations: 66.62 kB / 1.946 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001829/4.561, allocations: 102.1 kB / 1.946 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/4.563, allocations: 0.8855 MB / 1.947 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.642e-05/4.564, allocations: 7.875 kB / 1.947 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/4.564, allocations: 41.28 kB / 1.947 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.512e-05/4.564, allocations: 23.55 kB / 1.947 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00161/4.565, allocations: 0.6222 MB / 1.948 GB, free: 188.2 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.007287/4.573, allocations: 4.298 MB / 1.952 GB, free: 184.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/4.574, allocations: 0.5038 MB / 1.952 GB, free: 184.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007323/4.575, allocations: 321.8 kB / 1.953 GB, free: 184 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007033/4.575, allocations: 0.5972 MB / 1.953 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/4.575, allocations: 43.06 kB / 1.953 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=57): time 3.156e-06/4.575, allocations: 0 / 1.953 GB, free: 183.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=57): time 0.003742/4.579, allocations: 1.255 MB / 1.955 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/4.579, allocations: 59.91 kB / 1.955 GB, free: 181.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/4.581, allocations: 0.8597 MB / 1.955 GB, free: 181 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001688/4.581, allocations: 41.7 kB / 1.955 GB, free: 180.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004258/4.581, allocations: 0.5149 MB / 1.956 GB, free: 180.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/4.582, allocations: 204 kB / 1.956 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/4.582, allocations: 8 kB / 1.956 GB, free: 180.2 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.896e-05/4.582, allocations: 334 kB / 1.957 GB, free: 179.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005194/4.582, allocations: 193.9 kB / 1.957 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/4.583, allocations: 403.2 kB / 1.957 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/4.584, allocations: 0.5489 MB / 1.958 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/4.584, allocations: 4 kB / 1.958 GB, free: 178.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002307/4.586, allocations: 0.8174 MB / 1.958 GB, free: 177.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/4.587, allocations: 189.3 kB / 1.959 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.258e-05/4.587, allocations: 4 kB / 1.959 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008272/4.587, allocations: 154.3 kB / 1.959 GB, free: 177.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007977/4.588, allocations: 119.9 kB / 1.959 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003665/4.592, allocations: 4.831 MB / 1.964 GB, free: 172.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/4.594, allocations: 106.5 kB / 1.964 GB, free: 172 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/4.594, allocations: 39.92 kB / 1.964 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/4.594, allocations: 6.344 kB / 1.964 GB, free: 171.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00176/4.596, allocations: 0.6758 MB / 1.964 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/4.596, allocations: 7.938 kB / 1.964 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004679/4.596, allocations: 121.8 kB / 1.965 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007615/4.597, allocations: 123.8 kB / 1.965 GB, free: 171 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004717/4.602, allocations: 5.828 MB / 1.97 GB, free: 164.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/4.603, allocations: 108 kB / 1.97 GB, free: 164.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.461e-05/4.603, allocations: 43.61 kB / 1.97 GB, free: 164.5 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 (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.0007934/4.604, allocations: 363.8 kB / 1.971 GB, free: 164.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002611/4.604, allocations: 106.7 kB / 1.971 GB, free: 164 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001837/4.606, allocations: 0.714 MB / 1.972 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/4.606, allocations: 11.98 kB / 1.972 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/4.606, allocations: 0 / 1.972 GB, free: 163.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00134/4.608, allocations: 0.6712 MB / 1.972 GB, free: 162.6 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.004411/4.612, allocations: 1.842 MB / 1.974 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.197e-06/4.612, allocations: 4 kB / 1.974 GB, free: 160.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007288/4.613, allocations: 95.83 kB / 1.974 GB, free: 160.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004858/4.613, allocations: 130.1 kB / 1.974 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.044e-05/4.614, allocations: 12 kB / 1.974 GB, free: 160.4 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003567/4.617, allocations: 4.815 MB / 1.979 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/4.617, allocations: 1.938 kB / 1.979 GB, free: 155.2 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002442/4.62, allocations: 1.074 MB / 1.98 GB, free: 154.1 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008063/4.62, allocations: 263.6 kB / 1.98 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002099/4.621, allocations: 12 kB / 1.98 GB, free: 153.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/4.622, allocations: 64.53 kB / 1.98 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001312/4.622, allocations: 47.23 kB / 1.98 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.976e-05/4.622, allocations: 23.98 kB / 1.98 GB, free: 153.7 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001167/4.623, allocations: 0.5864 MB / 1.981 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4.81e-07/4.623, allocations: 4 kB / 1.981 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.003995/4.627, allocations: 0.7677 MB / 1.982 GB, free: 152.3 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 (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.001749/4.629, allocations: 0.6407 MB / 1.982 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00315/4.632, allocations: 1.736 MB / 1.984 GB, free: 150 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/4.632, allocations: 4 kB / 1.984 GB, free: 150 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0009731/4.633, allocations: 0.6114 MB / 1.985 GB, free: 149.3 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00508/4.638, allocations: 0.5597 MB / 1.985 GB, free: 148.8 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004601/4.643, allocations: 2.498 MB / 1.988 GB, free: 146.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000675/4.644, allocations: 1.093 MB / 1.989 GB, free: 145.3 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001589/4.645, allocations: 222.7 kB / 1.989 GB, free: 145.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/4.646, allocations: 87.41 kB / 1.989 GB, free: 145 MB / 0.9323 GB Notification: Performance of SimCode: time 1.553e-06/4.646, allocations: 0 / 1.989 GB, free: 145 MB / 0.9323 GB Notification: Performance of Templates: time 0.06175/4.707, allocations: 25.38 MB / 2.014 GB, free: 120.4 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1)