Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.542/2.542, allocations: 287.9 MB / 302.9 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 187.4 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.939/1.939, allocations: 205.4 MB / 0.6301 GB, free: 10.28 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 93.05 kB / 0.7434 GB, free: 6.289 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004691, allocations: 12.5 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1577, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.03749/0.1953, allocations: 33.9 MB / 1.012 GB, free: 10.15 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01977/0.2151, allocations: 10.61 MB / 1.022 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002066/0.2172, allocations: 43.69 kB / 1.022 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002541/0.2198, allocations: 0.6219 MB / 1.023 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.007464/0.2273, allocations: 1.958 MB / 1.025 GB, free: 12.9 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005837/0.2331, allocations: 1.487 MB / 1.026 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004478/0.2376, allocations: 2.073 MB / 1.028 GB, free: 9.367 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001687/0.2393, allocations: 0.8685 MB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.2415, allocations: 0.938 MB / 1.03 GB, free: 7.539 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001179/0.2427, allocations: 0.6456 MB / 1.031 GB, free: 6.891 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001934/0.2429, allocations: 52 kB / 1.031 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003167/0.2461, allocations: 1.1 MB / 1.032 GB, free: 5.738 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003843/0.2465, allocations: 219.1 kB / 1.032 GB, free: 5.523 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0005581/0.2471, allocations: 301 kB / 1.032 GB, free: 5.223 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.2506, allocations: 1.87 MB / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.2506, allocations: 0 / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.664e-06/0.2506, allocations: 0 / 1.034 GB, free: 3.348 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.323e-05/0.2506, allocations: 8 kB / 1.034 GB, free: 3.34 MB / 0.6511 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.003252/0.2539, allocations: 1.48 MB / 1.036 GB, free: 1.805 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.254, allocations: 8.031 kB / 1.036 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005531/0.2545, allocations: 150.3 kB / 1.036 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002442/0.257, allocations: 1.041 MB / 1.037 GB, free: 0.5664 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.987e-05/0.2571, allocations: 66 kB / 1.037 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/0.2573, allocations: 95.95 kB / 1.037 GB, free: 416 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.2594, allocations: 0.8934 MB / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/0.2595, allocations: 0 / 1.038 GB, free: 15.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00011/0.2596, allocations: 36 kB / 1.038 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.036e-05/0.2597, allocations: 28 kB / 1.038 GB, free: 15.41 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.2613, allocations: 0.6402 MB / 1.038 GB, free: 14.77 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.007362/0.2687, allocations: 4.328 MB / 1.043 GB, free: 10.16 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.27, allocations: 0.5087 MB / 1.043 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008171/0.2708, allocations: 0.6018 MB / 1.044 GB, free: 8.91 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.93e-05/0.2709, allocations: 35.12 kB / 1.044 GB, free: 8.867 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 4.241e-06/0.2709, allocations: 3.938 kB / 1.044 GB, free: 8.863 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.003403/0.2744, allocations: 1.238 MB / 1.045 GB, free: 7.535 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.942e-05/0.2744, allocations: 59.97 kB / 1.045 GB, free: 7.465 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001761/0.2762, allocations: 0.9065 MB / 1.046 GB, free: 6.535 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.2764, allocations: 41.7 kB / 1.046 GB, free: 6.488 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005722/0.2769, allocations: 0.5191 MB / 1.046 GB, free: 5.961 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002811/0.2772, allocations: 197.1 kB / 1.047 GB, free: 5.766 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.568e-05/0.2773, allocations: 16 kB / 1.047 GB, free: 5.75 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.2775, allocations: 337.9 kB / 1.047 GB, free: 5.414 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.278, allocations: 202 kB / 1.047 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.2788, allocations: 407.4 kB / 1.048 GB, free: 4.746 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006575/0.2795, allocations: 271.1 kB / 1.048 GB, free: 4.484 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.943e-06/0.2795, allocations: 4 kB / 1.048 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002345/0.2818, allocations: 0.8467 MB / 1.049 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007063/0.2826, allocations: 1.314 MB / 1.05 GB, free: 2.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.542e-05/0.2826, allocations: 4 kB / 1.05 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000807/0.2834, allocations: 159.3 kB / 1.05 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006549/0.2841, allocations: 139.8 kB / 1.05 GB, free: 1.887 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005418/0.2895, allocations: 4.977 MB / 1.055 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.2908, allocations: 123.2 kB / 1.055 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.2909, allocations: 32.05 kB / 1.055 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.2909, allocations: 4 kB / 1.055 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0018/0.2928, allocations: 0.7172 MB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.2928, allocations: 7.984 kB / 1.056 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004563/0.2933, allocations: 131.8 kB / 1.056 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.2939, allocations: 139.8 kB / 1.056 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006796/0.3007, allocations: 5.994 MB / 1.062 GB, free: 4.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/0.3022, allocations: 109.5 kB / 1.062 GB, free: 4.664 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/0.3024, allocations: 35.98 kB / 1.062 GB, free: 4.629 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 (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.0007866/0.3032, allocations: 372.9 kB / 1.063 GB, free: 4.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.3035, allocations: 110.7 kB / 1.063 GB, free: 4.145 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.3053, allocations: 0.6877 MB / 1.063 GB, free: 3.445 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.647e-05/0.3053, allocations: 12 kB / 1.063 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.388e-06/0.3053, allocations: 0 / 1.063 GB, free: 3.434 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001386/0.3067, allocations: 0.6494 MB / 1.064 GB, free: 2.742 MB / 0.6823 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.004079/0.3108, allocations: 1.846 MB / 1.066 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.84e-05/0.3109, allocations: 0 / 1.066 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000505/0.3114, allocations: 92.02 kB / 1.066 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004716/0.3119, allocations: 127.3 kB / 1.066 GB, free: 0.5742 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.909e-05/0.312, allocations: 15.94 kB / 1.066 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5176/0.8296, allocations: 4.972 MB / 1.071 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-06/0.8297, allocations: 5.094 kB / 1.071 GB, free: 82.23 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002321/0.832, allocations: 1.073 MB / 1.072 GB, free: 81.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006306/0.8326, allocations: 285 kB / 1.072 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001494/0.8328, allocations: 15.69 kB / 1.072 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008109/0.8336, allocations: 63.02 kB / 1.072 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/0.8338, allocations: 39.83 kB / 1.072 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.256e-05/0.8339, allocations: 23.28 kB / 1.072 GB, free: 81.88 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001189/0.8351, allocations: 0.6271 MB / 1.073 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.82e-07/0.8351, allocations: 3.906 kB / 1.073 GB, free: 81.76 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003214/0.8383, allocations: 0.7253 MB / 1.074 GB, free: 81.7 MB / 0.6823 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.001183/0.8395, allocations: 458.9 kB / 1.074 GB, free: 81.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003264/0.8428, allocations: 1.794 MB / 1.076 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.757e-06/0.8428, allocations: 1.031 kB / 1.076 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001049/0.8439, allocations: 0.6163 MB / 1.076 GB, free: 79.99 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.8471, allocations: 0.5349 MB / 1.077 GB, free: 79.89 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004483/0.8517, allocations: 2.459 MB / 1.079 GB, free: 78.56 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008959/0.8526, allocations: 1.113 MB / 1.08 GB, free: 77.83 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001463/0.8541, allocations: 226 kB / 1.081 GB, free: 77.78 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002785/0.8544, allocations: 81.73 kB / 1.081 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of SimCode: time 1.67e-06/0.8544, allocations: 0 / 1.081 GB, free: 77.77 MB / 0.6823 GB Notification: Performance of Templates: time 0.05756/0.912, allocations: 23.88 MB / 1.104 GB, free: 70.19 MB / 0.6823 GB