Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.MassFraction.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.Sensors.Examples.MassFraction,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_MassFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.327/4.327, allocations: 433.2 MB / 440.7 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.005e-05/3.01e-05, allocations: 5.562 kB / 0.5325 GB, free: 12.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2369/0.237, allocations: 98.75 MB / 0.6289 GB, free: 9.172 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.244/7.481, allocations: 2.197 GB / 2.826 GB, free: 139.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004245/7.481, allocations: 84.45 kB / 2.826 GB, free: 139.2 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.487/9.968, allocations: 462.7 MB / 3.278 GB, free: 9.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.465e-06/9.968, allocations: 0 / 3.278 GB, free: 9.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001031/9.969, allocations: 20 kB / 3.278 GB, free: 9.48 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.003328/9.972, allocations: 1.059 MB / 3.279 GB, free: 8.359 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/9.972, allocations: 8.031 kB / 3.279 GB, free: 8.352 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002146/9.974, allocations: 202.9 kB / 3.279 GB, free: 8.152 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/9.976, allocations: 0.6014 MB / 3.28 GB, free: 7.508 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.079e-05/9.976, allocations: 16 kB / 3.28 GB, free: 7.492 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/9.977, allocations: 44.25 kB / 3.28 GB, free: 7.449 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001243/9.978, allocations: 462.4 kB / 3.28 GB, free: 6.996 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001277/9.979, allocations: 0.54 MB / 3.281 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.136e-05/9.979, allocations: 0 / 3.281 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.308e-05/9.979, allocations: 0 / 3.281 GB, free: 6.445 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.356e-05/9.979, allocations: 17.31 kB / 3.281 GB, free: 6.426 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.004586/9.984, allocations: 2.309 MB / 3.283 GB, free: 3.918 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007247/9.985, allocations: 349.7 kB / 3.283 GB, free: 3.57 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004/9.985, allocations: 213.4 kB / 3.283 GB, free: 3.359 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007095/9.986, allocations: 307.5 kB / 3.284 GB, free: 3.004 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/9.986, allocations: 38.89 kB / 3.284 GB, free: 2.957 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 3.296e-06/9.986, allocations: 0 / 3.284 GB, free: 2.957 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.001744/9.988, allocations: 439.2 kB / 3.284 GB, free: 2.523 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.957e-05/9.988, allocations: 59.39 kB / 3.284 GB, free: 2.453 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006321/9.988, allocations: 361.2 kB / 3.285 GB, free: 2.094 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001139/9.989, allocations: 25.7 kB / 3.285 GB, free: 2.062 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/9.989, allocations: 324.3 kB / 3.285 GB, free: 1.738 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/9.989, allocations: 138 kB / 3.285 GB, free: 1.602 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.919e-05/9.989, allocations: 0 / 3.285 GB, free: 1.602 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001159/9.989, allocations: 362.8 kB / 3.285 GB, free: 1.238 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003886/9.99, allocations: 153.1 kB / 3.285 GB, free: 1.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004623/9.99, allocations: 277.8 kB / 3.286 GB, free: 0.7734 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/9.991, allocations: 240.7 kB / 3.286 GB, free: 0.543 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/9.991, allocations: 0 / 3.286 GB, free: 0.543 MB / 0.823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001609/9.992, allocations: 0.527 MB / 3.286 GB, free: 8 kB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.6569/10.65, allocations: 0.9346 MB / 3.287 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.747e-05/10.65, allocations: 4.875 kB / 3.287 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/10.65, allocations: 3.656 kB / 3.287 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/10.65, allocations: 113.4 kB / 3.288 GB, free: 183.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004882/10.65, allocations: 0.6035 MB / 3.288 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001318/10.65, allocations: 61.27 kB / 3.288 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/10.65, allocations: 21.47 kB / 3.288 GB, free: 183 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/10.65, allocations: 6.719 kB / 3.288 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001661/10.65, allocations: 466.5 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/10.65, allocations: 4.969 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/10.65, allocations: 6.234 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008755/10.66, allocations: 98.81 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/10.66, allocations: 8.094 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/10.66, allocations: 58.77 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000105/10.66, allocations: 25.8 kB / 3.289 GB, free: 183 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 2 (senMasFra2.i_x,senMasFra1.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0002522/10.66, allocations: 114.7 kB / 3.289 GB, free: 182.9 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001321/10.66, allocations: 413.3 kB / 3.289 GB, free: 182.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/10.66, allocations: 54.19 kB / 3.289 GB, free: 182.9 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/10.66, allocations: 458.3 kB / 3.29 GB, free: 182.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/10.66, allocations: 3.812 kB / 3.29 GB, free: 182.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/10.66, allocations: 0.5312 kB / 3.29 GB, free: 182.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/10.66, allocations: 0.6626 MB / 3.29 GB, free: 182.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003873/10.67, allocations: 1.17 MB / 3.292 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/10.67, allocations: 2.375 kB / 3.292 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0011/10.67, allocations: 99.56 kB / 3.292 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.529e-05/10.67, allocations: 3.594 kB / 3.292 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/10.67, allocations: 9.891 kB / 3.292 GB, free: 182.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000343/10.67, allocations: 0.5955 MB / 3.292 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.016e-06/10.67, allocations: 3.875 kB / 3.292 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00183/10.67, allocations: 0.8244 MB / 3.293 GB, free: 181.1 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005746/10.67, allocations: 170.2 kB / 3.293 GB, free: 181 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001196/10.67, allocations: 5.016 kB / 3.293 GB, free: 181 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/10.67, allocations: 53.64 kB / 3.293 GB, free: 181 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/10.67, allocations: 26.94 kB / 3.293 GB, free: 181 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.449e-05/10.67, allocations: 16.78 kB / 3.293 GB, free: 181 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0005451/10.67, allocations: 283.3 kB / 3.294 GB, free: 180.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 5.01e-07/10.67, allocations: 0 / 3.294 GB, free: 180.9 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00221/10.67, allocations: 456.2 kB / 3.294 GB, free: 180.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senMasFra1.X) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 37 * 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: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.005821/10.68, allocations: 3.311 MB / 3.297 GB, free: 179.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002538/10.68, allocations: 0.8475 MB / 3.298 GB, free: 179.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.124e-05/10.68, allocations: 3.562 kB / 3.298 GB, free: 179.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006456/10.68, allocations: 189.9 kB / 3.298 GB, free: 179 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/10.69, allocations: 311.9 kB / 3.299 GB, free: 179 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004833/10.69, allocations: 1.24 MB / 3.3 GB, free: 178.7 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007064/10.69, allocations: 0.9587 MB / 3.301 GB, free: 178 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001807/10.69, allocations: 216.7 kB / 3.301 GB, free: 178 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006896/10.69, allocations: 212.8 kB / 3.301 GB, free: 178 MB / 0.823 GB Notification: Performance of SimCode: time 2.004e-06/10.69, allocations: 1.188 kB / 3.301 GB, free: 178 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.104/10.8, allocations: 27.2 MB / 3.328 GB, free: 177.6 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/10.8, allocations: 168 kB / 3.328 GB, free: 177.4 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.2/15, allocations: 4 kB / 3.328 GB, free: 177.4 MB / 0.823 GB