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.Density.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.Density,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.215/4.215, allocations: 433.2 MB / 440.7 MB, free: 10.56 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.754e-05, allocations: 4 kB / 0.5325 GB, free: 1.945 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6487/0.6487, allocations: 98.72 MB / 0.6289 GB, free: 15.79 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.092/7.741, allocations: 2.193 GB / 2.822 GB, free: 180.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/7.741, allocations: 86.27 kB / 2.822 GB, free: 180.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.183/9.924, allocations: 464.8 MB / 3.276 GB, free: 47.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.255e-06/9.924, allocations: 0 / 3.276 GB, free: 47.2 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.094e-05/9.924, allocations: 27.92 kB / 3.276 GB, free: 47.18 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.002712/9.927, allocations: 1.032 MB / 3.277 GB, free: 46.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/9.927, allocations: 12.02 kB / 3.277 GB, free: 46.09 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/9.93, allocations: 270.8 kB / 3.278 GB, free: 45.82 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/9.931, allocations: 0.6207 MB / 3.278 GB, free: 45.15 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.179e-05/9.932, allocations: 16 kB / 3.278 GB, free: 45.14 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001226/9.932, allocations: 32 kB / 3.278 GB, free: 45.11 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001201/9.933, allocations: 446.5 kB / 3.279 GB, free: 44.67 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/9.934, allocations: 0.5169 MB / 3.279 GB, free: 44.14 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.998e-05/9.934, allocations: 4 kB / 3.279 GB, free: 44.14 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.286e-05/9.934, allocations: 3.953 kB / 3.279 GB, free: 44.13 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.689e-05/9.934, allocations: 25.25 kB / 3.279 GB, free: 44.11 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.004232/9.939, allocations: 2.309 MB / 3.281 GB, free: 41.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/9.939, allocations: 339.9 kB / 3.282 GB, free: 41.26 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/9.94, allocations: 197.5 kB / 3.282 GB, free: 41.06 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006954/9.94, allocations: 303.6 kB / 3.282 GB, free: 40.71 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/9.94, allocations: 38.84 kB / 3.282 GB, free: 40.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 2.965e-06/9.94, allocations: 4 kB / 3.282 GB, free: 40.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.001594/9.942, allocations: 423.1 kB / 3.283 GB, free: 40.24 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.589e-05/9.942, allocations: 55.41 kB / 3.283 GB, free: 40.18 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/9.943, allocations: 369.2 kB / 3.283 GB, free: 39.81 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.231e-05/9.943, allocations: 29.7 kB / 3.283 GB, free: 39.77 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/9.943, allocations: 324.3 kB / 3.283 GB, free: 39.45 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/9.943, allocations: 138 kB / 3.284 GB, free: 39.32 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/9.943, allocations: 4 kB / 3.284 GB, free: 39.31 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001065/9.943, allocations: 358.8 kB / 3.284 GB, free: 38.95 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003137/9.944, allocations: 140.8 kB / 3.284 GB, free: 38.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003951/9.944, allocations: 252.3 kB / 3.284 GB, free: 38.52 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006059/9.945, allocations: 203.8 kB / 3.284 GB, free: 38.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.529e-06/9.945, allocations: 0 / 3.284 GB, free: 38.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001159/9.946, allocations: 468.6 kB / 3.285 GB, free: 37.86 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002011/9.946, allocations: 0.881 MB / 3.286 GB, free: 36.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/9.946, allocations: 4 kB / 3.286 GB, free: 36.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/9.946, allocations: 4 kB / 3.286 GB, free: 36.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/9.947, allocations: 107.9 kB / 3.286 GB, free: 36.8 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000411/9.948, allocations: 0.5977 MB / 3.286 GB, free: 36.18 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/9.949, allocations: 67.64 kB / 3.287 GB, free: 36.11 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.037e-05/9.949, allocations: 27.92 kB / 3.287 GB, free: 36.08 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/9.949, allocations: 6.656 kB / 3.287 GB, free: 36.08 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/9.95, allocations: 383.9 kB / 3.287 GB, free: 35.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/9.95, allocations: 4 kB / 3.287 GB, free: 35.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.036e-05/9.95, allocations: 4 kB / 3.287 GB, free: 35.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000757/9.951, allocations: 103.9 kB / 3.287 GB, free: 35.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/9.951, allocations: 7.938 kB / 3.287 GB, free: 35.59 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/9.952, allocations: 63.92 kB / 3.287 GB, free: 35.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/9.952, allocations: 16 kB / 3.287 GB, free: 35.51 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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 prepare postOptimizeDAE: time 0.0001855/9.952, allocations: 120.9 kB / 3.287 GB, free: 35.38 MB / 0.823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001031/9.953, allocations: 397 kB / 3.288 GB, free: 34.99 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/9.953, allocations: 55.34 kB / 3.288 GB, free: 34.93 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/9.955, allocations: 418.9 kB / 3.288 GB, free: 34.51 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/9.955, allocations: 8 kB / 3.288 GB, free: 34.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/9.955, allocations: 0 / 3.288 GB, free: 34.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008916/9.956, allocations: 0.668 MB / 3.289 GB, free: 33.75 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/9.958, allocations: 1.144 MB / 3.29 GB, free: 32.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.951e-06/9.958, allocations: 4 kB / 3.29 GB, free: 32.53 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009806/9.959, allocations: 116 kB / 3.29 GB, free: 32.42 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.168e-05/9.959, allocations: 7.953 kB / 3.29 GB, free: 32.41 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.169e-05/9.959, allocations: 4 kB / 3.29 GB, free: 32.41 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002722/9.96, allocations: 0.5937 MB / 3.291 GB, free: 31.79 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/9.96, allocations: 4.031 kB / 3.291 GB, free: 31.79 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/9.961, allocations: 0.8214 MB / 3.291 GB, free: 30.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003975/9.962, allocations: 176.4 kB / 3.292 GB, free: 30.69 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/9.962, allocations: 7.984 kB / 3.292 GB, free: 30.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008685/9.963, allocations: 43.95 kB / 3.292 GB, free: 30.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/9.963, allocations: 31.92 kB / 3.292 GB, free: 30.61 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.401e-05/9.963, allocations: 12 kB / 3.292 GB, free: 30.59 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000435/9.963, allocations: 286.9 kB / 3.292 GB, free: 30.32 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.91e-07/9.963, allocations: 0 / 3.292 GB, free: 30.32 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001689/9.965, allocations: 447 kB / 3.292 GB, free: 29.88 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],senDenFlo.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * 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.004291/9.969, allocations: 3.31 MB / 3.296 GB, free: 26.44 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.00183/9.971, allocations: 0.5727 MB / 3.296 GB, free: 25.87 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/9.971, allocations: 1.125 kB / 3.296 GB, free: 25.87 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.00052/9.972, allocations: 184.2 kB / 3.296 GB, free: 25.69 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002792/9.975, allocations: 316.6 kB / 3.297 GB, free: 25.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003502/9.978, allocations: 1.232 MB / 3.298 GB, free: 24.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005205/9.979, allocations: 0.9699 MB / 3.299 GB, free: 23.09 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.00151/9.98, allocations: 228.6 kB / 3.299 GB, free: 22.87 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004763/9.981, allocations: 223.3 kB / 3.299 GB, free: 22.65 MB / 0.823 GB Notification: Performance of SimCode: time 1.383e-06/9.981, allocations: 0 / 3.299 GB, free: 22.65 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6858/10.67, allocations: 26.6 MB / 3.325 GB, free: 183 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002292/10.67, allocations: 167.9 kB / 3.325 GB, free: 182.8 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.927/14.59, allocations: 0 / 3.325 GB, free: 182.8 MB / 0.823 GB