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.618/2.618, allocations: 287.3 MB / 302.3 MB, free: 8.34 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.001618/0.001618, allocations: 173.1 kB / 370.8 MB, free: 10.87 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.146/2.146, allocations: 205.4 MB / 0.6295 GB, free: 10.6 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.001212/0.001212, allocations: 94.16 kB / 0.7428 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004878/0.0004879, allocations: 10.78 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2146, allocations: 115.3 MB / 0.9782 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04567/0.2603, allocations: 33.89 MB / 1.011 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02343/0.2838, allocations: 10.61 MB / 1.022 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002312/0.2862, allocations: 47.69 kB / 1.022 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.2896, allocations: 0.6219 MB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.008559/0.2982, allocations: 1.954 MB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.006653/0.3049, allocations: 1.484 MB / 1.026 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.005379/0.3103, allocations: 2.073 MB / 1.028 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002072/0.3124, allocations: 0.8685 MB / 1.029 GB, free: 8.742 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.3154, allocations: 0.9458 MB / 1.029 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001709/0.3172, allocations: 0.6416 MB / 1.03 GB, free: 7.148 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002783/0.3175, allocations: 48 kB / 1.03 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004072/0.3216, allocations: 1.104 MB / 1.031 GB, free: 5.996 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.000533/0.3222, allocations: 227.1 kB / 1.031 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0006144/0.3228, allocations: 301 kB / 1.032 GB, free: 5.473 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004254/0.3271, allocations: 1.862 MB / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.3271, allocations: 0 / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3271, allocations: 0 / 1.034 GB, free: 3.605 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.957e-05/0.3272, allocations: 0 / 1.034 GB, free: 3.605 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.004223/0.3314, allocations: 1.483 MB / 1.035 GB, free: 2.066 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.3315, allocations: 8.031 kB / 1.035 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006494/0.3322, allocations: 154.3 kB / 1.035 GB, free: 1.906 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.3351, allocations: 1.045 MB / 1.036 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.494e-05/0.3353, allocations: 73.95 kB / 1.036 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.3355, allocations: 88 kB / 1.036 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002454/0.338, allocations: 0.8934 MB / 1.037 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.628e-05/0.3381, allocations: 4 kB / 1.037 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001322/0.3382, allocations: 32 kB / 1.037 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-05/0.3383, allocations: 24 kB / 1.037 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001889/0.3402, allocations: 0.6402 MB / 1.038 GB, free: 15.03 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.008396/0.3486, allocations: 4.331 MB / 1.042 GB, free: 10.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.3502, allocations: 0.5165 MB / 1.043 GB, free: 9.887 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009752/0.3512, allocations: 0.594 MB / 1.043 GB, free: 9.164 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.113e-05/0.3513, allocations: 39.12 kB / 1.043 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.656e-06/0.3513, allocations: 0 / 1.043 GB, free: 9.117 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.00423/0.3555, allocations: 1.238 MB / 1.044 GB, free: 7.789 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/0.3556, allocations: 55.97 kB / 1.044 GB, free: 7.723 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/0.3575, allocations: 0.9144 MB / 1.045 GB, free: 6.785 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001629/0.3577, allocations: 37.7 kB / 1.045 GB, free: 6.742 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000623/0.3584, allocations: 0.5152 MB / 1.046 GB, free: 6.219 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002987/0.3587, allocations: 197.1 kB / 1.046 GB, free: 6.023 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.359e-05/0.3587, allocations: 16 kB / 1.046 GB, free: 6.008 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3589, allocations: 345.9 kB / 1.046 GB, free: 5.664 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006106/0.3595, allocations: 201.9 kB / 1.047 GB, free: 5.469 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.3604, allocations: 398.2 kB / 1.047 GB, free: 5.004 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000727/0.3611, allocations: 271.1 kB / 1.047 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.3611, allocations: 0 / 1.047 GB, free: 4.742 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002762/0.3639, allocations: 0.851 MB / 1.048 GB, free: 3.871 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006189/0.3646, allocations: 1.314 MB / 1.049 GB, free: 2.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.011e-05/0.3646, allocations: 4 kB / 1.049 GB, free: 2.449 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009849/0.3656, allocations: 155.4 kB / 1.05 GB, free: 2.285 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009705/0.3666, allocations: 143.7 kB / 1.05 GB, free: 2.145 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.372, allocations: 4.981 MB / 1.055 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001571/0.3737, allocations: 121.3 kB / 1.055 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-05/0.3738, allocations: 32 kB / 1.055 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.101e-05/0.3738, allocations: 4 kB / 1.055 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002108/0.3759, allocations: 0.7175 MB / 1.055 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.576e-05/0.376, allocations: 4 kB / 1.055 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005346/0.3765, allocations: 135.6 kB / 1.056 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009043/0.3774, allocations: 135.8 kB / 1.056 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006808/0.3842, allocations: 5.997 MB / 1.062 GB, free: 5.027 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001565/0.3859, allocations: 119.3 kB / 1.062 GB, free: 4.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/0.386, allocations: 24 kB / 1.062 GB, free: 4.887 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.0008305/0.3868, allocations: 376.8 kB / 1.062 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.3872, allocations: 102.7 kB / 1.062 GB, free: 4.406 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002098/0.3893, allocations: 0.7035 MB / 1.063 GB, free: 3.695 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.96e-05/0.3893, allocations: 8 kB / 1.063 GB, free: 3.688 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.3894, allocations: 3.938 kB / 1.063 GB, free: 3.684 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001565/0.3909, allocations: 0.6456 MB / 1.063 GB, free: 2.992 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.004535/0.3955, allocations: 1.831 MB / 1.065 GB, free: 1.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3955, allocations: 4 kB / 1.065 GB, free: 1.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007294/0.3963, allocations: 91.89 kB / 1.065 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005339/0.3968, allocations: 135.4 kB / 1.065 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-05/0.3969, allocations: 16 kB / 1.065 GB, free: 0.8125 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6142/1.011, allocations: 4.97 MB / 1.07 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.011, allocations: 1.188 kB / 1.07 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002682/1.014, allocations: 1.076 MB / 1.071 GB, free: 82.18 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/1.015, allocations: 282.5 kB / 1.072 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001834/1.015, allocations: 15.48 kB / 1.072 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/1.016, allocations: 68.91 kB / 1.072 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/1.016, allocations: 39.33 kB / 1.072 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.93e-05/1.016, allocations: 23.86 kB / 1.072 GB, free: 82.09 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001306/1.017, allocations: 0.6282 MB / 1.072 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/1.017, allocations: 0 / 1.072 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003536/1.021, allocations: 0.7241 MB / 1.073 GB, free: 81.91 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.001529/1.023, allocations: 459.3 kB / 1.074 GB, free: 81.81 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003834/1.026, allocations: 1.794 MB / 1.075 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.925e-06/1.027, allocations: 1.188 kB / 1.075 GB, free: 80.65 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/1.028, allocations: 0.6165 MB / 1.076 GB, free: 80.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004759/1.033, allocations: 0.5333 MB / 1.076 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005198/1.038, allocations: 2.461 MB / 1.079 GB, free: 78.77 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009468/1.039, allocations: 1.118 MB / 1.08 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0017/1.041, allocations: 217.6 kB / 1.08 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003227/1.041, allocations: 85.73 kB / 1.08 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of SimCode: time 1.202e-06/1.041, allocations: 0 / 1.08 GB, free: 77.97 MB / 0.6823 GB Notification: Performance of Templates: time 0.0658/1.107, allocations: 23.88 MB / 1.104 GB, free: 70.87 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)