Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.21/2.21, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002421/0.002422, allocations: 175 kB / 325.6 MB, free: 2.836 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.46/2.46, allocations: 205.4 MB / 0.5766 GB, free: 21.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001204/0.001204, allocations: 96.17 kB / 0.6811 GB, free: 14.03 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004726/0.0004728, allocations: 18.23 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2087, allocations: 106.3 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04453/0.2533, allocations: 33.9 MB / 0.932 GB, free: 31.96 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.2723, allocations: 10.6 MB / 0.9424 GB, free: 21.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002216/0.2746, allocations: 43.69 kB / 0.9424 GB, free: 21.3 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003041/0.2777, allocations: 0.6296 MB / 0.943 GB, free: 20.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.007889/0.2856, allocations: 1.949 MB / 0.9449 GB, free: 18.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.005896/0.2916, allocations: 1.414 MB / 0.9463 GB, free: 17.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004692/0.2963, allocations: 2.071 MB / 0.9483 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001803/0.2981, allocations: 0.8682 MB / 0.9492 GB, free: 14.36 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002758/0.3009, allocations: 0.9303 MB / 0.9501 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001615/0.3026, allocations: 0.6417 MB / 0.9507 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002683/0.3029, allocations: 48 kB / 0.9507 GB, free: 12.74 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003757/0.3067, allocations: 1.108 MB / 0.9518 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000477/0.3072, allocations: 223.1 kB / 0.952 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0005726/0.3078, allocations: 297 kB / 0.9523 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.003725/0.3115, allocations: 1.843 MB / 0.9541 GB, free: 9.266 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.3116, allocations: 4 kB / 0.9541 GB, free: 9.262 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.497e-06/0.3116, allocations: 4 kB / 0.9541 GB, free: 9.258 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.291e-05/0.3117, allocations: 0 / 0.9541 GB, free: 9.258 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.003662/0.3153, allocations: 1.476 MB / 0.9556 GB, free: 7.727 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.3154, allocations: 8.031 kB / 0.9556 GB, free: 7.719 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005911/0.316, allocations: 162.1 kB / 0.9557 GB, free: 7.559 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.3186, allocations: 1.033 MB / 0.9567 GB, free: 6.484 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.505e-05/0.3187, allocations: 74 kB / 0.9568 GB, free: 6.41 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001904/0.3189, allocations: 95.86 kB / 0.9569 GB, free: 6.316 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001997/0.3209, allocations: 0.8777 MB / 0.9578 GB, free: 5.406 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.264e-05/0.321, allocations: 8 kB / 0.9578 GB, free: 5.398 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001113/0.3211, allocations: 36 kB / 0.9578 GB, free: 5.363 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-05/0.3211, allocations: 23.94 kB / 0.9578 GB, free: 5.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.3228, allocations: 0.6363 MB / 0.9584 GB, free: 4.699 MB / 0.6042 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.00659/0.3294, allocations: 4.312 MB / 0.9627 GB, free: 104 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/0.331, allocations: 0.5048 MB / 0.9632 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000918/0.3319, allocations: 0.6065 MB / 0.9637 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.332, allocations: 39.12 kB / 0.9638 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=57): time 3.697e-06/0.332, allocations: 0 / 0.9638 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=57): time 0.004243/0.3362, allocations: 1.23 MB / 0.965 GB, free: 13.49 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.528e-05/0.3363, allocations: 63.91 kB / 0.965 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.3383, allocations: 0.9182 MB / 0.9659 GB, free: 12.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.3385, allocations: 37.7 kB / 0.966 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000608/0.3391, allocations: 0.5074 MB / 0.9665 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003113/0.3395, allocations: 213 kB / 0.9667 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-05/0.3395, allocations: 12 kB / 0.9667 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001543/0.3397, allocations: 337.9 kB / 0.967 GB, free: 11.35 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005896/0.3403, allocations: 205.8 kB / 0.9672 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/0.3411, allocations: 398.1 kB / 0.9676 GB, free: 10.69 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000742/0.3419, allocations: 271.1 kB / 0.9678 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.3419, allocations: 4 kB / 0.9678 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002746/0.3446, allocations: 0.8467 MB / 0.9687 GB, free: 9.559 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005919/0.3453, allocations: 1.318 MB / 0.97 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/0.3453, allocations: 4 kB / 0.97 GB, free: 8.133 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001023/0.3463, allocations: 159.3 kB / 0.9701 GB, free: 7.965 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009956/0.3474, allocations: 135.8 kB / 0.9702 GB, free: 7.832 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005473/0.3529, allocations: 4.978 MB / 0.9751 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.3546, allocations: 127.3 kB / 0.9752 GB, free: 2.301 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.3547, allocations: 32 kB / 0.9753 GB, free: 2.27 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3547, allocations: 4 kB / 0.9753 GB, free: 2.266 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002128/0.3569, allocations: 0.7134 MB / 0.976 GB, free: 1.539 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.41e-05/0.3569, allocations: 4 kB / 0.976 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005431/0.3575, allocations: 135.8 kB / 0.9761 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009806/0.3585, allocations: 139.8 kB / 0.9762 GB, free: 1.254 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006695/0.3652, allocations: 5.994 MB / 0.9821 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001587/0.3668, allocations: 107.4 kB / 0.9822 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.367, allocations: 28 kB / 0.9822 GB, free: 10.57 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 (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.0008484/0.3678, allocations: 376.8 kB / 0.9826 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003046/0.3681, allocations: 102.8 kB / 0.9827 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002138/0.3703, allocations: 0.709 MB / 0.9834 GB, free: 9.371 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.25e-05/0.3703, allocations: 11.94 kB / 0.9834 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.3704, allocations: 3.828 kB / 0.9834 GB, free: 9.359 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00161/0.372, allocations: 0.6417 MB / 0.984 GB, free: 8.676 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.004766/0.3768, allocations: 1.835 MB / 0.9858 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.3768, allocations: 3.938 kB / 0.9858 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007344/0.3776, allocations: 83.89 kB / 0.9859 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005552/0.3782, allocations: 127.4 kB / 0.986 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.3782, allocations: 12 kB / 0.986 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005324/0.3836, allocations: 4.979 MB / 0.9909 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3836, allocations: 8.156 kB / 0.9909 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002783/0.3864, allocations: 1.077 MB / 0.9919 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000837/0.3873, allocations: 275.7 kB / 0.9922 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001879/0.3875, allocations: 12 kB / 0.9922 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.3887, allocations: 71.78 kB / 0.9923 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/0.3888, allocations: 48.34 kB / 0.9923 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.613e-05/0.3889, allocations: 23.98 kB / 0.9923 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001465/0.3904, allocations: 0.6254 MB / 0.993 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.32e-07/0.3904, allocations: 0 / 0.993 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003709/0.3941, allocations: 0.7211 MB / 0.9937 GB, free: 14.15 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 (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.00155/0.3958, allocations: 473.5 kB / 0.9941 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003986/0.3998, allocations: 1.784 MB / 0.9959 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3998, allocations: 4.188 kB / 0.9959 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001228/0.4011, allocations: 0.6085 MB / 0.9964 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004698/0.4058, allocations: 0.5355 MB / 0.997 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00555/0.4114, allocations: 2.446 MB / 0.9994 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/0.4124, allocations: 1.116 MB / 1 GB, free: 6.996 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001525/0.414, allocations: 219.9 kB / 1.001 GB, free: 6.789 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003157/0.4143, allocations: 79.42 kB / 1.001 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of SimCode: time 1.202e-06/0.4143, allocations: 0 / 1.001 GB, free: 6.711 MB / 0.6511 GB Notification: Performance of Templates: time 0.06641/0.4807, allocations: 23.76 MB / 1.024 GB, free: 15.2 MB / 0.6823 GB