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.389/1.389, allocations: 252 MB / 267.6 MB, free: 10.94 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.0009624/0.0009627, allocations: 182.9 kB / 327.3 MB, free: 2.215 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.85/1.85, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0009255/0.0009253, allocations: 91.59 kB / 0.6829 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003357, allocations: 9.25 kB / 0.797 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.22, allocations: 106.4 MB / 0.9008 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.02628/0.2463, allocations: 37.33 MB / 0.9373 GB, free: 26.8 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.2594, allocations: 11.51 MB / 0.9485 GB, free: 15.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00199/0.2615, allocations: 47.69 kB / 0.9486 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001481/0.263, allocations: 496.9 kB / 0.9491 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004788/0.2678, allocations: 1.632 MB / 0.9507 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.003036/0.2708, allocations: 1.038 MB / 0.9517 GB, free: 12.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003993/0.2748, allocations: 3.928 MB / 0.9555 GB, free: 8.137 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001175/0.276, allocations: 0.8563 MB / 0.9563 GB, free: 7.254 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00184/0.2779, allocations: 1.031 MB / 0.9574 GB, free: 6.219 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009841/0.2789, allocations: 0.8906 MB / 0.9582 GB, free: 5.324 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.279, allocations: 56 kB / 0.9583 GB, free: 5.27 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002412/0.2814, allocations: 1.209 MB / 0.9595 GB, free: 4.059 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001921/0.2816, allocations: 231 kB / 0.9597 GB, free: 3.832 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0003044/0.2819, allocations: 297 kB / 0.96 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001769/0.2837, allocations: 1.906 MB / 0.9618 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2837, allocations: 0 / 0.9618 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2837, allocations: 0 / 0.9618 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 2.077e-05/0.2838, allocations: 4 kB / 0.9618 GB, free: 1.621 MB / 0.6042 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.002097/0.2859, allocations: 1.498 MB / 0.9633 GB, free: 72 kB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2859, allocations: 8.031 kB / 0.9633 GB, free: 64 kB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003386/0.2862, allocations: 154.3 kB / 0.9634 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.288, allocations: 1.097 MB / 0.9645 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.528e-05/0.2881, allocations: 66 kB / 0.9646 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.2882, allocations: 95.94 kB / 0.9647 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001496/0.2897, allocations: 0.905 MB / 0.9656 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.372e-05/0.2897, allocations: 0 / 0.9656 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/0.2898, allocations: 32 kB / 0.9656 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.765e-05/0.2899, allocations: 32 kB / 0.9656 GB, free: 13.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001099/0.291, allocations: 0.6363 MB / 0.9662 GB, free: 12.97 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.004953/0.2959, allocations: 4.281 MB / 0.9704 GB, free: 8.406 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008746/0.2968, allocations: 0.4934 MB / 0.9709 GB, free: 7.902 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004894/0.2973, allocations: 316.1 kB / 0.9712 GB, free: 7.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.298, allocations: 0.6066 MB / 0.9718 GB, free: 6.852 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.592e-05/0.298, allocations: 39.08 kB / 0.9718 GB, free: 6.805 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.146e-06/0.298, allocations: 3.938 kB / 0.9718 GB, free: 6.801 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.002442/0.3005, allocations: 1.208 MB / 0.973 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.915e-05/0.3005, allocations: 63.97 kB / 0.9731 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001081/0.3016, allocations: 0.8636 MB / 0.9739 GB, free: 4.539 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/0.3017, allocations: 37.7 kB / 0.974 GB, free: 4.496 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004435/0.3021, allocations: 0.519 MB / 0.9745 GB, free: 3.969 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.3024, allocations: 201.1 kB / 0.9746 GB, free: 3.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.923e-05/0.3024, allocations: 12 kB / 0.9747 GB, free: 3.758 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3025, allocations: 337.9 kB / 0.975 GB, free: 3.422 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003739/0.3029, allocations: 201.9 kB / 0.9752 GB, free: 3.223 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.3035, allocations: 410.2 kB / 0.9756 GB, free: 2.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004397/0.3039, allocations: 267.1 kB / 0.9758 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3039, allocations: 0 / 0.9758 GB, free: 2.492 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001537/0.3055, allocations: 0.8389 MB / 0.9766 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001356/0.3056, allocations: 196 kB / 0.9768 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.3056, allocations: 11.88 kB / 0.9768 GB, free: 1.379 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006046/0.3063, allocations: 159.3 kB / 0.977 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005107/0.3068, allocations: 135.8 kB / 0.9771 GB, free: 1.078 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0038/0.3106, allocations: 4.826 MB / 0.9818 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/0.3116, allocations: 111.3 kB / 0.9819 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.3117, allocations: 39.98 kB / 0.982 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.168e-06/0.3117, allocations: 4 kB / 0.982 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001257/0.313, allocations: 0.7017 MB / 0.9827 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.313, allocations: 8 kB / 0.9827 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003067/0.3133, allocations: 131.5 kB / 0.9828 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004611/0.3138, allocations: 140.2 kB / 0.9829 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004513/0.3183, allocations: 5.826 MB / 0.9886 GB, free: 4.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000979/0.3193, allocations: 111.4 kB / 0.9887 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.985e-05/0.3194, allocations: 32 kB / 0.9888 GB, free: 4.156 MB / 0.6355 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.0006283/0.32, allocations: 368.9 kB / 0.9891 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3202, allocations: 98.78 kB / 0.9892 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.3215, allocations: 0.7012 MB / 0.9899 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.849e-06/0.3215, allocations: 4 kB / 0.9899 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3215, allocations: 0 / 0.9899 GB, free: 2.977 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009333/0.3225, allocations: 0.661 MB / 0.9905 GB, free: 2.27 MB / 0.6355 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.00271/0.3252, allocations: 1.796 MB / 0.9923 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.784e-06/0.3252, allocations: 4 kB / 0.9923 GB, free: 380 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003779/0.3256, allocations: 83.89 kB / 0.9924 GB, free: 296 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003038/0.3259, allocations: 123.5 kB / 0.9925 GB, free: 160 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.77e-05/0.3259, allocations: 15.98 kB / 0.9925 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/0.3294, allocations: 4.827 MB / 0.9972 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.3294, allocations: 3.938 kB / 0.9972 GB, free: 10.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.331, allocations: 1.015 MB / 0.9982 GB, free: 9.832 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004462/0.3315, allocations: 271.6 kB / 0.9985 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.3316, allocations: 12 kB / 0.9985 GB, free: 9.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006176/0.3322, allocations: 65.84 kB / 0.9986 GB, free: 9.473 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.556e-05/0.3323, allocations: 48.44 kB / 0.9986 GB, free: 9.426 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.3324, allocations: 23.98 kB / 0.9986 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008525/0.3332, allocations: 0.5864 MB / 0.9992 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.392e-06/0.3332, allocations: 3.938 kB / 0.9992 GB, free: 8.801 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002279/0.3355, allocations: 0.7171 MB / 0.9999 GB, free: 8.082 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 (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.0008851/0.3364, allocations: 436.5 kB / 1 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002487/0.3389, allocations: 1.777 MB / 1.002 GB, free: 5.785 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3389, allocations: 4.062 kB / 1.002 GB, free: 5.781 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007082/0.3396, allocations: 0.6007 MB / 1.003 GB, free: 5.137 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002567/0.3422, allocations: 0.5539 MB / 1.003 GB, free: 4.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003538/0.3458, allocations: 2.489 MB / 1.006 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006985/0.3465, allocations: 1.089 MB / 1.007 GB, free: 0.9414 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.3467, allocations: 83.41 kB / 1.007 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/0.3467, allocations: 0 / 1.007 GB, free: 0.8594 MB / 0.6511 GB Notification: Performance of Templates: time 0.05039/0.3971, allocations: 39.89 MB / 1.046 GB, free: 9.055 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)