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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004239/0.004244, allocations: 232.9 kB / 15.8 MB, free: 6.281 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00112/0.00112, allocations: 182.8 kB / 16.69 MB, free: 5.449 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.727/3.727, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.297/4.297, allocations: 472.3 MB / 0.9024 GB, free: 9.246 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007198/0.0007199, allocations: 12 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1767, allocations: 98.73 MB / 1.105 GB, free: 42.1 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8049/0.9816, allocations: 166.4 MB / 1.267 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0155/0.9972, allocations: 6.964 MB / 1.274 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001429/0.9987, allocations: 23.06 kB / 1.274 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.001724/1, allocations: 377.5 kB / 1.274 GB, free: 13.83 MB / 0.6511 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:25:17-26:47:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Fluid/Sources/BaseClasses/PartialSource.mo:23:17-24:49:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006026/1.006, allocations: 1.422 MB / 1.276 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005125/1.012, allocations: 1.063 MB / 1.277 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.004366/1.016, allocations: 2.385 MB / 1.279 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001146/1.017, allocations: 0.5022 MB / 1.28 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002123/1.019, allocations: 0.6839 MB / 1.28 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001366/1.021, allocations: 0.5925 MB / 1.281 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0001365/1.021, allocations: 30.84 kB / 1.281 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003148/1.024, allocations: 0.7819 MB / 1.282 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0004941/1.025, allocations: 253.7 kB / 1.282 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0003611/1.025, allocations: 181.8 kB / 1.282 GB, free: 10.08 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.002294/1.027, allocations: 1.049 MB / 1.283 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/1.027, allocations: 1.125 kB / 1.283 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.455e-06/1.027, allocations: 0 / 1.283 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.556e-05/1.027, allocations: 0 / 1.283 GB, free: 9.43 MB / 0.6511 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.002485/1.03, allocations: 0.9841 MB / 1.284 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.03, allocations: 9.062 kB / 1.284 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002711/1.033, allocations: 284.3 kB / 1.284 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001491/1.034, allocations: 0.5515 MB / 1.285 GB, free: 8.062 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.429e-05/1.034, allocations: 45.47 kB / 1.285 GB, free: 8.039 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001353/1.034, allocations: 55.97 kB / 1.285 GB, free: 8.02 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001746/1.036, allocations: 0.6428 MB / 1.285 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/1.036, allocations: 0 / 1.285 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.882e-05/1.036, allocations: 25.08 kB / 1.286 GB, free: 7.621 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.324e-05/1.036, allocations: 23.58 kB / 1.286 GB, free: 7.617 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/1.038, allocations: 0.5354 MB / 1.286 GB, free: 7.359 MB / 0.6511 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.00488/1.043, allocations: 2.456 MB / 1.288 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001015/1.044, allocations: 390.2 kB / 1.289 GB, free: 5.004 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006584/1.044, allocations: 246.1 kB / 1.289 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009171/1.045, allocations: 317.2 kB / 1.289 GB, free: 4.578 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.987e-05/1.045, allocations: 41.23 kB / 1.289 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=39): time 3.417e-06/1.045, allocations: 0 / 1.289 GB, free: 4.531 MB / 0.6511 GB Notification: Performance of matching and sorting (n=39): time 0.002265/1.048, allocations: 0.63 MB / 1.29 GB, free: 4.219 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.438e-05/1.048, allocations: 56.41 kB / 1.29 GB, free: 4.156 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009134/1.049, allocations: 0.4905 MB / 1.291 GB, free: 3.859 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.741e-05/1.049, allocations: 33.52 kB / 1.291 GB, free: 3.824 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003538/1.049, allocations: 328.4 kB / 1.291 GB, free: 3.535 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000186/1.049, allocations: 140.3 kB / 1.291 GB, free: 3.414 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.729e-05/1.049, allocations: 5.125 kB / 1.291 GB, free: 3.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002081/1.05, allocations: 364.9 kB / 1.291 GB, free: 3.059 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005481/1.05, allocations: 166.6 kB / 1.292 GB, free: 2.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006676/1.051, allocations: 285.3 kB / 1.292 GB, free: 2.777 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006201/1.052, allocations: 209.8 kB / 1.292 GB, free: 2.68 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/1.052, allocations: 4 kB / 1.292 GB, free: 2.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001588/1.053, allocations: 0.5281 MB / 1.293 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000122/1.053, allocations: 156.8 kB / 1.293 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.053, allocations: 2.688 kB / 1.293 GB, free: 2.227 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/1.053, allocations: 9.172 kB / 1.293 GB, free: 2.223 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.055, allocations: 142.8 kB / 1.293 GB, free: 2.188 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005133/1.055, allocations: 0.5914 MB / 1.293 GB, free: 1.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/1.056, allocations: 81.05 kB / 1.293 GB, free: 1.543 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/1.056, allocations: 22.27 kB / 1.294 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/1.056, allocations: 4.688 kB / 1.294 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001387/1.058, allocations: 457.9 kB / 1.294 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.058, allocations: 2.406 kB / 1.294 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/1.058, allocations: 5.094 kB / 1.294 GB, free: 1.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009982/1.059, allocations: 128.7 kB / 1.294 GB, free: 1.289 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.61e-05/1.059, allocations: 8.562 kB / 1.294 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00104/1.06, allocations: 79.86 kB / 1.294 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-05/1.06, allocations: 17.38 kB / 1.294 GB, free: 1.238 MB / 0.6511 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 () * Number of clocked 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.0005542/1.061, allocations: 311.5 kB / 1.294 GB, free: 0.9766 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.061, allocations: 60.61 kB / 1.295 GB, free: 0.9453 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/1.062, allocations: 497 kB / 1.295 GB, free: 0.668 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001339/1.064, allocations: 0.706 MB / 1.296 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/1.064, allocations: 0.625 kB / 1.296 GB, free: 68 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004868/1.064, allocations: 184.7 kB / 1.296 GB, free: 15.9 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001287/1.064, allocations: 7.031 kB / 1.296 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008659/1.065, allocations: 50.73 kB / 1.296 GB, free: 15.87 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.065, allocations: 22.84 kB / 1.296 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002296/1.068, allocations: 0.6034 MB / 1.297 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002111/1.07, allocations: 0.8687 MB / 1.297 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007191/1.07, allocations: 197.3 kB / 1.298 GB, free: 14.86 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0007332/1.071, allocations: 347 kB / 1.298 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of Backend: time 6.42e-07/1.071, allocations: 0 / 1.298 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003891/1.075, allocations: 0.8867 MB / 1.299 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of SimCode: time 0.005449/1.081, allocations: 2.272 MB / 1.301 GB, free: 12.53 MB / 0.6667 GB Notification: Performance of Templates: time 0.04254/1.123, allocations: 15.32 MB / 1.316 GB, free: 15.79 MB / 0.6823 GB