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.646/1.646, allocations: 288.4 MB / 304.3 MB, free: 8.125 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.001079/0.001079, allocations: 180.5 kB / 372.9 MB, free: 10.13 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.503/1.503, allocations: 205.4 MB / 0.6316 GB, free: 9.902 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.0008118/0.0008118, allocations: 98.58 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004261, allocations: 12 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03268/0.2629, allocations: 37.34 MB / 1.017 GB, free: 5.871 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01657/0.2795, allocations: 11.55 MB / 1.028 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003107/0.2827, allocations: 47.69 kB / 1.029 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.2853, allocations: 496.9 kB / 1.029 GB, free: 9.762 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006384/0.2917, allocations: 1.74 MB / 1.031 GB, free: 8.016 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003762/0.2955, allocations: 1.079 MB / 1.032 GB, free: 6.953 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.006217/0.3017, allocations: 3.955 MB / 1.036 GB, free: 2.988 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002117/0.3039, allocations: 0.9703 MB / 1.037 GB, free: 1.984 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003094/0.307, allocations: 1.046 MB / 1.038 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.3089, allocations: 0.8945 MB / 1.038 GB, free: 36 kB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.000244/0.3092, allocations: 52.05 kB / 1.039 GB, free: 15.98 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.3128, allocations: 1.435 MB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0003225/0.3131, allocations: 230.9 kB / 1.04 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001085/0.3142, allocations: 0.6472 MB / 1.041 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002802/0.317, allocations: 1.975 MB / 1.043 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.3171, allocations: 3.938 kB / 1.043 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3171, allocations: 0 / 1.043 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.643e-05/0.3171, allocations: 0 / 1.043 GB, free: 11.68 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.002609/0.3197, allocations: 1.487 MB / 1.044 GB, free: 10.14 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/0.3198, allocations: 12.03 kB / 1.044 GB, free: 10.13 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.3201, allocations: 151.2 kB / 1.044 GB, free: 9.98 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/0.3219, allocations: 1.153 MB / 1.045 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.509e-05/0.322, allocations: 66 kB / 1.046 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000126/0.3221, allocations: 88 kB / 1.046 GB, free: 8.637 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001482/0.3236, allocations: 0.9012 MB / 1.046 GB, free: 7.699 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.648e-05/0.3236, allocations: 7.844 kB / 1.046 GB, free: 7.691 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.107e-05/0.3237, allocations: 32 kB / 1.047 GB, free: 7.66 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.991e-05/0.3237, allocations: 28 kB / 1.047 GB, free: 7.633 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001125/0.3249, allocations: 0.6363 MB / 1.047 GB, free: 6.996 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.005106/0.33, allocations: 4.293 MB / 1.051 GB, free: 2.41 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008845/0.3309, allocations: 0.4933 MB / 1.052 GB, free: 1.91 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005046/0.3314, allocations: 310.4 kB / 1.052 GB, free: 1.602 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.3321, allocations: 0.6065 MB / 1.053 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.088e-05/0.3322, allocations: 39.12 kB / 1.053 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.956e-06/0.3322, allocations: 0 / 1.053 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.002536/0.3347, allocations: 1.212 MB / 1.054 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.3348, allocations: 67.89 kB / 1.054 GB, free: 15.44 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.3359, allocations: 0.8597 MB / 1.055 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.939e-05/0.3359, allocations: 45.81 kB / 1.055 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003828/0.3363, allocations: 0.5112 MB / 1.055 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.3365, allocations: 209 kB / 1.056 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.3365, allocations: 16 kB / 1.056 GB, free: 13.76 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.3367, allocations: 337.9 kB / 1.056 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.337, allocations: 205.9 kB / 1.056 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00049/0.3375, allocations: 394.3 kB / 1.056 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007996/0.3383, allocations: 0.5603 MB / 1.057 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.229e-06/0.3383, allocations: 4 kB / 1.057 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001494/0.3398, allocations: 0.8467 MB / 1.058 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.34, allocations: 193.3 kB / 1.058 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/0.34, allocations: 8 kB / 1.058 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005929/0.3406, allocations: 147.3 kB / 1.058 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.3411, allocations: 139.8 kB / 1.058 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003624/0.3447, allocations: 4.829 MB / 1.063 GB, free: 5.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008617/0.3456, allocations: 123.3 kB / 1.063 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.906e-05/0.3457, allocations: 28 kB / 1.063 GB, free: 5.348 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.409e-05/0.3457, allocations: 4 kB / 1.063 GB, free: 5.344 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001246/0.347, allocations: 0.7133 MB / 1.064 GB, free: 4.617 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.276e-05/0.347, allocations: 8.062 kB / 1.064 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002986/0.3473, allocations: 119.9 kB / 1.064 GB, free: 4.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004757/0.3478, allocations: 147.7 kB / 1.064 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5118/0.8597, allocations: 5.813 MB / 1.07 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001213/0.8609, allocations: 115.3 kB / 1.07 GB, free: 84.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.8612, allocations: 29.56 kB / 1.07 GB, free: 84.64 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.0009216/0.8621, allocations: 369.8 kB / 1.07 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003575/0.8625, allocations: 103.8 kB / 1.07 GB, free: 84.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.8642, allocations: 0.7004 MB / 1.071 GB, free: 84.37 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009914/0.8652, allocations: 0.6527 MB / 1.072 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8652, allocations: 0 / 1.072 GB, free: 84.17 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006371/0.8658, allocations: 266 kB / 1.072 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002217/0.8661, allocations: 16.39 kB / 1.072 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007492/0.8668, allocations: 58.98 kB / 1.072 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.8669, allocations: 44.25 kB / 1.072 GB, free: 84.07 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001646/0.8686, allocations: 0.7588 MB / 1.073 GB, free: 83.87 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001429/0.87, allocations: 0.9793 MB / 1.074 GB, free: 83.37 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003623/0.8704, allocations: 212.4 kB / 1.074 GB, free: 83.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001146/0.8716, allocations: 0.5968 MB / 1.075 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of Backend: time 1.032e-06/0.8716, allocations: 0 / 1.075 GB, free: 83.02 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.004978/0.8766, allocations: 2.157 MB / 1.077 GB, free: 81.82 MB / 0.6823 GB Notification: Performance of SimCode: time 0.00696/0.8836, allocations: 3.298 MB / 1.08 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of Templates: time 0.05431/0.9379, allocations: 25.99 MB / 1.105 GB, free: 71.11 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)