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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_HexInternalElement",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01298/0.01298, allocations: 222.1 kB / 15.17 MB, free: 6 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.001214/0.001213, allocations: 178.4 kB / 16.06 MB, free: 5.871 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 3.85/3.85, allocations: 389 MB / 405.9 MB, free: 13.31 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.489/4.489, allocations: 472.3 MB / 0.9017 GB, free: 3.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006744/0.0006746, allocations: 12 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7033/0.7041, allocations: 98.7 MB / 1.104 GB, free: 212.8 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.HexInternalElement): time 0.05758/0.7617, allocations: 36.97 MB / 1.14 GB, free: 187 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02332/0.7851, allocations: 11.32 MB / 1.151 GB, free: 178.9 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003212/0.7884, allocations: 48.56 kB / 1.151 GB, free: 178.9 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.003518/0.7919, allocations: 0.5793 MB / 1.152 GB, free: 178.6 MB / 0.7292 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01002/0.802, allocations: 2.022 MB / 1.154 GB, free: 177.5 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.006967/0.809, allocations: 1.342 MB / 1.155 GB, free: 176.9 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008374/0.8174, allocations: 3.984 MB / 1.159 GB, free: 175.2 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002503/0.82, allocations: 0.8566 MB / 1.16 GB, free: 174.9 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003768/0.8238, allocations: 1.006 MB / 1.161 GB, free: 174.5 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003055/0.8269, allocations: 0.8936 MB / 1.162 GB, free: 174.1 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0005211/0.8275, allocations: 50.16 kB / 1.162 GB, free: 174.1 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005102/0.8326, allocations: 1.04 MB / 1.163 GB, free: 173.8 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0008451/0.8335, allocations: 225.9 kB / 1.163 GB, free: 173.7 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0009533/0.8345, allocations: 300.6 kB / 1.163 GB, free: 173.6 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.8392, allocations: 1.844 MB / 1.165 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/0.8393, allocations: 1.625 kB / 1.165 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.685e-06/0.8393, allocations: 1.062 kB / 1.165 GB, free: 172.4 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.567e-05/0.8394, allocations: 0 / 1.165 GB, free: 172.4 MB / 0.7292 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.00455/0.844, allocations: 1.493 MB / 1.167 GB, free: 171.3 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.247e-05/0.844, allocations: 10.53 kB / 1.167 GB, free: 171.3 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004205/0.8445, allocations: 132 kB / 1.167 GB, free: 171.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007469/0.8452, allocations: 153.9 kB / 1.167 GB, free: 171.1 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003257/0.8485, allocations: 1.099 MB / 1.168 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.96e-05/0.8487, allocations: 68.09 kB / 1.168 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.8489, allocations: 93.48 kB / 1.168 GB, free: 170.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002409/0.8513, allocations: 0.8862 MB / 1.169 GB, free: 169.6 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.206e-05/0.8514, allocations: 2.438 kB / 1.169 GB, free: 169.6 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.8515, allocations: 31.84 kB / 1.169 GB, free: 169.6 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.27e-05/0.8516, allocations: 24.81 kB / 1.169 GB, free: 169.6 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001895/0.8535, allocations: 0.6435 MB / 1.17 GB, free: 169.3 MB / 0.7292 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.007896/0.8615, allocations: 4.259 MB / 1.174 GB, free: 165.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001498/0.863, allocations: 0.4894 MB / 1.174 GB, free: 165.3 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007767/0.8638, allocations: 298.6 kB / 1.175 GB, free: 165.2 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.8647, allocations: 0.5968 MB / 1.175 GB, free: 164.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.445e-05/0.8647, allocations: 38.44 kB / 1.175 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=55): time 3.006e-06/0.8647, allocations: 0 / 1.175 GB, free: 164.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=55): time 0.004049/0.8688, allocations: 1.194 MB / 1.176 GB, free: 163.6 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.8689, allocations: 62.09 kB / 1.176 GB, free: 163.5 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.8707, allocations: 0.8798 MB / 1.177 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001818/0.8709, allocations: 38.27 kB / 1.177 GB, free: 162.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004736/0.8714, allocations: 0.5163 MB / 1.178 GB, free: 162.2 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.8716, allocations: 197.1 kB / 1.178 GB, free: 162 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.8717, allocations: 16 kB / 1.178 GB, free: 162 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.838e-05/0.8718, allocations: 343.6 kB / 1.178 GB, free: 161.7 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.8723, allocations: 197.9 kB / 1.179 GB, free: 161.5 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.873, allocations: 394.8 kB / 1.179 GB, free: 161.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006143/0.8736, allocations: 271.9 kB / 1.179 GB, free: 160.8 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8736, allocations: 1.375 kB / 1.179 GB, free: 160.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002449/0.8761, allocations: 0.8376 MB / 1.18 GB, free: 159.9 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/0.8762, allocations: 197.7 kB / 1.18 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.731e-05/0.8763, allocations: 10.91 kB / 1.18 GB, free: 159.7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009179/0.8772, allocations: 149.8 kB / 1.18 GB, free: 159.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009062/0.8781, allocations: 131.8 kB / 1.18 GB, free: 159.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.882, allocations: 4.83 MB / 1.185 GB, free: 154.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.8839, allocations: 117.5 kB / 1.185 GB, free: 154.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.8841, allocations: 35.98 kB / 1.185 GB, free: 154.1 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.22e-05/0.8841, allocations: 4 kB / 1.185 GB, free: 154 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00188/0.886, allocations: 0.7024 MB / 1.186 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.253e-05/0.8861, allocations: 4.969 kB / 1.186 GB, free: 153.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004786/0.8865, allocations: 123.9 kB / 1.186 GB, free: 153.2 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/0.8874, allocations: 131.8 kB / 1.186 GB, free: 153.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.8921, allocations: 5.826 MB / 1.192 GB, free: 146.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/0.8938, allocations: 105.5 kB / 1.192 GB, free: 146.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.894, allocations: 35.98 kB / 1.192 GB, free: 146.6 MB / 0.7292 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 (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%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0008023/0.8948, allocations: 377.7 kB / 1.192 GB, free: 146.2 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.8952, allocations: 98.78 kB / 1.193 GB, free: 146.1 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001827/0.897, allocations: 0.6853 MB / 1.193 GB, free: 145.4 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.821e-05/0.8971, allocations: 4 kB / 1.193 GB, free: 145.4 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.8971, allocations: 3.953 kB / 1.193 GB, free: 145.4 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/0.8984, allocations: 0.6355 MB / 1.194 GB, free: 144.8 MB / 0.7292 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.004212/0.9027, allocations: 1.746 MB / 1.196 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.744e-06/0.9027, allocations: 0 / 1.196 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007037/0.9034, allocations: 88.92 kB / 1.196 GB, free: 142.9 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004797/0.9039, allocations: 119.3 kB / 1.196 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.625e-05/0.904, allocations: 12 kB / 1.196 GB, free: 142.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003528/0.9076, allocations: 4.831 MB / 1.2 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.9076, allocations: 0 / 1.2 GB, free: 137.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002337/0.91, allocations: 0.9865 MB / 1.201 GB, free: 136.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007897/0.9108, allocations: 267.6 kB / 1.202 GB, free: 136.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002277/0.911, allocations: 12 kB / 1.202 GB, free: 136.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/0.9122, allocations: 60.81 kB / 1.202 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.9123, allocations: 45.34 kB / 1.202 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.546e-05/0.9124, allocations: 19.16 kB / 1.202 GB, free: 136.1 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001127/0.9135, allocations: 0.5983 MB / 1.202 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.724e-06/0.9136, allocations: 0 / 1.202 GB, free: 135.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003644/0.9172, allocations: 0.7093 MB / 1.203 GB, free: 134.8 MB / 0.7292 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 (46): * Single equations (assignments): 40 * 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%) 2,(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.003666/0.9209, allocations: 1.843 MB / 1.205 GB, free: 132.9 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.003316/0.9243, allocations: 1.759 MB / 1.207 GB, free: 131.1 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/0.9244, allocations: 1.562 kB / 1.207 GB, free: 131.1 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.9254, allocations: 0.6022 MB / 1.207 GB, free: 130.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004906/0.9303, allocations: 0.5414 MB / 1.208 GB, free: 129.9 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.9479, allocations: 6.077 MB / 1.214 GB, free: 123.6 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006452/0.9486, allocations: 1.108 MB / 1.215 GB, free: 122.5 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001526/0.9502, allocations: 207 kB / 1.215 GB, free: 122.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008017/0.951, allocations: 431.2 kB / 1.215 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of SimCode: time 1.513e-06/0.951, allocations: 0 / 1.215 GB, free: 121.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09095/1.042, allocations: 32.93 MB / 1.248 GB, free: 90.33 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003224/1.042, allocations: 299.8 kB / 1.248 GB, free: 89.97 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.902/4.945, allocations: 0 / 1.248 GB, free: 89.97 MB / 0.7292 GB