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.903/1.903, allocations: 288.3 MB / 303.2 MB, free: 8.168 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.001287/0.001287, allocations: 185 kB / 371.9 MB, free: 10.22 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.592/1.592, allocations: 205.4 MB / 0.6306 GB, free: 9.965 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.0009041/0.0009038, allocations: 85.53 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00036/0.00036, allocations: 15.31 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1986/0.199, allocations: 115.3 MB / 0.9794 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02725/0.2263, allocations: 33.88 MB / 1.013 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.2425, allocations: 10.62 MB / 1.023 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002257/0.2448, allocations: 47.69 kB / 1.023 GB, free: 15 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.247, allocations: 0.6218 MB / 1.024 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006409/0.2534, allocations: 1.953 MB / 1.025 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.004386/0.2578, allocations: 1.482 MB / 1.027 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004168/0.262, allocations: 2.079 MB / 1.029 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001621/0.2636, allocations: 0.8684 MB / 1.03 GB, free: 7.996 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002057/0.2657, allocations: 0.9381 MB / 1.031 GB, free: 7.055 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001215/0.2669, allocations: 0.6494 MB / 1.031 GB, free: 6.402 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.2672, allocations: 48 kB / 1.031 GB, free: 6.355 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002811/0.27, allocations: 1.104 MB / 1.032 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003597/0.2704, allocations: 223.1 kB / 1.033 GB, free: 5.031 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007066/0.2711, allocations: 301 kB / 1.033 GB, free: 4.73 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003086/0.2742, allocations: 1.866 MB / 1.035 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.758e-06/0.2742, allocations: 0 / 1.035 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.106e-06/0.2742, allocations: 0 / 1.035 GB, free: 2.859 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.646e-05/0.2743, allocations: 4 kB / 1.035 GB, free: 2.855 MB / 0.6511 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.002866/0.2771, allocations: 1.483 MB / 1.036 GB, free: 1.316 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2772, allocations: 8.031 kB / 1.036 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003566/0.2776, allocations: 150.3 kB / 1.036 GB, free: 1.16 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001819/0.2794, allocations: 1.041 MB / 1.037 GB, free: 80 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.573e-05/0.2795, allocations: 66 kB / 1.037 GB, free: 12 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2796, allocations: 99.98 kB / 1.038 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2811, allocations: 0.8894 MB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.583e-05/0.2811, allocations: 4 kB / 1.038 GB, free: 14.99 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.2812, allocations: 36 kB / 1.038 GB, free: 14.95 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/0.2812, allocations: 27.98 kB / 1.038 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001052/0.2823, allocations: 0.6402 MB / 1.039 GB, free: 14.28 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.005603/0.2879, allocations: 4.324 MB / 1.043 GB, free: 9.668 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009351/0.2889, allocations: 0.5089 MB / 1.044 GB, free: 9.148 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006947/0.2896, allocations: 0.5901 MB / 1.044 GB, free: 8.43 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.2896, allocations: 51.08 kB / 1.044 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.555e-06/0.2896, allocations: 0 / 1.044 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.00255/0.2922, allocations: 1.226 MB / 1.046 GB, free: 7.055 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.642e-05/0.2922, allocations: 59.97 kB / 1.046 GB, free: 6.984 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001264/0.2935, allocations: 0.9104 MB / 1.047 GB, free: 6.051 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.974e-05/0.2936, allocations: 37.7 kB / 1.047 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004511/0.2941, allocations: 0.5199 MB / 1.047 GB, free: 5.48 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.2943, allocations: 197.1 kB / 1.047 GB, free: 5.285 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2943, allocations: 19.94 kB / 1.047 GB, free: 5.266 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.2945, allocations: 337.9 kB / 1.048 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003527/0.2948, allocations: 201.9 kB / 1.048 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.2954, allocations: 406.3 kB / 1.048 GB, free: 4.266 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.2958, allocations: 275.1 kB / 1.049 GB, free: 4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2958, allocations: 0 / 1.049 GB, free: 4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001577/0.2974, allocations: 0.8389 MB / 1.049 GB, free: 3.141 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005986/0.298, allocations: 1.322 MB / 1.051 GB, free: 1.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/0.298, allocations: 11.94 kB / 1.051 GB, free: 1.699 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006869/0.2987, allocations: 151.3 kB / 1.051 GB, free: 1.539 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.2993, allocations: 143.8 kB / 1.051 GB, free: 1.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004266/0.3036, allocations: 4.982 MB / 1.056 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001203/0.3048, allocations: 123.3 kB / 1.056 GB, free: 11.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.565e-05/0.3049, allocations: 28 kB / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.807e-06/0.3049, allocations: 0 / 1.056 GB, free: 11.84 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001435/0.3063, allocations: 0.7134 MB / 1.057 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.3064, allocations: 8 kB / 1.057 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003273/0.3067, allocations: 131.6 kB / 1.057 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.3072, allocations: 135.8 kB / 1.057 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004898/0.3121, allocations: 5.993 MB / 1.063 GB, free: 4.293 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.3132, allocations: 111.4 kB / 1.063 GB, free: 4.184 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.717e-05/0.3133, allocations: 28 kB / 1.063 GB, free: 4.156 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 (78): * Single equations (assignments): 73 * 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.0006685/0.314, allocations: 384.8 kB / 1.063 GB, free: 3.77 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.3143, allocations: 106.7 kB / 1.063 GB, free: 3.664 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001377/0.3156, allocations: 0.7018 MB / 1.064 GB, free: 2.953 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.081e-05/0.3157, allocations: 8 kB / 1.064 GB, free: 2.945 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3157, allocations: 4 kB / 1.064 GB, free: 2.941 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00096/0.3167, allocations: 0.6456 MB / 1.065 GB, free: 2.25 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.003071/0.3197, allocations: 1.827 MB / 1.066 GB, free: 336 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/0.3198, allocations: 7.984 kB / 1.066 GB, free: 328 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003784/0.3201, allocations: 87.97 kB / 1.067 GB, free: 240 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003407/0.3205, allocations: 127.3 kB / 1.067 GB, free: 100 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.059e-05/0.3205, allocations: 12 kB / 1.067 GB, free: 88 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3914/0.7119, allocations: 4.98 MB / 1.072 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.712, allocations: 7.812 kB / 1.072 GB, free: 81.92 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001824/0.7138, allocations: 1.078 MB / 1.073 GB, free: 81.66 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.7143, allocations: 280.7 kB / 1.073 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.7144, allocations: 12.25 kB / 1.073 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005977/0.715, allocations: 61.06 kB / 1.073 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.7151, allocations: 48.42 kB / 1.073 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.552e-05/0.7151, allocations: 23.58 kB / 1.073 GB, free: 81.57 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008154/0.7159, allocations: 0.6336 MB / 1.074 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.7e-07/0.716, allocations: 1.219 kB / 1.074 GB, free: 81.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002176/0.7181, allocations: 0.7223 MB / 1.074 GB, free: 81.34 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 (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.0008822/0.719, allocations: 463.3 kB / 1.075 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002352/0.7214, allocations: 1.787 MB / 1.077 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.7214, allocations: 3.938 kB / 1.077 GB, free: 80.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006957/0.7221, allocations: 0.6198 MB / 1.077 GB, free: 79.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002752/0.7249, allocations: 0.5376 MB / 1.078 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003553/0.7284, allocations: 2.449 MB / 1.08 GB, free: 78.21 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009047/0.7294, allocations: 1.113 MB / 1.081 GB, free: 77.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001268/0.7307, allocations: 223.2 kB / 1.081 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002178/0.7309, allocations: 81.75 kB / 1.081 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of SimCode: time 1.533e-06/0.7309, allocations: 0.625 kB / 1.081 GB, free: 77.41 MB / 0.6823 GB Notification: Performance of Templates: time 0.04133/0.7722, allocations: 23.88 MB / 1.105 GB, free: 69.61 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)