Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HexElementSensible",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.105/4.105, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.707e-05/3.716e-05, allocations: 6.188 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.2192, allocations: 98.74 MB / 0.6289 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.637/7.857, allocations: 2.445 GB / 3.074 GB, free: 195.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002977/7.857, allocations: 94.97 kB / 3.074 GB, free: 195.7 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.045/12.9, allocations: 0.9648 GB / 4.039 GB, free: 111.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.044e-06/12.9, allocations: 0 / 4.039 GB, free: 111.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0002465/12.9, allocations: 53.09 kB / 4.039 GB, free: 111 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: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006257/12.91, allocations: 1.883 MB / 4.041 GB, free: 110.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/12.91, allocations: 9.219 kB / 4.041 GB, free: 110.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/12.91, allocations: 343.7 kB / 4.041 GB, free: 110 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005701/12.92, allocations: 1.603 MB / 4.043 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.78e-05/12.92, allocations: 36.34 kB / 4.043 GB, free: 109.6 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002579/12.92, allocations: 79.81 kB / 4.043 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002244/12.92, allocations: 0.7852 MB / 4.044 GB, free: 109.5 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002464/12.92, allocations: 0.9696 MB / 4.045 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.084e-05/12.92, allocations: 6.812 kB / 4.045 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001334/12.92, allocations: 3.688 kB / 4.045 GB, free: 109.4 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.014e-05/12.92, allocations: 43.47 kB / 4.045 GB, free: 109.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 preOpt removeSimpleEquations (simulation): time 0.01041/12.93, allocations: 5.428 MB / 4.05 GB, free: 106.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/12.93, allocations: 0.7976 MB / 4.051 GB, free: 106.4 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00066/12.94, allocations: 339 kB / 4.051 GB, free: 106.3 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005933/12.94, allocations: 455.8 kB / 4.052 GB, free: 105.9 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.578e-05/12.94, allocations: 40.44 kB / 4.052 GB, free: 105.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=66): time 3.837e-06/12.94, allocations: 0 / 4.052 GB, free: 105.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=66): time 0.003051/12.94, allocations: 0.7841 MB / 4.052 GB, free: 105.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/12.94, allocations: 63.31 kB / 4.052 GB, free: 105.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001847/12.94, allocations: 0.8885 MB / 4.053 GB, free: 105.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.000212/12.94, allocations: 27.39 kB / 4.053 GB, free: 105.4 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006263/12.94, allocations: 0.721 MB / 4.054 GB, free: 105.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000292/12.94, allocations: 223.3 kB / 4.054 GB, free: 105 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.051e-05/12.94, allocations: 3.219 kB / 4.054 GB, free: 105 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/12.94, allocations: 335.3 kB / 4.055 GB, free: 104.7 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005398/12.94, allocations: 228.6 kB / 4.055 GB, free: 104.7 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007021/12.94, allocations: 477 kB / 4.055 GB, free: 104.4 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008649/12.94, allocations: 320.1 kB / 4.056 GB, free: 104.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/12.94, allocations: 0 / 4.056 GB, free: 104.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002646/12.95, allocations: 0.874 MB / 4.056 GB, free: 104.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002555/12.95, allocations: 1.072 MB / 4.057 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.335e-05/12.95, allocations: 7.656 kB / 4.057 GB, free: 103.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003487/12.95, allocations: 84.03 kB / 4.057 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/12.95, allocations: 163.4 kB / 4.058 GB, free: 103.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/12.95, allocations: 1.785 MB / 4.059 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/12.95, allocations: 133.9 kB / 4.06 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001329/12.95, allocations: 37.09 kB / 4.06 GB, free: 101.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/12.95, allocations: 5.062 kB / 4.06 GB, free: 101.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001984/12.96, allocations: 0.6608 MB / 4.06 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/12.96, allocations: 3.562 kB / 4.06 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004066/12.96, allocations: 90.48 kB / 4.06 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/12.96, allocations: 149.8 kB / 4.06 GB, free: 101.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/12.96, allocations: 3.004 MB / 4.063 GB, free: 98.76 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/12.96, allocations: 132.7 kB / 4.063 GB, free: 98.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/12.96, allocations: 35.12 kB / 4.064 GB, free: 98.73 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003138/12.96, allocations: 118.2 kB / 4.064 GB, free: 98.61 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002168/12.97, allocations: 0.7157 MB / 4.064 GB, free: 98.45 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003828/12.97, allocations: 143 kB / 4.064 GB, free: 98.38 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002208/12.97, allocations: 0.7688 MB / 4.065 GB, free: 98.27 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/12.97, allocations: 6.531 kB / 4.065 GB, free: 98.27 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/12.97, allocations: 0 / 4.065 GB, free: 98.27 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001604/12.97, allocations: 0.9283 MB / 4.066 GB, free: 97.77 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.005578/12.98, allocations: 2.073 MB / 4.068 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/12.98, allocations: 0 / 4.068 GB, free: 97.34 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/12.98, allocations: 159.5 kB / 4.068 GB, free: 97.33 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/12.98, allocations: 67.03 kB / 4.068 GB, free: 97.31 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.26e-05/12.98, allocations: 15 kB / 4.068 GB, free: 97.31 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009758/12.98, allocations: 1.74 MB / 4.07 GB, free: 95.69 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/12.98, allocations: 0 / 4.07 GB, free: 95.69 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/12.98, allocations: 1.328 MB / 4.071 GB, free: 95.21 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/12.98, allocations: 310.1 kB / 4.072 GB, free: 95.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002589/12.98, allocations: 4.938 kB / 4.072 GB, free: 95.05 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001854/12.98, allocations: 109 kB / 4.072 GB, free: 95.04 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001575/12.98, allocations: 57.03 kB / 4.072 GB, free: 95.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.285e-05/12.98, allocations: 21.09 kB / 4.072 GB, free: 95.03 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001329/12.99, allocations: 0.6843 MB / 4.073 GB, free: 94.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/12.99, allocations: 0 / 4.073 GB, free: 94.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003999/12.99, allocations: 0.9238 MB / 4.073 GB, free: 94.79 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006646/13, allocations: 4.425 MB / 4.078 GB, free: 92.84 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003232/13, allocations: 1.245 MB / 4.079 GB, free: 92.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/13, allocations: 0 / 4.079 GB, free: 92.57 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009428/13, allocations: 332 kB / 4.079 GB, free: 92.55 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00656/13.01, allocations: 0.727 MB / 4.08 GB, free: 92.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006636/13.01, allocations: 2.345 MB / 4.082 GB, free: 91.64 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009466/13.01, allocations: 1.316 MB / 4.084 GB, free: 90.9 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003071/13.02, allocations: 416.4 kB / 4.084 GB, free: 90.82 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/13.02, allocations: 0.5497 MB / 4.085 GB, free: 90.81 MB / 0.823 GB Notification: Performance of SimCode: time 1.122e-06/13.02, allocations: 4 kB / 4.085 GB, free: 90.81 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1413/13.16, allocations: 52.13 MB / 4.135 GB, free: 56.29 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002632/13.16, allocations: 193.9 kB / 4.136 GB, free: 56.1 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.175/18.34, allocations: 3.938 kB / 4.136 GB, free: 56.09 MB / 0.823 GB