Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001602/0.001602, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 251.9 MB / 0.51 GB, free: 4.902 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005392/0.0005393, allocations: 15.44 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5238/0.5244, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04169/0.5661, allocations: 33.89 MB / 0.7611 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01629/0.5825, allocations: 10.61 MB / 0.7714 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002101/0.5846, allocations: 47.69 kB / 0.7715 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002524/0.5872, allocations: 0.618 MB / 0.7721 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007002/0.5942, allocations: 1.955 MB / 0.774 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004951/0.5991, allocations: 1.416 MB / 0.7754 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004749/0.6039, allocations: 2.073 MB / 0.7774 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.6061, allocations: 0.8584 MB / 0.7782 GB, free: 7.84 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002606/0.6087, allocations: 0.938 MB / 0.7792 GB, free: 6.898 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001489/0.6102, allocations: 0.6416 MB / 0.7798 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003585/0.6106, allocations: 52 kB / 0.7798 GB, free: 6.203 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003246/0.6138, allocations: 1.112 MB / 0.7809 GB, free: 5.09 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004395/0.6143, allocations: 219.1 kB / 0.7811 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000601/0.6149, allocations: 297 kB / 0.7814 GB, free: 4.578 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003008/0.6179, allocations: 1.847 MB / 0.7832 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6179, allocations: 0 / 0.7832 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.304e-06/0.6179, allocations: 0 / 0.7832 GB, free: 2.727 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.888e-05/0.618, allocations: 0 / 0.7832 GB, free: 2.727 MB / 0.5919 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.003218/0.6212, allocations: 1.482 MB / 0.7847 GB, free: 1.191 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.6213, allocations: 12.03 kB / 0.7847 GB, free: 1.18 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005326/0.6218, allocations: 154.3 kB / 0.7848 GB, free: 1.027 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.624, allocations: 1.033 MB / 0.7858 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.988e-05/0.624, allocations: 66 kB / 0.7859 GB, free: 15.88 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/0.6242, allocations: 99.94 kB / 0.786 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6259, allocations: 0.8855 MB / 0.7869 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.652e-05/0.6259, allocations: 8 kB / 0.7869 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.239e-05/0.626, allocations: 36 kB / 0.7869 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.635e-05/0.6261, allocations: 20 kB / 0.7869 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001213/0.6273, allocations: 0.6402 MB / 0.7875 GB, free: 14.16 MB / 0.6075 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.005577/0.6329, allocations: 4.304 MB / 0.7917 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009106/0.6338, allocations: 0.5043 MB / 0.7922 GB, free: 9.066 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006532/0.6345, allocations: 0.6026 MB / 0.7928 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.6345, allocations: 43.08 kB / 0.7929 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 3.115e-06/0.6345, allocations: 0 / 0.7929 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002463/0.637, allocations: 1.238 MB / 0.7941 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.251e-05/0.6371, allocations: 59.91 kB / 0.7941 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.6383, allocations: 0.9182 MB / 0.795 GB, free: 5.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.078e-05/0.6384, allocations: 37.7 kB / 0.7951 GB, free: 5.902 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004157/0.6388, allocations: 0.5074 MB / 0.7956 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001904/0.639, allocations: 205 kB / 0.7958 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.6391, allocations: 16 kB / 0.7958 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.6392, allocations: 337.9 kB / 0.7961 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003519/0.6396, allocations: 205.9 kB / 0.7963 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.6401, allocations: 402.1 kB / 0.7967 GB, free: 4.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/0.6405, allocations: 263.1 kB / 0.7969 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.679e-06/0.6405, allocations: 0 / 0.7969 GB, free: 3.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001594/0.6421, allocations: 0.8547 MB / 0.7978 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005346/0.6427, allocations: 1.322 MB / 0.799 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.088e-05/0.6427, allocations: 4 kB / 0.7991 GB, free: 1.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006101/0.6433, allocations: 163.2 kB / 0.7992 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.6438, allocations: 135.8 kB / 0.7993 GB, free: 1.297 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003773/0.6476, allocations: 4.982 MB / 0.8042 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009771/0.6486, allocations: 125.8 kB / 0.8043 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.6487, allocations: 32 kB / 0.8044 GB, free: 11.74 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.6487, allocations: 4 kB / 0.8044 GB, free: 11.73 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00126/0.65, allocations: 0.7097 MB / 0.805 GB, free: 11.01 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.65, allocations: 12.06 kB / 0.8051 GB, free: 11 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000315/0.6504, allocations: 123.4 kB / 0.8052 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004797/0.6508, allocations: 135.8 kB / 0.8053 GB, free: 10.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004724/0.6556, allocations: 5.997 MB / 0.8112 GB, free: 4.188 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009814/0.6566, allocations: 115.4 kB / 0.8113 GB, free: 4.074 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.241e-05/0.6567, allocations: 32 kB / 0.8113 GB, free: 4.043 MB / 0.6231 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.0006305/0.6573, allocations: 368.9 kB / 0.8117 GB, free: 3.672 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002536/0.6576, allocations: 98.78 kB / 0.8118 GB, free: 3.574 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.6589, allocations: 0.711 MB / 0.8124 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.334e-05/0.6589, allocations: 4 kB / 0.8124 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.934e-06/0.659, allocations: 7.938 kB / 0.8125 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009321/0.6599, allocations: 0.6456 MB / 0.8131 GB, free: 2.148 MB / 0.6231 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.002994/0.6629, allocations: 1.831 MB / 0.8149 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.6629, allocations: 0 / 0.8149 GB, free: 228 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003825/0.6633, allocations: 87.89 kB / 0.815 GB, free: 140 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000353/0.6637, allocations: 135.8 kB / 0.8151 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.6637, allocations: 15.94 kB / 0.8151 GB, free: 15.98 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003872/0.6676, allocations: 4.967 MB / 0.82 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.6676, allocations: 4.031 kB / 0.82 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.6692, allocations: 1.081 MB / 0.821 GB, free: 9.434 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.6698, allocations: 279.7 kB / 0.8213 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.6699, allocations: 12 kB / 0.8213 GB, free: 9.129 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.6707, allocations: 68.34 kB / 0.8214 GB, free: 9.062 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.813e-05/0.6708, allocations: 40.47 kB / 0.8214 GB, free: 9.023 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.6708, allocations: 23.98 kB / 0.8214 GB, free: 9 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001023/0.6719, allocations: 0.6293 MB / 0.822 GB, free: 8.359 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6719, allocations: 4 kB / 0.822 GB, free: 8.355 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002788/0.6747, allocations: 0.7171 MB / 0.8227 GB, free: 7.637 MB / 0.6387 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.001097/0.6758, allocations: 482.8 kB / 0.8232 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.6785, allocations: 1.788 MB / 0.8249 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.6786, allocations: 0 / 0.8249 GB, free: 5.277 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00081/0.6794, allocations: 0.6089 MB / 0.8255 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.6819, allocations: 0.5427 MB / 0.8261 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003558/0.6855, allocations: 2.451 MB / 0.8285 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007796/0.6863, allocations: 1.116 MB / 0.8296 GB, free: 476 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009045/0.6872, allocations: 203.6 kB / 0.8297 GB, free: 276 kB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.6874, allocations: 79.42 kB / 0.8298 GB, free: 196 kB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.6874, allocations: 0 / 0.8298 GB, free: 196 kB / 0.6387 GB Notification: Performance of Templates: time 0.04098/0.7284, allocations: 23.76 MB / 0.853 GB, free: 8.766 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.pipe 2>&1) Environment - environmentSimulation: