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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.902/3.902, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.272e-05/3.304e-05, allocations: 3.688 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.204/0.204, allocations: 98.74 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.17/1.374, allocations: 405.7 MB / 1.031 GB, free: 1.508 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004164/1.374, allocations: 102.7 kB / 1.031 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.816/4.191, allocations: 0.5337 GB / 1.565 GB, free: 163.7 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.204e-06/4.191, allocations: 0 / 1.565 GB, free: 163.7 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001712/4.191, allocations: 30.66 kB / 1.565 GB, free: 163.7 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.003956/4.195, allocations: 1.415 MB / 1.566 GB, free: 162.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/4.195, allocations: 8.031 kB / 1.566 GB, free: 162.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003338/4.195, allocations: 134.5 kB / 1.566 GB, free: 162.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006777/4.196, allocations: 158.1 kB / 1.566 GB, free: 162 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004465/4.2, allocations: 1.373 MB / 1.568 GB, free: 160.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.787e-05/4.2, allocations: 68.59 kB / 1.568 GB, free: 160.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002345/4.201, allocations: 91.98 kB / 1.568 GB, free: 160.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002066/4.203, allocations: 0.8524 MB / 1.569 GB, free: 159.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.611e-05/4.203, allocations: 10 kB / 1.569 GB, free: 159.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/4.203, allocations: 39.52 kB / 1.569 GB, free: 159.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.741e-05/4.203, allocations: 28 kB / 1.569 GB, free: 159.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/4.205, allocations: 0.6013 MB / 1.569 GB, free: 158.9 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.007531/4.212, allocations: 4.288 MB / 1.574 GB, free: 154.4 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/4.214, allocations: 0.5175 MB / 1.574 GB, free: 153.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007068/4.214, allocations: 306.8 kB / 1.574 GB, free: 153.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007322/4.215, allocations: 0.6003 MB / 1.575 GB, free: 152.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.026e-05/4.215, allocations: 41.78 kB / 1.575 GB, free: 152.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 4.058e-06/4.215, allocations: 0 / 1.575 GB, free: 152.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.001882/4.217, allocations: 0.6101 MB / 1.576 GB, free: 152.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/4.217, allocations: 59.91 kB / 1.576 GB, free: 152.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001614/4.219, allocations: 0.797 MB / 1.577 GB, free: 151.2 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001669/4.219, allocations: 37.7 kB / 1.577 GB, free: 151.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004448/4.22, allocations: 0.5227 MB / 1.577 GB, free: 150.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002245/4.22, allocations: 196.1 kB / 1.577 GB, free: 150.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-05/4.22, allocations: 12 kB / 1.577 GB, free: 150.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.4e-05/4.22, allocations: 333.9 kB / 1.578 GB, free: 150.1 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004733/4.22, allocations: 189.5 kB / 1.578 GB, free: 150 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006101/4.221, allocations: 391.1 kB / 1.578 GB, free: 149.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005875/4.222, allocations: 257.1 kB / 1.578 GB, free: 149.3 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/4.222, allocations: 0 / 1.578 GB, free: 149.3 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002204/4.224, allocations: 0.7884 MB / 1.579 GB, free: 148.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003509/4.224, allocations: 1.318 MB / 1.58 GB, free: 147.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.179e-05/4.224, allocations: 7.5 kB / 1.58 GB, free: 147 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006878/4.225, allocations: 132.9 kB / 1.581 GB, free: 146.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009748/4.226, allocations: 130.1 kB / 1.581 GB, free: 146.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004037/4.23, allocations: 4.823 MB / 1.585 GB, free: 141.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001747/4.232, allocations: 124.8 kB / 1.586 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/4.232, allocations: 28 kB / 1.586 GB, free: 141.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/4.232, allocations: 0 / 1.586 GB, free: 141.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001735/4.234, allocations: 0.6705 MB / 1.586 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/4.234, allocations: 4 kB / 1.586 GB, free: 140.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/4.234, allocations: 122.5 kB / 1.586 GB, free: 140.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008377/4.235, allocations: 131.8 kB / 1.586 GB, free: 140.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/4.24, allocations: 5.757 MB / 1.592 GB, free: 134.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001637/4.242, allocations: 104.8 kB / 1.592 GB, free: 134.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/4.242, allocations: 28 kB / 1.592 GB, free: 134.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * 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.000242/4.242, allocations: 148 kB / 1.592 GB, free: 133.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002534/4.242, allocations: 98.78 kB / 1.592 GB, free: 133.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001902/4.244, allocations: 0.7003 MB / 1.593 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/4.244, allocations: 15.88 kB / 1.593 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/4.244, allocations: 3.688 kB / 1.593 GB, free: 133.1 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001267/4.245, allocations: 0.6416 MB / 1.594 GB, free: 132.4 MB / 0.823 GB Warning: The model contains alias variables with conflicting start and/or 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.003971/4.249, allocations: 1.793 MB / 1.596 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/4.249, allocations: 0 / 1.596 GB, free: 130.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007417/4.25, allocations: 91.84 kB / 1.596 GB, free: 130.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000496/4.251, allocations: 113.8 kB / 1.596 GB, free: 130.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/4.251, allocations: 15.98 kB / 1.596 GB, free: 130.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003459/4.254, allocations: 4.817 MB / 1.6 GB, free: 125.1 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/4.254, allocations: 0 / 1.6 GB, free: 125.1 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0023/4.257, allocations: 1.044 MB / 1.601 GB, free: 124 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006772/4.257, allocations: 266.9 kB / 1.602 GB, free: 123.8 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/4.258, allocations: 7.375 kB / 1.602 GB, free: 123.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001113/4.259, allocations: 65.19 kB / 1.602 GB, free: 123.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001091/4.259, allocations: 44.47 kB / 1.602 GB, free: 123.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/4.259, allocations: 22.45 kB / 1.602 GB, free: 123.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001146/4.26, allocations: 0.6143 MB / 1.602 GB, free: 123 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.31e-07/4.26, allocations: 0 / 1.602 GB, free: 123 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00339/4.263, allocations: 0.7679 MB / 1.603 GB, free: 122.2 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 () * 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.003947/4.267, allocations: 2.28 MB / 1.605 GB, free: 120 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00308/4.271, allocations: 1.735 MB / 1.607 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/4.271, allocations: 3.406 kB / 1.607 GB, free: 118.2 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009415/4.272, allocations: 0.5966 MB / 1.608 GB, free: 117.6 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004597/4.276, allocations: 0.5448 MB / 1.608 GB, free: 117.1 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004949/4.281, allocations: 1.836 MB / 1.61 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006418/4.282, allocations: 1.11 MB / 1.611 GB, free: 114.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001837/4.284, allocations: 280.1 kB / 1.611 GB, free: 113.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006522/4.284, allocations: 411.3 kB / 1.612 GB, free: 113.4 MB / 0.823 GB Notification: Performance of SimCode: time 1.262e-06/4.284, allocations: 0 / 1.612 GB, free: 113.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/4.398, allocations: 37.75 MB / 1.649 GB, free: 76.68 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/4.398, allocations: 259.8 kB / 1.649 GB, free: 76.34 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.043/8.441, allocations: 0 / 1.649 GB, free: 76.34 MB / 0.823 GB