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.009016/0.00902, allocations: 111.2 kB / 15.06 MB, free: 5.562 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.001101/0.001101, allocations: 179 kB / 15.95 MB, free: 5.523 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 1.93/1.93, allocations: 194.6 MB / 211.3 MB, free: 11.01 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.144/2.144, allocations: 236.1 MB / 492.6 MB, free: 11.31 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004781/0.0004783, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6097/0.6102, allocations: 98.7 MB / 0.6833 GB, free: 16.62 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.297/0.9073, allocations: 153.9 MB / 0.8336 GB, free: 4 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02061/0.928, allocations: 6.565 MB / 0.8401 GB, free: 13.42 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001567/0.9296, allocations: 23.81 kB / 0.8401 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002492/0.9321, allocations: 426 kB / 0.8405 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007628/0.9398, allocations: 1.309 MB / 0.8418 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.006607/0.9465, allocations: 1.068 MB / 0.8428 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.002994/0.9495, allocations: 1.183 MB / 0.844 GB, free: 9.41 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.9507, allocations: 0.5083 MB / 0.8445 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001935/0.9526, allocations: 0.6463 MB / 0.8451 GB, free: 8.242 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009075/0.9536, allocations: 386.5 kB / 0.8455 GB, free: 7.863 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.9538, allocations: 32 kB / 0.8455 GB, free: 7.832 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00297/0.9567, allocations: 0.8814 MB / 0.8463 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0004919/0.9573, allocations: 227.4 kB / 0.8466 GB, free: 6.727 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0003659/0.9577, allocations: 181.3 kB / 0.8467 GB, free: 6.543 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002337/0.96, allocations: 1.026 MB / 0.8477 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.9601, allocations: 0 / 0.8477 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.148e-06/0.9601, allocations: 0 / 0.8477 GB, free: 5.516 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.268e-05/0.9601, allocations: 4 kB / 0.8477 GB, free: 5.512 MB / 0.6667 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.002165/0.9623, allocations: 0.9854 MB / 0.8487 GB, free: 4.477 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.9623, allocations: 8.031 kB / 0.8487 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002632/0.965, allocations: 282.7 kB / 0.849 GB, free: 4.191 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.9665, allocations: 0.5563 MB / 0.8495 GB, free: 3.598 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.241e-05/0.9666, allocations: 45.31 kB / 0.8496 GB, free: 3.551 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.9667, allocations: 55.98 kB / 0.8496 GB, free: 3.496 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001611/0.9683, allocations: 0.6401 MB / 0.8502 GB, free: 2.84 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.9684, allocations: 3.938 kB / 0.8502 GB, free: 2.836 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.699e-05/0.9685, allocations: 20 kB / 0.8503 GB, free: 2.816 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/0.9685, allocations: 25.27 kB / 0.8503 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001463/0.97, allocations: 0.536 MB / 0.8508 GB, free: 2.254 MB / 0.6667 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.004621/0.9746, allocations: 2.453 MB / 0.8532 GB, free: 15.58 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.9757, allocations: 396.8 kB / 0.8536 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004926/0.9762, allocations: 149.3 kB / 0.8537 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.9763, allocations: 38.89 kB / 0.8538 GB, free: 14.98 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 5.957e-06/0.9763, allocations: 3.984 kB / 0.8538 GB, free: 14.97 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.00208/0.9784, allocations: 0.6261 MB / 0.8544 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.9785, allocations: 55.41 kB / 0.8544 GB, free: 14.27 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008863/0.9793, allocations: 498.9 kB / 0.8549 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001022/0.9795, allocations: 37.7 kB / 0.8549 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003232/0.9798, allocations: 316.4 kB / 0.8552 GB, free: 13.42 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001909/0.98, allocations: 145.9 kB / 0.8554 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.9801, allocations: 12 kB / 0.8554 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002303/0.9803, allocations: 366.7 kB / 0.8557 GB, free: 12.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/0.9808, allocations: 168.8 kB / 0.8559 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.9815, allocations: 279.4 kB / 0.8562 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005775/0.9821, allocations: 207.9 kB / 0.8564 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.74e-06/0.9821, allocations: 0 / 0.8564 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001477/0.9836, allocations: 0.5278 MB / 0.8569 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.9841, allocations: 0.8785 MB / 0.8577 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.9842, allocations: 0 / 0.8577 GB, free: 10.74 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.437e-05/0.9842, allocations: 8 kB / 0.8578 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009947/0.9852, allocations: 147.7 kB / 0.8579 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000578/0.9858, allocations: 0.5938 MB / 0.8585 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008943/0.9867, allocations: 83.61 kB / 0.8586 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.9868, allocations: 20.06 kB / 0.8586 GB, free: 9.871 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.9868, allocations: 4 kB / 0.8586 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001288/0.9881, allocations: 463.7 kB / 0.859 GB, free: 9.414 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.9882, allocations: 4 kB / 0.859 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.9882, allocations: 4 kB / 0.859 GB, free: 9.406 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007075/0.9889, allocations: 123.9 kB / 0.8591 GB, free: 9.285 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.9889, allocations: 11.94 kB / 0.8592 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008361/0.9898, allocations: 81.33 kB / 0.8592 GB, free: 9.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.9899, allocations: 20 kB / 0.8593 GB, free: 9.176 MB / 0.6823 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.0005674/0.9905, allocations: 305 kB / 0.8595 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.9906, allocations: 55.34 kB / 0.8596 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001348/0.992, allocations: 498.5 kB / 0.8601 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.409e-06/0.992, allocations: 4 kB / 0.8601 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.086e-06/0.992, allocations: 0 / 0.8601 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.9933, allocations: 0.7082 MB / 0.8608 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003177/0.9965, allocations: 1.292 MB / 0.862 GB, free: 6.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.9965, allocations: 4 kB / 0.862 GB, free: 6.145 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000858/0.9974, allocations: 140 kB / 0.8622 GB, free: 6.008 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.9974, allocations: 4 kB / 0.8622 GB, free: 6.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.723e-05/0.9975, allocations: 12 kB / 0.8622 GB, free: 5.992 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000496/0.998, allocations: 0.5861 MB / 0.8628 GB, free: 5.383 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.966e-06/0.9981, allocations: 7.922 kB / 0.8628 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/1, allocations: 0.9191 MB / 0.8637 GB, free: 4.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004555/1.001, allocations: 180.4 kB / 0.8638 GB, free: 4.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/1.001, allocations: 11.94 kB / 0.8638 GB, free: 4.168 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007126/1.001, allocations: 58.23 kB / 0.8639 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.002, allocations: 31.92 kB / 0.8639 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-05/1.002, allocations: 15.98 kB / 0.8639 GB, free: 4.066 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000633/1.002, allocations: 350.8 kB / 0.8643 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.07e-07/1.002, allocations: 0 / 0.8643 GB, free: 3.727 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001404/1.004, allocations: 363.1 kB / 0.8646 GB, free: 3.371 MB / 0.6823 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 () * Number of clocked 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.0006243/1.004, allocations: 211.6 kB / 0.8648 GB, free: 3.16 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002154/1.006, allocations: 0.6804 MB / 0.8655 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.657e-06/1.007, allocations: 0 / 0.8655 GB, free: 2.48 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000697/1.007, allocations: 227.7 kB / 0.8657 GB, free: 2.258 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002178/1.009, allocations: 339.2 kB / 0.866 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003512/1.013, allocations: 1.711 MB / 0.8677 GB, free: 172 kB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008356/1.014, allocations: 0.9649 MB / 0.8686 GB, free: 15.18 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001126/1.015, allocations: 200.8 kB / 0.8688 GB, free: 14.98 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002103/1.015, allocations: 47.44 kB / 0.8689 GB, free: 14.93 MB / 0.698 GB Notification: Performance of SimCode: time 1.701e-06/1.015, allocations: 3.938 kB / 0.8689 GB, free: 14.93 MB / 0.698 GB Notification: Performance of Templates: time 0.03138/1.047, allocations: 11.62 MB / 0.8802 GB, free: 3.527 MB / 0.698 GB