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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.517/1.517, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001355/0.001356, allocations: 176.9 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 0.5786 GB, free: 20.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008036/0.0008039, allocations: 90.36 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003512/0.0003513, allocations: 10.47 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.226, allocations: 106.3 MB / 0.9015 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02876/0.2549, allocations: 39.47 MB / 0.94 GB, free: 23.9 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.2698, allocations: 12.27 MB / 0.952 GB, free: 11.6 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.2725, allocations: 51.69 kB / 0.952 GB, free: 11.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.2745, allocations: 0.5672 MB / 0.9526 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.2808, allocations: 1.892 MB / 0.9544 GB, free: 9.078 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003687/0.2845, allocations: 1.25 MB / 0.9557 GB, free: 7.844 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.2894, allocations: 4.566 MB / 0.9601 GB, free: 3.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001397/0.2908, allocations: 0.97 MB / 0.9611 GB, free: 2.262 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002164/0.293, allocations: 1.077 MB / 0.9621 GB, free: 1.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001248/0.2943, allocations: 0.9449 MB / 0.963 GB, free: 236 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001319/0.2944, allocations: 48 kB / 0.9631 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003471/0.2979, allocations: 1.497 MB / 0.9645 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003477/0.2983, allocations: 234.9 kB / 0.9648 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000961/0.2993, allocations: 0.6857 MB / 0.9654 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002839/0.3021, allocations: 1.96 MB / 0.9674 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3021, allocations: 0 / 0.9674 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3021, allocations: 0 / 0.9674 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.061e-05/0.3022, allocations: 0 / 0.9674 GB, free: 11.79 MB / 0.6198 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.002801/0.305, allocations: 1.489 MB / 0.9688 GB, free: 10.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.305, allocations: 12.02 kB / 0.9688 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003585/0.3054, allocations: 155.2 kB / 0.969 GB, free: 10.09 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.3072, allocations: 1.134 MB / 0.9701 GB, free: 8.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.258e-05/0.3073, allocations: 66 kB / 0.9701 GB, free: 8.848 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001339/0.3074, allocations: 95.98 kB / 0.9702 GB, free: 8.754 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00145/0.3089, allocations: 0.8934 MB / 0.9711 GB, free: 7.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3089, allocations: 3.984 kB / 0.9711 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.268e-05/0.309, allocations: 36 kB / 0.9711 GB, free: 7.781 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.724e-05/0.309, allocations: 27.98 kB / 0.9712 GB, free: 7.754 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001058/0.3101, allocations: 0.6441 MB / 0.9718 GB, free: 7.109 MB / 0.6198 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.005077/0.3152, allocations: 4.277 MB / 0.976 GB, free: 2.543 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008918/0.3161, allocations: 0.4992 MB / 0.9765 GB, free: 2.031 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.3166, allocations: 324.8 kB / 0.9768 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006641/0.3173, allocations: 0.6026 MB / 0.9774 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.317e-05/0.3173, allocations: 39.06 kB / 0.9774 GB, free: 0.9375 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 2.845e-06/0.3173, allocations: 4 kB / 0.9774 GB, free: 0.9336 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.002494/0.3198, allocations: 1.228 MB / 0.9786 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.059e-05/0.3199, allocations: 55.97 kB / 0.9787 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/0.3211, allocations: 0.8753 MB / 0.9795 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/0.3211, allocations: 49.69 kB / 0.9796 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.3216, allocations: 0.5073 MB / 0.98 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.3218, allocations: 213 kB / 0.9803 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.303e-05/0.3218, allocations: 16 kB / 0.9803 GB, free: 13.85 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.3219, allocations: 334 kB / 0.9806 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003292/0.3223, allocations: 209.9 kB / 0.9808 GB, free: 13.31 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004808/0.3228, allocations: 406.2 kB / 0.9812 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007945/0.3236, allocations: 0.5643 MB / 0.9817 GB, free: 12.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.3236, allocations: 4 kB / 0.9817 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001581/0.3252, allocations: 0.8547 MB / 0.9826 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000129/0.3253, allocations: 179.8 kB / 0.9827 GB, free: 11.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.109e-05/0.3253, allocations: 15.98 kB / 0.9827 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005999/0.3259, allocations: 151.3 kB / 0.9829 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004786/0.3264, allocations: 135.8 kB / 0.983 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0035/0.3299, allocations: 4.834 MB / 0.9877 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009955/0.331, allocations: 119.2 kB / 0.9879 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.766e-05/0.331, allocations: 31.98 kB / 0.9879 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.331, allocations: 4 kB / 0.9879 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00125/0.3323, allocations: 0.7134 MB / 0.9886 GB, free: 4.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.3323, allocations: 4 kB / 0.9886 GB, free: 4.676 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003042/0.3326, allocations: 127.6 kB / 0.9887 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004534/0.3331, allocations: 139.8 kB / 0.9888 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0042/0.3373, allocations: 5.845 MB / 0.9946 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3384, allocations: 111.3 kB / 0.9947 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.049e-05/0.3385, allocations: 28 kB / 0.9947 GB, free: 13.87 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007078/0.3392, allocations: 376.9 kB / 0.995 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001632/0.3393, allocations: 98.78 kB / 0.9951 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001289/0.3406, allocations: 0.7068 MB / 0.9958 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.3407, allocations: 16 kB / 0.9958 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3407, allocations: 0 / 0.9958 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009112/0.3416, allocations: 0.6455 MB / 0.9965 GB, free: 11.98 MB / 0.6511 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.002729/0.3443, allocations: 1.804 MB / 0.9982 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/0.3444, allocations: 128 / 0.9982 GB, free: 10.07 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003829/0.3448, allocations: 95.89 kB / 0.9983 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000309/0.3451, allocations: 123.3 kB / 0.9984 GB, free: 9.848 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/0.3451, allocations: 15.98 kB / 0.9985 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003287/0.3484, allocations: 4.834 MB / 1.003 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3484, allocations: 4.031 kB / 1.003 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.3501, allocations: 1.018 MB / 1.004 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.3505, allocations: 275.6 kB / 1.004 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.757e-05/0.3507, allocations: 12 kB / 1.004 GB, free: 3.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006172/0.3513, allocations: 63.88 kB / 1.005 GB, free: 3.148 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.999e-05/0.3514, allocations: 48.38 kB / 1.005 GB, free: 3.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.804e-05/0.3514, allocations: 19.98 kB / 1.005 GB, free: 3.082 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008636/0.3523, allocations: 0.5981 MB / 1.005 GB, free: 2.473 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3523, allocations: 4 kB / 1.005 GB, free: 2.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002511/0.3548, allocations: 0.7171 MB / 1.006 GB, free: 1.75 MB / 0.6511 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001195/0.356, allocations: 461.2 kB / 1.006 GB, free: 1.305 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002564/0.3586, allocations: 1.776 MB / 1.008 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3586, allocations: 0 / 1.008 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006987/0.3593, allocations: 0.617 MB / 1.009 GB, free: 14.77 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002853/0.3622, allocations: 0.5383 MB / 1.009 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/0.3658, allocations: 2.546 MB / 1.012 GB, free: 11.65 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.3665, allocations: 1.085 MB / 1.013 GB, free: 10.54 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002298/0.3667, allocations: 83.42 kB / 1.013 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of SimCode: time 1.623e-06/0.3667, allocations: 0 / 1.013 GB, free: 10.45 MB / 0.6667 GB Notification: Performance of Templates: time 0.04689/0.4136, allocations: 39.89 MB / 1.052 GB, free: 2.645 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.makefile (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)