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.557/2.557, allocations: 287.5 MB / 302.4 MB, free: 8.293 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.001366/0.001366, allocations: 182.8 kB / 371 MB, free: 10.88 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.016/2.016, allocations: 205.4 MB / 0.6297 GB, free: 10.62 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.0009338/0.0009338, allocations: 81.5 kB / 0.743 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004892/0.0004893, allocations: 12.08 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2083/0.2088, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04755/0.2564, allocations: 37.33 MB / 1.015 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02409/0.2806, allocations: 11.54 MB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.2829, allocations: 47.69 kB / 1.026 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002511/0.2854, allocations: 496.9 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.2926, allocations: 1.631 MB / 1.028 GB, free: 9.203 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/0.2977, allocations: 1.071 MB / 1.029 GB, free: 8.148 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.009271/0.3069, allocations: 3.933 MB / 1.033 GB, free: 4.207 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003523/0.3105, allocations: 0.8604 MB / 1.034 GB, free: 3.328 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004722/0.3153, allocations: 1.042 MB / 1.035 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.3188, allocations: 0.8945 MB / 1.036 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0005073/0.3193, allocations: 48 kB / 1.036 GB, free: 1.336 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006852/0.3262, allocations: 1.205 MB / 1.037 GB, free: 132 kB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0009947/0.3272, allocations: 238.9 kB / 1.037 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0009921/0.3283, allocations: 297 kB / 1.038 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.006164/0.3345, allocations: 1.925 MB / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.3346, allocations: 0 / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.407e-06/0.3346, allocations: 0 / 1.039 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.007e-05/0.3347, allocations: 4 kB / 1.039 GB, free: 13.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.006012/0.3407, allocations: 1.491 MB / 1.041 GB, free: 12.12 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.658e-05/0.3408, allocations: 8.031 kB / 1.041 GB, free: 12.11 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009745/0.3418, allocations: 154.3 kB / 1.041 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004436/0.3462, allocations: 1.109 MB / 1.042 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001338/0.3464, allocations: 70 kB / 1.042 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003699/0.3468, allocations: 95.95 kB / 1.042 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00362/0.3505, allocations: 0.8934 MB / 1.043 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-05/0.3506, allocations: 0 / 1.043 GB, free: 9.719 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/0.3508, allocations: 47.92 kB / 1.043 GB, free: 9.672 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.3509, allocations: 24 kB / 1.043 GB, free: 9.648 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002957/0.3539, allocations: 0.6402 MB / 1.044 GB, free: 9.008 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.01273/0.3666, allocations: 4.293 MB / 1.048 GB, free: 4.426 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/0.369, allocations: 0.497 MB / 1.049 GB, free: 3.918 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/0.3703, allocations: 311.1 kB / 1.049 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001346/0.3717, allocations: 0.6026 MB / 1.049 GB, free: 2.883 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.3718, allocations: 43.06 kB / 1.049 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 4.608e-06/0.3718, allocations: 0 / 1.049 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.006197/0.378, allocations: 1.212 MB / 1.051 GB, free: 1.527 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.249e-05/0.3781, allocations: 59.97 kB / 1.051 GB, free: 1.457 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002769/0.3809, allocations: 0.8674 MB / 1.052 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0002041/0.3812, allocations: 37.7 kB / 1.052 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008385/0.382, allocations: 0.5114 MB / 1.052 GB, free: 4 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004784/0.3825, allocations: 205.2 kB / 1.052 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.417e-05/0.3826, allocations: 15.94 kB / 1.052 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002108/0.3829, allocations: 337.9 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009014/0.3838, allocations: 205.9 kB / 1.053 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.3851, allocations: 406.2 kB / 1.053 GB, free: 14.78 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001133/0.3863, allocations: 271.1 kB / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.867e-06/0.3863, allocations: 0 / 1.053 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.004163/0.3905, allocations: 0.8392 MB / 1.054 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002288/0.3908, allocations: 193.7 kB / 1.054 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-05/0.3908, allocations: 7.984 kB / 1.054 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001443/0.3923, allocations: 167.2 kB / 1.055 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001554/0.3939, allocations: 135.8 kB / 1.055 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007416/0.4013, allocations: 4.822 MB / 1.059 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002329/0.4037, allocations: 119.2 kB / 1.06 GB, free: 7.738 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.4039, allocations: 32 kB / 1.06 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.4039, allocations: 4 kB / 1.06 GB, free: 7.703 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003059/0.407, allocations: 0.7056 MB / 1.06 GB, free: 6.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.543e-05/0.4071, allocations: 8 kB / 1.06 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007781/0.4079, allocations: 131.6 kB / 1.06 GB, free: 6.836 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.4093, allocations: 135.8 kB / 1.061 GB, free: 6.703 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/0.4195, allocations: 5.814 MB / 1.066 GB, free: 352 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4211, allocations: 115.4 kB / 1.066 GB, free: 236 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/0.4212, allocations: 32 kB / 1.066 GB, free: 204 kB / 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.6/1.021, allocations: 363.4 kB / 1.067 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003456/1.022, allocations: 97.64 kB / 1.067 GB, free: 86.33 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002285/1.024, allocations: 0.701 MB / 1.068 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-05/1.024, allocations: 8.297 kB / 1.068 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/1.024, allocations: 3 kB / 1.068 GB, free: 86.25 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001501/1.025, allocations: 0.6499 MB / 1.068 GB, free: 86.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.004431/1.03, allocations: 1.817 MB / 1.07 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/1.03, allocations: 6.578 kB / 1.07 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007511/1.031, allocations: 86.62 kB / 1.07 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005111/1.031, allocations: 129 kB / 1.07 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-05/1.031, allocations: 14.83 kB / 1.07 GB, free: 85.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/1.035, allocations: 4.818 MB / 1.075 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.035, allocations: 6.281 kB / 1.075 GB, free: 80.73 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002574/1.038, allocations: 1.022 MB / 1.076 GB, free: 80.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000685/1.038, allocations: 268.9 kB / 1.076 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002087/1.039, allocations: 12.22 kB / 1.076 GB, free: 80.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001124/1.04, allocations: 64.67 kB / 1.076 GB, free: 80.01 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001379/1.04, allocations: 54.06 kB / 1.076 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.452e-05/1.04, allocations: 24.7 kB / 1.076 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001307/1.041, allocations: 0.593 MB / 1.077 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.81e-07/1.041, allocations: 0 / 1.077 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003494/1.045, allocations: 0.7116 MB / 1.078 GB, free: 79.63 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.001386/1.046, allocations: 435 kB / 1.078 GB, free: 79.52 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003642/1.05, allocations: 1.77 MB / 1.08 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/1.05, allocations: 0.6562 kB / 1.08 GB, free: 78.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00114/1.051, allocations: 0.6099 MB / 1.08 GB, free: 77.89 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005076/1.056, allocations: 0.5454 MB / 1.081 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005169/1.062, allocations: 2.465 MB / 1.083 GB, free: 76.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008858/1.062, allocations: 1.094 MB / 1.084 GB, free: 75.66 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001708/1.064, allocations: 221.3 kB / 1.084 GB, free: 75.61 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/1.065, allocations: 89.11 kB / 1.085 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.065, allocations: 0.7812 kB / 1.085 GB, free: 75.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.06957/1.134, allocations: 23.12 MB / 1.107 GB, free: 68.39 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)