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 1.653/1.653, allocations: 287.5 MB / 302.6 MB, free: 8.211 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.001284/0.001284, allocations: 176.5 kB / 371.2 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 1.446/1.446, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0008524/0.0008524, allocations: 89.36 kB / 0.7432 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 11.92 kB / 0.8661 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02845/0.2071, allocations: 37.33 MB / 1.015 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01577/0.2229, allocations: 11.54 MB / 1.026 GB, free: 11.19 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002419/0.2253, allocations: 47.69 kB / 1.026 GB, free: 11.14 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001923/0.2273, allocations: 492.9 kB / 1.027 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.005105/0.2324, allocations: 1.627 MB / 1.029 GB, free: 9.027 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003204/0.2356, allocations: 1.083 MB / 1.03 GB, free: 7.961 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004899/0.2406, allocations: 3.95 MB / 1.033 GB, free: 4.004 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/0.243, allocations: 0.9625 MB / 1.034 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002531/0.2455, allocations: 1.038 MB / 1.035 GB, free: 1.969 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00163/0.2472, allocations: 0.8906 MB / 1.036 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002459/0.2474, allocations: 52 kB / 1.036 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00272/0.2502, allocations: 1.216 MB / 1.037 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003005/0.2505, allocations: 227 kB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003989/0.2509, allocations: 301 kB / 1.038 GB, free: 15.28 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002019/0.2529, allocations: 1.921 MB / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2529, allocations: 0 / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2529, allocations: 0 / 1.04 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.906e-05/0.253, allocations: 0 / 1.04 GB, free: 13.36 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.002261/0.2552, allocations: 1.487 MB / 1.041 GB, free: 11.82 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.2553, allocations: 8.031 kB / 1.041 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003063/0.2556, allocations: 151.2 kB / 1.041 GB, free: 11.66 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001629/0.2572, allocations: 1.15 MB / 1.043 GB, free: 10.46 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.987e-05/0.2573, allocations: 66 kB / 1.043 GB, free: 10.4 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.2574, allocations: 88 kB / 1.043 GB, free: 10.32 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.2588, allocations: 0.9012 MB / 1.044 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.763e-05/0.2589, allocations: 7.844 kB / 1.044 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-05/0.2589, allocations: 36 kB / 1.044 GB, free: 9.336 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.94e-05/0.259, allocations: 31.98 kB / 1.044 GB, free: 9.305 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.26, allocations: 0.6363 MB / 1.044 GB, free: 8.672 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.004633/0.2647, allocations: 4.296 MB / 1.049 GB, free: 4.082 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008565/0.2656, allocations: 0.4931 MB / 1.049 GB, free: 3.582 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005237/0.2661, allocations: 311.1 kB / 1.049 GB, free: 3.273 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005925/0.2667, allocations: 0.6065 MB / 1.05 GB, free: 2.539 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.2667, allocations: 39.12 kB / 1.05 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.246e-06/0.2667, allocations: 0 / 1.05 GB, free: 2.492 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002302/0.2691, allocations: 1.212 MB / 1.051 GB, free: 1.191 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.561e-05/0.2691, allocations: 67.95 kB / 1.051 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.2702, allocations: 0.8635 MB / 1.052 GB, free: 232 kB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.637e-05/0.2702, allocations: 41.64 kB / 1.052 GB, free: 184 kB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004142/0.2706, allocations: 0.5115 MB / 1.053 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001668/0.2708, allocations: 212.9 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2709, allocations: 16 kB / 1.053 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.271, allocations: 337.9 kB / 1.053 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003378/0.2713, allocations: 201.9 kB / 1.053 GB, free: 14.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.2718, allocations: 398.3 kB / 1.054 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007633/0.2726, allocations: 0.5603 MB / 1.054 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.2726, allocations: 0 / 1.054 GB, free: 13.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001509/0.2741, allocations: 0.8466 MB / 1.055 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.2743, allocations: 194.1 kB / 1.055 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.2743, allocations: 4 kB / 1.055 GB, free: 12.72 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005733/0.2749, allocations: 159.3 kB / 1.055 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004802/0.2754, allocations: 139.8 kB / 1.056 GB, free: 12.42 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003427/0.2788, allocations: 4.826 MB / 1.06 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007862/0.2796, allocations: 115.3 kB / 1.06 GB, free: 7.055 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.391e-05/0.2797, allocations: 32 kB / 1.06 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 6.222e-06/0.2797, allocations: 4 kB / 1.06 GB, free: 7.02 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.2809, allocations: 0.7094 MB / 1.061 GB, free: 6.297 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2809, allocations: 8 kB / 1.061 GB, free: 6.289 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003004/0.2812, allocations: 119.4 kB / 1.061 GB, free: 6.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/0.2817, allocations: 148.1 kB / 1.061 GB, free: 6.016 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3362/0.6179, allocations: 5.817 MB / 1.067 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00101/0.619, allocations: 112.5 kB / 1.067 GB, free: 85.63 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.638e-05/0.6191, allocations: 34.73 kB / 1.067 GB, free: 85.63 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.0006165/0.6197, allocations: 369.2 kB / 1.067 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.6199, allocations: 104.2 kB / 1.068 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/0.6213, allocations: 0.6931 MB / 1.068 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6214, allocations: 12.92 kB / 1.068 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.6214, allocations: 2.375 kB / 1.068 GB, free: 85.36 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009934/0.6224, allocations: 0.6442 MB / 1.069 GB, free: 85.16 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.002554/0.6249, allocations: 1.815 MB / 1.071 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.625, allocations: 8.953 kB / 1.071 GB, free: 84.59 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000384/0.6253, allocations: 88.62 kB / 1.071 GB, free: 84.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.6257, allocations: 126.3 kB / 1.071 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.6257, allocations: 18.7 kB / 1.071 GB, free: 84.52 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002428/0.6282, allocations: 4.812 MB / 1.076 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.6282, allocations: 5.312 kB / 1.076 GB, free: 79.82 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6297, allocations: 1.025 MB / 1.077 GB, free: 79.31 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003799/0.6301, allocations: 265.4 kB / 1.077 GB, free: 79.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001063/0.6302, allocations: 12.67 kB / 1.077 GB, free: 79.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005904/0.6308, allocations: 65.52 kB / 1.077 GB, free: 79.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.074e-05/0.6309, allocations: 43.69 kB / 1.077 GB, free: 79.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.031e-05/0.6309, allocations: 29.3 kB / 1.077 GB, free: 79.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008252/0.6318, allocations: 0.5884 MB / 1.078 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6318, allocations: 0 / 1.078 GB, free: 78.83 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002194/0.634, allocations: 0.7137 MB / 1.078 GB, free: 78.73 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.0009626/0.635, allocations: 454.2 kB / 1.079 GB, free: 78.61 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002329/0.6373, allocations: 1.764 MB / 1.08 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.6373, allocations: 1.469 kB / 1.08 GB, free: 77.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006986/0.638, allocations: 0.6096 MB / 1.081 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002705/0.6407, allocations: 0.5393 MB / 1.082 GB, free: 76.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003084/0.6438, allocations: 2.46 MB / 1.084 GB, free: 75.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006352/0.6445, allocations: 1.098 MB / 1.085 GB, free: 74.76 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009348/0.6454, allocations: 219.1 kB / 1.085 GB, free: 74.71 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001762/0.6456, allocations: 77.33 kB / 1.085 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of SimCode: time 4.91e-07/0.6456, allocations: 0 / 1.085 GB, free: 74.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.03671/0.6823, allocations: 23.19 MB / 1.108 GB, free: 67.38 MB / 0.6823 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)