Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009059/0.009063, allocations: 109.5 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001142/0.001142, allocations: 180.2 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.951/1.951, allocations: 194.5 MB / 211.3 MB, free: 10.94 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.141/2.141, allocations: 236.2 MB / 492.6 MB, free: 11.26 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004707/0.0004708, allocations: 19.92 kB / 0.587 GB, free: 2.098 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5364/0.5369, allocations: 98.71 MB / 0.6833 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.04601/0.583, allocations: 33.54 MB / 0.7161 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.02144/0.6045, allocations: 10.58 MB / 0.7264 GB, free: 15.91 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.607, allocations: 44.94 kB / 0.7265 GB, free: 15.89 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002744/0.6098, allocations: 0.6241 MB / 0.7271 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008181/0.618, allocations: 1.95 MB / 0.729 GB, free: 13.72 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005835/0.6239, allocations: 1.348 MB / 0.7303 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00505/0.6289, allocations: 2.095 MB / 0.7324 GB, free: 11.41 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001919/0.6309, allocations: 0.8601 MB / 0.7332 GB, free: 10.86 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.6337, allocations: 0.9376 MB / 0.7341 GB, free: 10.26 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.6355, allocations: 0.6494 MB / 0.7347 GB, free: 9.609 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002621/0.6358, allocations: 52 kB / 0.7348 GB, free: 9.559 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003766/0.6396, allocations: 1.1 MB / 0.7359 GB, free: 8.457 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004461/0.6401, allocations: 219.1 kB / 0.7361 GB, free: 8.242 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0006178/0.6407, allocations: 301 kB / 0.7364 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.003759/0.6445, allocations: 1.836 MB / 0.7382 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.801e-06/0.6446, allocations: 0 / 0.7382 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.248e-06/0.6446, allocations: 4 kB / 0.7382 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.803e-05/0.6446, allocations: 0 / 0.7382 GB, free: 6.094 MB / 0.5573 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.003445/0.6481, allocations: 1.487 MB / 0.7396 GB, free: 4.551 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.167e-05/0.6481, allocations: 8.031 kB / 0.7396 GB, free: 4.543 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005614/0.6487, allocations: 150.3 kB / 0.7398 GB, free: 4.395 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002463/0.6512, allocations: 1.045 MB / 0.7408 GB, free: 3.309 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.49e-05/0.6513, allocations: 66 kB / 0.7409 GB, free: 3.242 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001961/0.6515, allocations: 88 kB / 0.7409 GB, free: 3.156 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.6536, allocations: 0.8855 MB / 0.7418 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.417e-05/0.6536, allocations: 0 / 0.7418 GB, free: 2.238 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.6537, allocations: 36 kB / 0.7418 GB, free: 2.203 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.818e-05/0.6538, allocations: 20 kB / 0.7419 GB, free: 2.184 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.6554, allocations: 0.6441 MB / 0.7425 GB, free: 1.539 MB / 0.5573 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.007394/0.6628, allocations: 4.289 MB / 0.7467 GB, free: 12.96 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001384/0.6643, allocations: 0.4985 MB / 0.7472 GB, free: 12.46 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007957/0.6651, allocations: 0.6096 MB / 0.7478 GB, free: 11.72 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/0.6651, allocations: 39.12 kB / 0.7478 GB, free: 11.68 MB / 0.573 GB Notification: Performance of pre-optimization done (n=55): time 4.077e-06/0.6652, allocations: 0.5625 kB / 0.7478 GB, free: 11.68 MB / 0.573 GB Notification: Performance of matching and sorting (n=55): time 0.003407/0.6686, allocations: 1.206 MB / 0.749 GB, free: 10.38 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.816e-05/0.6687, allocations: 59.97 kB / 0.749 GB, free: 10.3 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001763/0.6704, allocations: 0.9147 MB / 0.7499 GB, free: 9.367 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.6706, allocations: 37.7 kB / 0.75 GB, free: 9.324 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/0.6712, allocations: 0.5268 MB / 0.7505 GB, free: 8.789 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/0.6714, allocations: 201.1 kB / 0.7507 GB, free: 8.59 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/0.6715, allocations: 20 kB / 0.7507 GB, free: 8.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001746/0.6717, allocations: 337.8 kB / 0.751 GB, free: 8.234 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005034/0.6722, allocations: 202 kB / 0.7512 GB, free: 8.039 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007256/0.6729, allocations: 402.2 kB / 0.7516 GB, free: 7.574 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006436/0.6736, allocations: 267.1 kB / 0.7518 GB, free: 7.312 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.049e-06/0.6736, allocations: 0 / 0.7518 GB, free: 7.312 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002365/0.676, allocations: 0.8428 MB / 0.7527 GB, free: 6.449 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007165/0.6767, allocations: 1.319 MB / 0.7539 GB, free: 5.031 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.6768, allocations: 4 kB / 0.7539 GB, free: 5.027 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008276/0.6776, allocations: 163.3 kB / 0.7541 GB, free: 4.855 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.6784, allocations: 139.8 kB / 0.7542 GB, free: 4.719 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005416/0.6838, allocations: 4.974 MB / 0.7591 GB, free: 15.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001233/0.6851, allocations: 123.2 kB / 0.7592 GB, free: 15.19 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.676e-05/0.6852, allocations: 35.97 kB / 0.7592 GB, free: 15.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.6852, allocations: 4 kB / 0.7593 GB, free: 15.15 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001889/0.6871, allocations: 0.7095 MB / 0.7599 GB, free: 14.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.6872, allocations: 8 kB / 0.76 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004698/0.6876, allocations: 123.4 kB / 0.7601 GB, free: 14.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006405/0.6883, allocations: 140.1 kB / 0.7602 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.695, allocations: 5.99 MB / 0.7661 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001169/0.6962, allocations: 119.3 kB / 0.7662 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.73e-05/0.6964, allocations: 24 kB / 0.7662 GB, free: 7.473 MB / 0.5886 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.0007605/0.6971, allocations: 376.8 kB / 0.7665 GB, free: 7.094 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002688/0.6974, allocations: 102.8 kB / 0.7666 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.6992, allocations: 0.6877 MB / 0.7673 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.007e-05/0.6993, allocations: 12 kB / 0.7673 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/0.6993, allocations: 0 / 0.7673 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00146/0.7008, allocations: 0.6416 MB / 0.768 GB, free: 5.594 MB / 0.5886 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.004352/0.7052, allocations: 1.763 MB / 0.7697 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.7052, allocations: 0 / 0.7697 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/0.7057, allocations: 83.89 kB / 0.7698 GB, free: 3.656 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005062/0.7063, allocations: 135.3 kB / 0.7699 GB, free: 3.512 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.282e-05/0.7063, allocations: 15.94 kB / 0.7699 GB, free: 3.496 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005396/0.7117, allocations: 4.982 MB / 0.7748 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.977e-06/0.7118, allocations: 0 / 0.7748 GB, free: 14.09 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002326/0.7141, allocations: 1.016 MB / 0.7758 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.7148, allocations: 263.7 kB / 0.776 GB, free: 12.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.715, allocations: 15.98 kB / 0.776 GB, free: 12.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007895/0.7158, allocations: 68.48 kB / 0.7761 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7159, allocations: 44.5 kB / 0.7761 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.273e-05/0.716, allocations: 19.98 kB / 0.7762 GB, free: 12.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001239/0.7172, allocations: 0.6256 MB / 0.7768 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.5e-07/0.7173, allocations: 0 / 0.7768 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003227/0.7205, allocations: 0.7249 MB / 0.7775 GB, free: 11.24 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (45): * Single equations (assignments): 39 * 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.001216/0.7218, allocations: 469 kB / 0.7779 GB, free: 10.78 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003628/0.7254, allocations: 1.78 MB / 0.7797 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.259e-06/0.7254, allocations: 192 / 0.7797 GB, free: 8.898 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.7266, allocations: 0.6046 MB / 0.7802 GB, free: 8.25 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0032/0.7298, allocations: 0.5357 MB / 0.7808 GB, free: 7.711 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00481/0.7346, allocations: 2.432 MB / 0.7831 GB, free: 5.254 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001012/0.7357, allocations: 1.116 MB / 0.7842 GB, free: 4.109 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001389/0.7371, allocations: 215.8 kB / 0.7844 GB, free: 3.898 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.7374, allocations: 83.42 kB / 0.7845 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of SimCode: time 1.597e-06/0.7374, allocations: 0 / 0.7845 GB, free: 3.816 MB / 0.6042 GB Notification: Performance of Templates: time 0.05851/0.7959, allocations: 23.64 MB / 0.8076 GB, free: 12.5 MB / 0.6355 GB