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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.1/4.1, allocations: 433.2 MB / 440.8 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.808e-05/2.819e-05, allocations: 8.125 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2539/0.2539, allocations: 98.74 MB / 0.6289 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.231/1.485, allocations: 405.1 MB / 1.024 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/1.486, allocations: 109.4 kB / 1.025 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.084/4.57, allocations: 0.531 GB / 1.556 GB, free: 177.8 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.394e-06/4.57, allocations: 3.469 kB / 1.556 GB, free: 177.8 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001587/4.57, allocations: 34.69 kB / 1.556 GB, free: 177.8 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.004157/4.574, allocations: 1.412 MB / 1.557 GB, free: 176.8 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/4.574, allocations: 6.906 kB / 1.557 GB, free: 176.8 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009038/4.575, allocations: 156.1 kB / 1.557 GB, free: 176.8 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004962/4.58, allocations: 1.385 MB / 1.559 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.932e-05/4.58, allocations: 26.59 kB / 1.559 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002201/4.58, allocations: 57.83 kB / 1.559 GB, free: 175.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001759/4.582, allocations: 0.5519 MB / 1.559 GB, free: 175.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001915/4.584, allocations: 0.7304 MB / 1.56 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.538e-05/4.584, allocations: 7.844 kB / 1.56 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.464e-05/4.584, allocations: 7.656 kB / 1.56 GB, free: 175.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.897e-05/4.584, allocations: 22.25 kB / 1.56 GB, free: 175.1 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.007295/4.592, allocations: 4.112 MB / 1.564 GB, free: 171.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001369/4.593, allocations: 0.4945 MB / 1.564 GB, free: 171.3 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006455/4.594, allocations: 289.1 kB / 1.565 GB, free: 171.2 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007872/4.594, allocations: 0.6057 MB / 1.565 GB, free: 170.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/4.595, allocations: 42.78 kB / 1.565 GB, free: 170.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=55): time 3.557e-06/4.595, allocations: 0 / 1.565 GB, free: 170.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=55): time 0.002267/4.597, allocations: 0.6152 MB / 1.566 GB, free: 170.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.262e-05/4.597, allocations: 59.75 kB / 1.566 GB, free: 170 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/4.598, allocations: 0.7041 MB / 1.567 GB, free: 169.6 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.076e-05/4.598, allocations: 29.61 kB / 1.567 GB, free: 169.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004487/4.599, allocations: 0.5178 MB / 1.567 GB, free: 169.1 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002093/4.599, allocations: 192.4 kB / 1.567 GB, free: 169 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.867e-05/4.599, allocations: 0 / 1.567 GB, free: 169 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.93e-05/4.599, allocations: 340.6 kB / 1.568 GB, free: 168.6 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000415/4.6, allocations: 172 kB / 1.568 GB, free: 168.6 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005596/4.6, allocations: 373.3 kB / 1.568 GB, free: 168.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/4.601, allocations: 298 kB / 1.568 GB, free: 168.1 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/4.601, allocations: 2.75 kB / 1.568 GB, free: 168.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002481/4.604, allocations: 0.7774 MB / 1.569 GB, free: 167.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003164/4.604, allocations: 1.314 MB / 1.571 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/4.604, allocations: 14.19 kB / 1.571 GB, free: 166.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005076/4.605, allocations: 110.9 kB / 1.571 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008648/4.606, allocations: 133.9 kB / 1.571 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003494/4.609, allocations: 4.678 MB / 1.575 GB, free: 161.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/4.611, allocations: 95.09 kB / 1.575 GB, free: 161.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/4.611, allocations: 34.91 kB / 1.575 GB, free: 161.4 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/4.611, allocations: 4 kB / 1.575 GB, free: 161.4 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/4.613, allocations: 0.6453 MB / 1.576 GB, free: 160.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/4.613, allocations: 7.984 kB / 1.576 GB, free: 160.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004361/4.613, allocations: 119.3 kB / 1.576 GB, free: 160.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008199/4.614, allocations: 129.9 kB / 1.576 GB, free: 160.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/4.619, allocations: 5.552 MB / 1.582 GB, free: 154.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/4.62, allocations: 79.78 kB / 1.582 GB, free: 154.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/4.62, allocations: 39.92 kB / 1.582 GB, free: 154.4 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.0002432/4.621, allocations: 118.7 kB / 1.582 GB, free: 154.2 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001995/4.623, allocations: 0.6014 MB / 1.583 GB, free: 153.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001738/4.623, allocations: 90.88 kB / 1.583 GB, free: 153.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002002/4.625, allocations: 0.6738 MB / 1.583 GB, free: 152.9 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/4.625, allocations: 8 kB / 1.583 GB, free: 152.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/4.625, allocations: 2.219 kB / 1.583 GB, free: 152.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/4.626, allocations: 0.6353 MB / 1.584 GB, free: 152.2 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.003815/4.63, allocations: 1.661 MB / 1.586 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/4.63, allocations: 3.938 kB / 1.586 GB, free: 150.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006909/4.631, allocations: 83.89 kB / 1.586 GB, free: 150.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003723/4.631, allocations: 105.5 kB / 1.586 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.187e-05/4.631, allocations: 7.984 kB / 1.586 GB, free: 150.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003213/4.635, allocations: 4.669 MB / 1.59 GB, free: 145.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/4.635, allocations: 4.031 kB / 1.59 GB, free: 145.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002464/4.637, allocations: 1.02 MB / 1.591 GB, free: 144.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005606/4.638, allocations: 247.8 kB / 1.592 GB, free: 143.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/4.638, allocations: 3.984 kB / 1.592 GB, free: 143.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009451/4.639, allocations: 48.45 kB / 1.592 GB, free: 143.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/4.639, allocations: 48 kB / 1.592 GB, free: 143.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-05/4.639, allocations: 18.47 kB / 1.592 GB, free: 143.8 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0009465/4.64, allocations: 0.5384 MB / 1.592 GB, free: 143.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.11e-07/4.64, allocations: 0 / 1.592 GB, free: 143.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003417/4.644, allocations: 0.7443 MB / 1.593 GB, free: 142.5 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.004012/4.648, allocations: 2.24 MB / 1.595 GB, free: 140.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002723/4.65, allocations: 1.647 MB / 1.597 GB, free: 138.6 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/4.65, allocations: 0 / 1.597 GB, free: 138.6 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008095/4.651, allocations: 0.5647 MB / 1.597 GB, free: 138 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004293/4.655, allocations: 0.4909 MB / 1.598 GB, free: 137.6 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/4.66, allocations: 1.764 MB / 1.599 GB, free: 135.9 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006686/4.661, allocations: 1.11 MB / 1.601 GB, free: 134.8 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001727/4.663, allocations: 256.6 kB / 1.601 GB, free: 134.6 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006154/4.664, allocations: 407.3 kB / 1.601 GB, free: 134.2 MB / 0.823 GB Notification: Performance of SimCode: time 9.51e-07/4.664, allocations: 0 / 1.601 GB, free: 134.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09802/4.762, allocations: 32.17 MB / 1.633 GB, free: 102.9 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/4.762, allocations: 204.5 kB / 1.633 GB, free: 102.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/8.638, allocations: 4 kB / 1.633 GB, free: 102.6 MB / 0.823 GB