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/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.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.104/4.104, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.47e-05/4.506e-05, allocations: 4.719 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2093/0.2094, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.737/7.946, allocations: 2.446 GB / 3.081 GB, free: 156.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002958/7.947, allocations: 96.5 kB / 3.081 GB, free: 156.8 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.018/12.97, allocations: 0.9737 GB / 4.054 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.754e-06/12.97, allocations: 0 / 4.054 GB, free: 120.3 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 0.0002619/12.97, allocations: 45.41 kB / 4.054 GB, free: 120.3 MB / 0.8386 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.006622/12.97, allocations: 1.875 MB / 4.056 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/12.97, allocations: 17.39 kB / 4.056 GB, free: 119.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005082/12.97, allocations: 165.3 kB / 4.056 GB, free: 119.2 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00287/12.98, allocations: 349.9 kB / 4.057 GB, free: 119.1 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005808/12.98, allocations: 1.61 MB / 4.058 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/12.98, allocations: 91.11 kB / 4.058 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003594/12.98, allocations: 117.9 kB / 4.059 GB, free: 118.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003364/12.99, allocations: 1.129 MB / 4.06 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/12.99, allocations: 0 / 4.06 GB, free: 118.3 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/12.99, allocations: 46.06 kB / 4.06 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.123e-05/12.99, allocations: 45.64 kB / 4.06 GB, free: 118.2 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00275/12.99, allocations: 0.8527 MB / 4.061 GB, free: 117.9 MB / 0.8386 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.01178/13, allocations: 5.503 MB / 4.066 GB, free: 114.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/13, allocations: 0.8267 MB / 4.067 GB, free: 113.6 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008072/13, allocations: 359 kB / 4.067 GB, free: 113.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007285/13, allocations: 0.6064 MB / 4.068 GB, free: 112.8 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/13, allocations: 44.22 kB / 4.068 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=68): time 4.238e-06/13, allocations: 0 / 4.068 GB, free: 112.7 MB / 0.8386 GB Notification: Performance of matching and sorting (n=68): time 0.002941/13.01, allocations: 0.7979 MB / 4.069 GB, free: 112.4 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/13.01, allocations: 63.12 kB / 4.069 GB, free: 112.3 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/13.01, allocations: 1.038 MB / 4.07 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0002833/13.01, allocations: 47.92 kB / 4.07 GB, free: 111.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007969/13.01, allocations: 0.7058 MB / 4.07 GB, free: 111.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004176/13.01, allocations: 244.2 kB / 4.071 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.363e-05/13.01, allocations: 15.97 kB / 4.071 GB, free: 111.1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.219e-05/13.01, allocations: 331.6 kB / 4.071 GB, free: 110.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006554/13.01, allocations: 240.7 kB / 4.071 GB, free: 110.7 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008653/13.01, allocations: 482.1 kB / 4.072 GB, free: 110.4 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008008/13.01, allocations: 322.9 kB / 4.072 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.384e-06/13.01, allocations: 3.938 kB / 4.072 GB, free: 110.2 MB / 0.8386 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002803/13.02, allocations: 0.8989 MB / 4.073 GB, free: 109.8 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003146/13.02, allocations: 0.9071 MB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/13.02, allocations: 2.625 kB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000786/13.02, allocations: 109.6 kB / 4.074 GB, free: 108.8 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002206/13.02, allocations: 149.6 kB / 4.074 GB, free: 108.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/13.02, allocations: 1.754 MB / 4.076 GB, free: 107 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003825/13.03, allocations: 165.5 kB / 4.076 GB, free: 107 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003345/13.03, allocations: 33.45 kB / 4.076 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/13.03, allocations: 7.906 kB / 4.076 GB, free: 106.9 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003379/13.03, allocations: 0.7214 MB / 4.077 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.788e-05/13.03, allocations: 3.812 kB / 4.077 GB, free: 106.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006863/13.03, allocations: 95.25 kB / 4.077 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/13.03, allocations: 158 kB / 4.077 GB, free: 106.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005425/13.04, allocations: 3.119 MB / 4.08 GB, free: 103.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003859/13.04, allocations: 159.3 kB / 4.08 GB, free: 103.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002977/13.04, allocations: 31.23 kB / 4.08 GB, free: 103.3 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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.0005319/13.04, allocations: 157.6 kB / 4.08 GB, free: 103.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007051/13.04, allocations: 141.8 kB / 4.08 GB, free: 103.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003989/13.05, allocations: 0.8848 MB / 4.081 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/13.05, allocations: 4.625 kB / 4.081 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/13.05, allocations: 2.281 kB / 4.081 GB, free: 102.6 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002398/13.05, allocations: 0.9761 MB / 4.082 GB, free: 101.8 MB / 0.8386 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.008177/13.06, allocations: 2.289 MB / 4.084 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/13.06, allocations: 3.938 kB / 4.084 GB, free: 100.3 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001773/13.06, allocations: 159.1 kB / 4.084 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004977/13.06, allocations: 93.22 kB / 4.085 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001595/13.06, allocations: 18.06 kB / 4.085 GB, free: 100.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/13.06, allocations: 1.727 MB / 4.086 GB, free: 98.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-05/13.06, allocations: 10.34 kB / 4.086 GB, free: 98.46 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004835/13.07, allocations: 1.44 MB / 4.088 GB, free: 97.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001693/13.07, allocations: 314.8 kB / 4.088 GB, free: 97.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006835/13.07, allocations: 20 kB / 4.088 GB, free: 97.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003524/13.07, allocations: 123.5 kB / 4.088 GB, free: 97.09 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000294/13.07, allocations: 48.45 kB / 4.088 GB, free: 97.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/13.07, allocations: 24 kB / 4.088 GB, free: 97.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.003269/13.08, allocations: 0.8349 MB / 4.089 GB, free: 96.18 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.252e-06/13.08, allocations: 0 / 4.089 GB, free: 96.18 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.007384/13.08, allocations: 0.9826 MB / 4.09 GB, free: 95.2 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (60): * Single equations (assignments): 56 * 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.01031/13.09, allocations: 4.394 MB / 4.094 GB, free: 91.12 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.005042/13.1, allocations: 1.296 MB / 4.096 GB, free: 89.8 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/13.1, allocations: 0.8125 kB / 4.096 GB, free: 89.8 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001748/13.1, allocations: 353.7 kB / 4.096 GB, free: 89.46 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01041/13.11, allocations: 0.8012 MB / 4.097 GB, free: 88.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01094/13.12, allocations: 2.438 MB / 4.099 GB, free: 86.21 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001699/13.12, allocations: 1.318 MB / 4.1 GB, free: 84.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005557/13.13, allocations: 450 kB / 4.101 GB, free: 84.43 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002106/13.13, allocations: 0.5579 MB / 4.101 GB, free: 83.87 MB / 0.8386 GB Notification: Performance of SimCode: time 2.485e-06/13.13, allocations: 0 / 4.101 GB, free: 83.87 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2252/13.36, allocations: 74.35 MB / 4.174 GB, free: 10.37 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/13.36, allocations: 245.1 kB / 4.174 GB, free: 10.04 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.965/19.32, allocations: 0 / 4.174 GB, free: 10.04 MB / 0.8386 GB