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.01481/0.01481, allocations: 110.2 kB / 15.05 MB, free: 6.051 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.001878/0.001879, allocations: 190.9 kB / 15.95 MB, free: 5.973 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.862/1.862, allocations: 194.5 MB / 211.3 MB, free: 11.05 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.496/2.496, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004718, allocations: 12 kB / 0.587 GB, free: 2.18 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5399/0.5403, allocations: 98.71 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9444/1.485, allocations: 405.8 MB / 1.08 GB, free: 46.19 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.485, allocations: 105.4 kB / 1.08 GB, free: 46.13 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.547/4.032, allocations: 0.5353 GB / 1.615 GB, free: 176.3 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.066e-06/4.032, allocations: 3.719 kB / 1.615 GB, free: 176.3 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001326/4.032, allocations: 34.81 kB / 1.615 GB, free: 176.3 MB / 0.823 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.003786/4.036, allocations: 1.627 MB / 1.617 GB, free: 175.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/4.036, allocations: 11.84 kB / 1.617 GB, free: 175.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000633/4.037, allocations: 152.8 kB / 1.617 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003487/4.04, allocations: 1.392 MB / 1.618 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.618e-05/4.04, allocations: 70.62 kB / 1.618 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/4.041, allocations: 92.05 kB / 1.618 GB, free: 175.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/4.042, allocations: 0.8636 MB / 1.619 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.453e-05/4.042, allocations: 0 / 1.619 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.791e-05/4.042, allocations: 37 kB / 1.619 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.346e-05/4.043, allocations: 34.44 kB / 1.619 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/4.044, allocations: 0.6164 MB / 1.62 GB, free: 175.1 MB / 0.823 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.006074/4.05, allocations: 4.286 MB / 1.624 GB, free: 172.9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001168/4.051, allocations: 0.5331 MB / 1.625 GB, free: 172.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/4.052, allocations: 0.603 MB / 1.625 GB, free: 172.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.973e-05/4.052, allocations: 44.77 kB / 1.625 GB, free: 172.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 5.222e-06/4.052, allocations: 0 / 1.625 GB, free: 172.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.002721/4.055, allocations: 1.226 MB / 1.626 GB, free: 171.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.584e-05/4.055, allocations: 59.69 kB / 1.626 GB, free: 171.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/4.056, allocations: 0.8054 MB / 1.627 GB, free: 171.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-05/4.056, allocations: 43.77 kB / 1.627 GB, free: 171.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/4.057, allocations: 0.527 MB / 1.628 GB, free: 171.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001794/4.057, allocations: 187.5 kB / 1.628 GB, free: 171.1 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/4.057, allocations: 14.66 kB / 1.628 GB, free: 171.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.219e-05/4.057, allocations: 340.9 kB / 1.628 GB, free: 170.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/4.057, allocations: 188.3 kB / 1.628 GB, free: 170.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005653/4.058, allocations: 395.4 kB / 1.629 GB, free: 170.6 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/4.058, allocations: 262.4 kB / 1.629 GB, free: 170.6 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/4.058, allocations: 0 / 1.629 GB, free: 170.6 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001826/4.06, allocations: 0.7986 MB / 1.63 GB, free: 170.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002672/4.061, allocations: 1.319 MB / 1.631 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.11e-05/4.061, allocations: 3.969 kB / 1.631 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004957/4.061, allocations: 139 kB / 1.631 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006238/4.062, allocations: 129.7 kB / 1.631 GB, free: 169.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003648/4.065, allocations: 4.973 MB / 1.636 GB, free: 164.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001251/4.067, allocations: 119 kB / 1.636 GB, free: 164.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/4.067, allocations: 35.17 kB / 1.636 GB, free: 164.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/4.067, allocations: 3.969 kB / 1.636 GB, free: 164.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001532/4.068, allocations: 0.6778 MB / 1.637 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/4.068, allocations: 3.969 kB / 1.637 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003937/4.069, allocations: 132.6 kB / 1.637 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005605/4.069, allocations: 120.7 kB / 1.637 GB, free: 164.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/4.074, allocations: 5.946 MB / 1.643 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/4.075, allocations: 105.8 kB / 1.643 GB, free: 159.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.907e-05/4.076, allocations: 29.78 kB / 1.643 GB, free: 159.1 MB / 0.823 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 (70): * Single equations (assignments): 65 * 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.000765/4.076, allocations: 371.5 kB / 1.644 GB, free: 158.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002811/4.077, allocations: 102.9 kB / 1.644 GB, free: 158.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001601/4.078, allocations: 0.7161 MB / 1.644 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/4.078, allocations: 3.688 kB / 1.644 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.583e-06/4.078, allocations: 3.969 kB / 1.644 GB, free: 158.7 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001169/4.079, allocations: 0.6562 MB / 1.645 GB, free: 158.5 MB / 0.823 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.003591/4.083, allocations: 1.799 MB / 1.647 GB, free: 158 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.949e-06/4.083, allocations: 0 / 1.647 GB, free: 158 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004856/4.084, allocations: 88.17 kB / 1.647 GB, free: 158 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/4.084, allocations: 134.1 kB / 1.647 GB, free: 158 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.675e-05/4.084, allocations: 9.344 kB / 1.647 GB, free: 158 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003561/4.088, allocations: 4.978 MB / 1.652 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.943e-06/4.088, allocations: 2.188 kB / 1.652 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003009/4.091, allocations: 1.058 MB / 1.653 GB, free: 153.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001083/4.092, allocations: 262.7 kB / 1.653 GB, free: 153 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003772/4.092, allocations: 16.81 kB / 1.653 GB, free: 153 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001559/4.094, allocations: 61.02 kB / 1.653 GB, free: 153 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001325/4.094, allocations: 45.8 kB / 1.653 GB, free: 153 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.201e-05/4.094, allocations: 18.41 kB / 1.653 GB, free: 153 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001653/4.096, allocations: 0.6252 MB / 1.654 GB, free: 152.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.081e-06/4.096, allocations: 0 / 1.654 GB, free: 152.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.005575/4.101, allocations: 0.7721 MB / 1.655 GB, free: 152.8 MB / 0.823 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.00216/4.104, allocations: 0.672 MB / 1.655 GB, free: 152.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002863/4.107, allocations: 1.737 MB / 1.657 GB, free: 151.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.993e-06/4.107, allocations: 0 / 1.657 GB, free: 151.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009421/4.108, allocations: 0.6228 MB / 1.658 GB, free: 151.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003007/4.111, allocations: 0.5509 MB / 1.658 GB, free: 151.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003871/4.114, allocations: 2.467 MB / 1.661 GB, free: 150.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006588/4.115, allocations: 1.112 MB / 1.662 GB, free: 149.6 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001265/4.116, allocations: 216.1 kB / 1.662 GB, free: 149.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002202/4.117, allocations: 78.5 kB / 1.662 GB, free: 149.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.595e-06/4.117, allocations: 0 / 1.662 GB, free: 149.6 MB / 0.823 GB Notification: Performance of Templates: time 0.05604/4.173, allocations: 25.15 MB / 1.687 GB, free: 148.4 MB / 0.823 GB