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.707/1.707, allocations: 288.4 MB / 303.4 MB, free: 8.18 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.001078/0.001078, allocations: 194.6 kB / 372 MB, free: 10.27 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.409/1.409, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007378/0.0007378, allocations: 98.3 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003779/0.0003781, allocations: 20.23 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.2087, allocations: 115.3 MB / 0.9796 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.05416/0.263, allocations: 37.33 MB / 1.016 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01592/0.2789, allocations: 11.56 MB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001917/0.2809, allocations: 47.69 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001775/0.2827, allocations: 492.9 kB / 1.028 GB, free: 10.13 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.004671/0.2874, allocations: 1.627 MB / 1.029 GB, free: 8.496 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003156/0.2905, allocations: 1.072 MB / 1.03 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004554/0.2951, allocations: 3.939 MB / 1.034 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.2968, allocations: 0.8605 MB / 1.035 GB, free: 2.613 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002283/0.299, allocations: 1.034 MB / 1.036 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.3009, allocations: 0.8983 MB / 1.037 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002835/0.3012, allocations: 52 kB / 1.037 GB, free: 0.6211 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002989/0.3042, allocations: 1.209 MB / 1.038 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003619/0.3045, allocations: 234.9 kB / 1.039 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0005424/0.3051, allocations: 297 kB / 1.039 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002913/0.308, allocations: 1.929 MB / 1.041 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.308, allocations: 0 / 1.041 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.824e-06/0.308, allocations: 0 / 1.041 GB, free: 12.95 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.743e-05/0.3081, allocations: 0 / 1.041 GB, free: 12.95 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.00328/0.3114, allocations: 1.495 MB / 1.042 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.3115, allocations: 12.03 kB / 1.042 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005671/0.312, allocations: 154.2 kB / 1.042 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002079/0.3141, allocations: 1.103 MB / 1.043 GB, free: 10.09 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.3142, allocations: 66 kB / 1.043 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/0.3143, allocations: 92 kB / 1.044 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/0.3159, allocations: 0.8972 MB / 1.044 GB, free: 9.004 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.485e-05/0.3159, allocations: 4 kB / 1.044 GB, free: 9 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.84e-05/0.316, allocations: 39.98 kB / 1.044 GB, free: 8.961 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.3161, allocations: 28 kB / 1.044 GB, free: 8.934 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001056/0.3171, allocations: 0.6402 MB / 1.045 GB, free: 8.289 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.004937/0.3221, allocations: 4.289 MB / 1.049 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009064/0.323, allocations: 0.4933 MB / 1.05 GB, free: 3.207 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005076/0.3235, allocations: 306.4 kB / 1.05 GB, free: 2.906 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.3242, allocations: 0.6026 MB / 1.051 GB, free: 2.176 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.092e-05/0.3243, allocations: 47.06 kB / 1.051 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 5.2e-06/0.3243, allocations: 0 / 1.051 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002505/0.3268, allocations: 1.208 MB / 1.052 GB, free: 0.8164 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3269, allocations: 59.97 kB / 1.052 GB, free: 0.7461 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.3281, allocations: 0.8713 MB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.449e-05/0.3282, allocations: 37.81 kB / 1.053 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003957/0.3286, allocations: 0.5152 MB / 1.053 GB, free: 15.29 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001795/0.3287, allocations: 201 kB / 1.054 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.3288, allocations: 16 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.3289, allocations: 341.9 kB / 1.054 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003322/0.3293, allocations: 197.9 kB / 1.054 GB, free: 14.54 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.3298, allocations: 410.2 kB / 1.054 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.3302, allocations: 271.1 kB / 1.055 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.3302, allocations: 0 / 1.055 GB, free: 13.81 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001586/0.3318, allocations: 0.8427 MB / 1.056 GB, free: 12.95 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.332, allocations: 196 kB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.332, allocations: 8 kB / 1.056 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006205/0.3326, allocations: 151.3 kB / 1.056 GB, free: 12.53 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.3331, allocations: 139.8 kB / 1.056 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.3369, allocations: 4.822 MB / 1.061 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/0.3379, allocations: 119.2 kB / 1.061 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.48e-05/0.338, allocations: 39.98 kB / 1.061 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/0.338, allocations: 5.562 kB / 1.061 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001253/0.3392, allocations: 0.7056 MB / 1.062 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.3393, allocations: 4 kB / 1.062 GB, free: 6.266 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003102/0.3396, allocations: 131.6 kB / 1.062 GB, free: 6.125 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.3401, allocations: 139.8 kB / 1.062 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4189/0.759, allocations: 5.809 MB / 1.067 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001578/0.7606, allocations: 111.6 kB / 1.068 GB, free: 85.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.7608, allocations: 29.98 kB / 1.068 GB, free: 85.7 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.001072/0.7618, allocations: 370.7 kB / 1.068 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003398/0.7622, allocations: 103.2 kB / 1.068 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00215/0.7644, allocations: 0.7027 MB / 1.069 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.7644, allocations: 9.375 kB / 1.069 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/0.7644, allocations: 6.047 kB / 1.069 GB, free: 85.43 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001392/0.7658, allocations: 0.644 MB / 1.069 GB, free: 85.22 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.004/0.7698, allocations: 1.813 MB / 1.071 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.105e-05/0.7699, allocations: 9.594 kB / 1.071 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.7704, allocations: 91.52 kB / 1.071 GB, free: 84.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004309/0.7709, allocations: 118.7 kB / 1.071 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.867e-05/0.771, allocations: 15.47 kB / 1.071 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003443/0.7744, allocations: 4.816 MB / 1.076 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.7744, allocations: 2.25 kB / 1.076 GB, free: 79.86 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.777, allocations: 1.03 MB / 1.077 GB, free: 79.33 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007959/0.7778, allocations: 270.3 kB / 1.077 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/0.778, allocations: 16.19 kB / 1.077 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009845/0.779, allocations: 65 kB / 1.077 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.7791, allocations: 46.48 kB / 1.077 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.546e-05/0.7792, allocations: 25.44 kB / 1.077 GB, free: 79.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001403/0.7807, allocations: 0.5916 MB / 1.078 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7807, allocations: 0 / 1.078 GB, free: 78.82 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003522/0.7842, allocations: 0.7068 MB / 1.079 GB, free: 78.72 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.001029/0.7852, allocations: 444.9 kB / 1.079 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002608/0.7879, allocations: 1.768 MB / 1.081 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7879, allocations: 0.9062 kB / 1.081 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.7887, allocations: 0.6146 MB / 1.082 GB, free: 76.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003062/0.7918, allocations: 0.5483 MB / 1.082 GB, free: 76.88 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003937/0.7957, allocations: 2.453 MB / 1.084 GB, free: 75.49 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.7965, allocations: 1.089 MB / 1.086 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001433/0.798, allocations: 223.8 kB / 1.086 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002634/0.7982, allocations: 86.16 kB / 1.086 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of SimCode: time 1.643e-06/0.7983, allocations: 0 / 1.086 GB, free: 74.69 MB / 0.6823 GB Notification: Performance of Templates: time 0.04155/0.8398, allocations: 23.14 MB / 1.108 GB, free: 66.71 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)