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.678/1.678, allocations: 288.4 MB / 303.7 MB, free: 8.031 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.001161/0.001161, allocations: 186 kB / 372.3 MB, free: 10.1 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.433/1.433, allocations: 205.4 MB / 0.631 GB, free: 9.895 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.0008216/0.0008215, allocations: 94.3 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003727/0.0003728, allocations: 17.27 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1801/0.1805, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03036/0.2109, allocations: 37.33 MB / 1.017 GB, free: 5.859 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.2273, allocations: 11.56 MB / 1.028 GB, free: 10.28 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001806/0.2291, allocations: 47.69 kB / 1.028 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/0.2309, allocations: 492.9 kB / 1.028 GB, free: 9.75 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005136/0.2361, allocations: 1.74 MB / 1.03 GB, free: 8.004 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003291/0.2394, allocations: 1.076 MB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004802/0.2442, allocations: 3.951 MB / 1.035 GB, free: 2.984 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001656/0.2459, allocations: 0.9703 MB / 1.036 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.248, allocations: 1.058 MB / 1.037 GB, free: 0.918 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001622/0.2497, allocations: 0.8906 MB / 1.038 GB, free: 24 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001921/0.2499, allocations: 52.05 kB / 1.038 GB, free: 15.97 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002743/0.2526, allocations: 1.435 MB / 1.039 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0002582/0.2529, allocations: 230.9 kB / 1.04 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007811/0.2537, allocations: 0.6433 MB / 1.04 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.2559, allocations: 1.979 MB / 1.042 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.2559, allocations: 4 kB / 1.042 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2559, allocations: 4 kB / 1.042 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.2559, allocations: 0 / 1.042 GB, free: 11.66 MB / 0.6667 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.002431/0.2584, allocations: 1.484 MB / 1.044 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.2584, allocations: 11.97 kB / 1.044 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003363/0.2588, allocations: 155.2 kB / 1.044 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001687/0.2605, allocations: 1.137 MB / 1.045 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.517e-05/0.2605, allocations: 73.98 kB / 1.045 GB, free: 8.715 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/0.2607, allocations: 91.98 kB / 1.045 GB, free: 8.625 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.2621, allocations: 0.8934 MB / 1.046 GB, free: 7.695 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.798e-05/0.2621, allocations: 15.83 kB / 1.046 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.035e-05/0.2622, allocations: 40 kB / 1.046 GB, free: 7.641 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.2622, allocations: 20 kB / 1.046 GB, free: 7.621 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.2633, allocations: 0.6402 MB / 1.047 GB, free: 6.98 MB / 0.6667 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.004895/0.2682, allocations: 4.281 MB / 1.051 GB, free: 2.406 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008743/0.2691, allocations: 0.5031 MB / 1.051 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/0.2696, allocations: 309.5 kB / 1.052 GB, free: 1.594 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007148/0.2703, allocations: 0.6057 MB / 1.052 GB, free: 0.8594 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.2704, allocations: 35.12 kB / 1.052 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.896e-06/0.2704, allocations: 4 kB / 1.052 GB, free: 0.8125 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002563/0.273, allocations: 1.221 MB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.013e-05/0.273, allocations: 55.97 kB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001078/0.2741, allocations: 0.8714 MB / 1.054 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.769e-05/0.2742, allocations: 41.64 kB / 1.054 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004275/0.2746, allocations: 0.5191 MB / 1.055 GB, free: 13.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001841/0.2748, allocations: 205 kB / 1.055 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.2748, allocations: 16 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.275, allocations: 334 kB / 1.055 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003434/0.2753, allocations: 201.9 kB / 1.056 GB, free: 13.21 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004889/0.2758, allocations: 398.3 kB / 1.056 GB, free: 12.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007677/0.2766, allocations: 0.5642 MB / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2766, allocations: 0 / 1.056 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001493/0.2781, allocations: 0.847 MB / 1.057 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001273/0.2783, allocations: 187.6 kB / 1.057 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.2783, allocations: 8 kB / 1.057 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005919/0.2789, allocations: 151.3 kB / 1.058 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004884/0.2794, allocations: 139.8 kB / 1.058 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003608/0.283, allocations: 4.83 MB / 1.062 GB, free: 5.484 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000931/0.284, allocations: 119.3 kB / 1.063 GB, free: 5.367 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.2841, allocations: 35.98 kB / 1.063 GB, free: 5.332 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.995e-06/0.2841, allocations: 4 kB / 1.063 GB, free: 5.328 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.2853, allocations: 0.7016 MB / 1.063 GB, free: 4.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.2853, allocations: 4 kB / 1.063 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002984/0.2856, allocations: 127.7 kB / 1.063 GB, free: 4.473 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/0.2861, allocations: 151.7 kB / 1.064 GB, free: 4.324 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.405/0.6911, allocations: 5.812 MB / 1.069 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001042/0.6922, allocations: 110.2 kB / 1.069 GB, free: 84.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.008e-05/0.6923, allocations: 33.27 kB / 1.069 GB, free: 84.51 MB / 0.6823 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 (79): * Single equations (assignments): 74 * 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.000609/0.6929, allocations: 373.5 kB / 1.07 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.6931, allocations: 100.6 kB / 1.07 GB, free: 84.32 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001305/0.6944, allocations: 0.7023 MB / 1.071 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.6944, allocations: 9.188 kB / 1.071 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.6944, allocations: 2.281 kB / 1.071 GB, free: 84.24 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008532/0.6953, allocations: 0.6493 MB / 1.071 GB, free: 84.04 MB / 0.6823 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.002493/0.6978, allocations: 1.821 MB / 1.073 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.6978, allocations: 2.375 kB / 1.073 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003791/0.6982, allocations: 88.92 kB / 1.073 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/0.6985, allocations: 118.5 kB / 1.073 GB, free: 83.22 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.6985, allocations: 19.66 kB / 1.073 GB, free: 83.21 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002349/0.7009, allocations: 4.82 MB / 1.078 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.7009, allocations: 1.531 kB / 1.078 GB, free: 78.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.7025, allocations: 1.018 MB / 1.079 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004211/0.7029, allocations: 269.8 kB / 1.079 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001039/0.703, allocations: 18.38 kB / 1.079 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005762/0.7036, allocations: 60.14 kB / 1.079 GB, free: 77.76 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.588e-05/0.7037, allocations: 50.64 kB / 1.079 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.011e-05/0.7037, allocations: 24.06 kB / 1.079 GB, free: 77.75 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008319/0.7046, allocations: 0.5929 MB / 1.08 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.7046, allocations: 0 / 1.08 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002173/0.7068, allocations: 0.7159 MB / 1.081 GB, free: 77.36 MB / 0.6823 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.0009086/0.7077, allocations: 458.7 kB / 1.081 GB, free: 77.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.7099, allocations: 1.769 MB / 1.083 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.818e-06/0.71, allocations: 1.062 kB / 1.083 GB, free: 76.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006627/0.7106, allocations: 0.6098 MB / 1.083 GB, free: 75.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002793/0.7134, allocations: 0.5393 MB / 1.084 GB, free: 75.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003147/0.7166, allocations: 2.458 MB / 1.086 GB, free: 74.12 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006874/0.7173, allocations: 1.096 MB / 1.087 GB, free: 73.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009463/0.7182, allocations: 213.7 kB / 1.087 GB, free: 73.33 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001803/0.7184, allocations: 81.64 kB / 1.088 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of SimCode: time 8.31e-07/0.7184, allocations: 4 kB / 1.088 GB, free: 73.32 MB / 0.6823 GB Notification: Performance of Templates: time 0.03983/0.7583, allocations: 23.5 MB / 1.111 GB, free: 65.11 MB / 0.6823 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)