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.344/1.344, allocations: 251.5 MB / 267.4 MB, free: 11.06 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.001053/0.001053, allocations: 180.5 kB / 326.5 MB, free: 2.684 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.915/1.915, allocations: 205 MB / 0.5766 GB, free: 21.06 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.001117/0.001117, allocations: 85.31 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003498/0.0003499, allocations: 10.38 kB / 0.7938 GB, free: 136.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2389, allocations: 105.4 MB / 0.8967 GB, free: 68.2 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.0305/0.2695, allocations: 39.99 MB / 0.9358 GB, free: 28.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01422/0.2838, allocations: 12.44 MB / 0.9479 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.2864, allocations: 51.69 kB / 0.948 GB, free: 15.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001793/0.2882, allocations: 0.5633 MB / 0.9485 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005175/0.2934, allocations: 1.892 MB / 0.9504 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.2963, allocations: 1.258 MB / 0.9516 GB, free: 11.83 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.3002, allocations: 4.558 MB / 0.9561 GB, free: 7.262 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001045/0.3013, allocations: 0.9495 MB / 0.957 GB, free: 6.277 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001653/0.3029, allocations: 1.081 MB / 0.9581 GB, free: 5.191 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008937/0.3039, allocations: 0.9487 MB / 0.959 GB, free: 4.238 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.304, allocations: 48 kB / 0.959 GB, free: 4.191 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002559/0.3065, allocations: 1.493 MB / 0.9605 GB, free: 2.695 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001927/0.3067, allocations: 246.9 kB / 0.9607 GB, free: 2.453 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005388/0.3073, allocations: 0.6451 MB / 0.9614 GB, free: 1.805 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001758/0.3091, allocations: 1.975 MB / 0.9633 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3091, allocations: 0 / 0.9633 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.084e-06/0.3091, allocations: 0 / 0.9633 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.3091, allocations: 0 / 0.9633 GB, free: 15.82 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.002456/0.3116, allocations: 1.483 MB / 0.9647 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3116, allocations: 8.031 kB / 0.9647 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003681/0.312, allocations: 155.2 kB / 0.9649 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001674/0.3137, allocations: 1.131 MB / 0.966 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.638e-05/0.3137, allocations: 73.94 kB / 0.9661 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.3139, allocations: 92 kB / 0.9661 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.3153, allocations: 0.9012 MB / 0.967 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.652e-05/0.3153, allocations: 0 / 0.967 GB, free: 11.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.007e-05/0.3154, allocations: 36 kB / 0.9671 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/0.3155, allocations: 24 kB / 0.9671 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.3165, allocations: 0.6441 MB / 0.9677 GB, free: 11.15 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.004901/0.3214, allocations: 4.281 MB / 0.9719 GB, free: 6.578 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009129/0.3224, allocations: 0.4973 MB / 0.9724 GB, free: 6.066 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005/0.3229, allocations: 314.9 kB / 0.9727 GB, free: 5.758 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006948/0.3236, allocations: 0.6018 MB / 0.9733 GB, free: 5.027 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.875e-05/0.3236, allocations: 35.12 kB / 0.9733 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 4.058e-06/0.3236, allocations: 112 / 0.9733 GB, free: 4.984 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.002461/0.3261, allocations: 1.236 MB / 0.9745 GB, free: 3.652 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.3262, allocations: 59.91 kB / 0.9746 GB, free: 3.582 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/0.3273, allocations: 0.8831 MB / 0.9754 GB, free: 2.676 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.091e-05/0.3273, allocations: 37.7 kB / 0.9755 GB, free: 2.633 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000414/0.3278, allocations: 0.5151 MB / 0.976 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001709/0.3279, allocations: 201 kB / 0.9762 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001048/0.328, allocations: 73.67 kB / 0.9762 GB, free: 1.832 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.3282, allocations: 334 kB / 0.9765 GB, free: 1.5 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003277/0.3285, allocations: 205.9 kB / 0.9767 GB, free: 1.297 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000491/0.329, allocations: 410.1 kB / 0.9771 GB, free: 0.8242 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007989/0.3298, allocations: 0.5682 MB / 0.9777 GB, free: 220 kB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.3298, allocations: 0 / 0.9777 GB, free: 220 kB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001634/0.3315, allocations: 0.8585 MB / 0.9785 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.3316, allocations: 183.9 kB / 0.9787 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3316, allocations: 12 kB / 0.9787 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005853/0.3322, allocations: 151.3 kB / 0.9789 GB, free: 14.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004577/0.3327, allocations: 135.8 kB / 0.979 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003653/0.3364, allocations: 4.837 MB / 0.9837 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009691/0.3373, allocations: 115.3 kB / 0.9838 GB, free: 9.418 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.534e-05/0.3374, allocations: 31.98 kB / 0.9839 GB, free: 9.387 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 7.875e-06/0.3374, allocations: 4 kB / 0.9839 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001249/0.3387, allocations: 0.7134 MB / 0.9846 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.3387, allocations: 4.062 kB / 0.9846 GB, free: 8.652 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003018/0.339, allocations: 135.6 kB / 0.9847 GB, free: 8.508 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004725/0.3395, allocations: 135.8 kB / 0.9848 GB, free: 8.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004448/0.344, allocations: 5.841 MB / 0.9905 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009312/0.3449, allocations: 109.4 kB / 0.9906 GB, free: 1.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.377e-05/0.345, allocations: 32 kB / 0.9907 GB, free: 1.852 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 (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.0006621/0.3457, allocations: 372.9 kB / 0.991 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.3459, allocations: 102.8 kB / 0.9911 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001251/0.3471, allocations: 0.7086 MB / 0.9918 GB, free: 0.6562 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.3472, allocations: 7.938 kB / 0.9918 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.739e-06/0.3472, allocations: 4 kB / 0.9918 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009469/0.3482, allocations: 0.6455 MB / 0.9924 GB, free: 15.95 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.002642/0.3508, allocations: 1.811 MB / 0.9942 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.253e-06/0.3508, allocations: 4 kB / 0.9942 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003943/0.3512, allocations: 83.89 kB / 0.9943 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000302/0.3515, allocations: 123.3 kB / 0.9944 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.816e-05/0.3516, allocations: 15.98 kB / 0.9944 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00341/0.355, allocations: 4.83 MB / 0.9991 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.355, allocations: 0 / 0.9991 GB, free: 8.559 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.3566, allocations: 1.03 MB / 1 GB, free: 7.488 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004321/0.3571, allocations: 251.7 kB / 1 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/0.3572, allocations: 12 kB / 1 GB, free: 7.211 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005748/0.3578, allocations: 69.05 kB / 1 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.869e-05/0.3578, allocations: 40.44 kB / 1.001 GB, free: 7.102 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.03e-05/0.3579, allocations: 23.98 kB / 1.001 GB, free: 7.078 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0008221/0.3587, allocations: 0.6059 MB / 1.001 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3587, allocations: 0 / 1.001 GB, free: 6.461 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002309/0.361, allocations: 0.7171 MB / 1.002 GB, free: 5.742 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.001036/0.3621, allocations: 456.9 kB / 1.002 GB, free: 5.301 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00261/0.3647, allocations: 1.78 MB / 1.004 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.3647, allocations: 3.938 kB / 1.004 GB, free: 3.422 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007196/0.3654, allocations: 0.6135 MB / 1.005 GB, free: 2.766 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002582/0.368, allocations: 0.5247 MB / 1.005 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/0.3716, allocations: 2.456 MB / 1.008 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.3723, allocations: 1.093 MB / 1.009 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000207/0.3725, allocations: 83.36 kB / 1.009 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of SimCode: time 1.062e-06/0.3726, allocations: 0 / 1.009 GB, free: 14.54 MB / 0.6667 GB Notification: Performance of Templates: time 0.04621/0.4188, allocations: 39.89 MB / 1.048 GB, free: 6.738 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)