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.01042/0.01042, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001068/0.001068, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.444/3.444, allocations: 389.1 MB / 405.9 MB, free: 67.67 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.099/4.099, allocations: 472.3 MB / 0.9018 GB, free: 13.41 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005002/0.0005004, allocations: 20 kB / 1.008 GB, free: 0.8477 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4838/0.4843, allocations: 98.72 MB / 1.104 GB, free: 183.9 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.1575/0.6419, allocations: 166.4 MB / 1.267 GB, free: 17.75 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009791/0.6517, allocations: 6.968 MB / 1.273 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008311/0.6526, allocations: 23.81 kB / 1.273 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.6536, allocations: 377.6 kB / 1.274 GB, free: 10.38 MB / 0.6823 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.003838/0.6575, allocations: 1.417 MB / 1.275 GB, free: 8.961 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003679/0.6612, allocations: 1.065 MB / 1.276 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002482/0.6637, allocations: 2.393 MB / 1.278 GB, free: 5.512 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007042/0.6644, allocations: 0.504 MB / 1.279 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.6656, allocations: 0.6768 MB / 1.28 GB, free: 4.336 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007395/0.6663, allocations: 0.5885 MB / 1.28 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.098e-05/0.6664, allocations: 28 kB / 1.28 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002088/0.6685, allocations: 0.7869 MB / 1.281 GB, free: 2.93 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.000267/0.6688, allocations: 257.3 kB / 1.281 GB, free: 2.68 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002002/0.669, allocations: 181.3 kB / 1.281 GB, free: 2.496 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.6703, allocations: 1.03 MB / 1.282 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.6703, allocations: 4 kB / 1.282 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.306e-06/0.6703, allocations: 4 kB / 1.282 GB, free: 1.457 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.105e-05/0.6703, allocations: 0 / 1.282 GB, free: 1.457 MB / 0.6823 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.4447/1.115, allocations: 0.985 MB / 1.283 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/1.115, allocations: 8.969 kB / 1.283 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002409/1.118, allocations: 275.2 kB / 1.284 GB, free: 180.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001171/1.119, allocations: 0.5648 MB / 1.284 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.842e-05/1.119, allocations: 39.56 kB / 1.284 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/1.119, allocations: 58.12 kB / 1.284 GB, free: 180 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001446/1.12, allocations: 0.6401 MB / 1.285 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.323e-05/1.12, allocations: 3.594 kB / 1.285 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.045e-05/1.12, allocations: 25.11 kB / 1.285 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.28e-05/1.121, allocations: 21.16 kB / 1.285 GB, free: 179.8 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001255/1.122, allocations: 0.5331 MB / 1.285 GB, free: 179.6 MB / 0.6823 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.003593/1.125, allocations: 2.46 MB / 1.288 GB, free: 177.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008461/1.126, allocations: 390 kB / 1.288 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/1.127, allocations: 241.4 kB / 1.288 GB, free: 177.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006129/1.127, allocations: 322.1 kB / 1.289 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/1.128, allocations: 42.94 kB / 1.289 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 3.904e-06/1.128, allocations: 0 / 1.289 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.001866/1.129, allocations: 0.6258 MB / 1.289 GB, free: 177.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.89e-05/1.129, allocations: 56.42 kB / 1.29 GB, free: 177 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007739/1.13, allocations: 495.5 kB / 1.29 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.905e-05/1.13, allocations: 36.42 kB / 1.29 GB, free: 176.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002382/1.131, allocations: 326.7 kB / 1.29 GB, free: 176.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00013/1.131, allocations: 139.5 kB / 1.29 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.847e-05/1.131, allocations: 9.375 kB / 1.29 GB, free: 176.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001165/1.131, allocations: 366.9 kB / 1.291 GB, free: 176 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004416/1.131, allocations: 164.9 kB / 1.291 GB, free: 176 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005278/1.132, allocations: 284.6 kB / 1.291 GB, free: 175.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005251/1.132, allocations: 206.4 kB / 1.291 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-06/1.132, allocations: 4.125 kB / 1.291 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001175/1.134, allocations: 0.5244 MB / 1.292 GB, free: 175.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.148e-05/1.134, allocations: 160.1 kB / 1.292 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.134, allocations: 2.75 kB / 1.292 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.134, allocations: 5.281 kB / 1.292 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009228/1.135, allocations: 145.5 kB / 1.292 GB, free: 175.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003067/1.135, allocations: 0.5998 MB / 1.293 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007622/1.136, allocations: 81.44 kB / 1.293 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/1.136, allocations: 18.53 kB / 1.293 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.669e-06/1.136, allocations: 4.125 kB / 1.293 GB, free: 174.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00108/1.137, allocations: 458.4 kB / 1.293 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.105e-06/1.137, allocations: 6.25 kB / 1.293 GB, free: 174.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.76e-06/1.137, allocations: 7.797 kB / 1.293 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006667/1.138, allocations: 135.6 kB / 1.294 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/1.138, allocations: 5.375 kB / 1.294 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000682/1.138, allocations: 70.52 kB / 1.294 GB, free: 174.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/1.138, allocations: 18.94 kB / 1.294 GB, free: 174.5 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.0004112/1.139, allocations: 308 kB / 1.294 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001454/1.139, allocations: 63.94 kB / 1.294 GB, free: 174.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/1.14, allocations: 490 kB / 1.294 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.432e-06/1.14, allocations: 9.688 kB / 1.294 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-06/1.14, allocations: 0 / 1.294 GB, free: 173.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001027/1.141, allocations: 0.7081 MB / 1.295 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002771/1.144, allocations: 1.291 MB / 1.296 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.399e-06/1.144, allocations: 1.875 kB / 1.296 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009589/1.145, allocations: 137.5 kB / 1.297 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.337e-05/1.145, allocations: 4.031 kB / 1.297 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.517e-05/1.145, allocations: 10 kB / 1.297 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000261/1.146, allocations: 0.5942 MB / 1.297 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.096e-06/1.146, allocations: 9.922 kB / 1.297 GB, free: 171.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001727/1.147, allocations: 0.8323 MB / 1.298 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/1.148, allocations: 182.4 kB / 1.298 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.148, allocations: 19.86 kB / 1.298 GB, free: 171.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007536/1.149, allocations: 54.48 kB / 1.298 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/1.149, allocations: 30.05 kB / 1.298 GB, free: 171 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.107e-05/1.149, allocations: 20.73 kB / 1.298 GB, free: 171 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0005372/1.149, allocations: 343.1 kB / 1.299 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.87e-07/1.149, allocations: 3.312 kB / 1.299 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001379/1.151, allocations: 363.7 kB / 1.299 GB, free: 170.7 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.0005057/1.151, allocations: 218.5 kB / 1.299 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001984/1.153, allocations: 0.663 MB / 1.3 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.683e-06/1.153, allocations: 1.031 kB / 1.3 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006338/1.154, allocations: 225.5 kB / 1.3 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/1.156, allocations: 359.8 kB / 1.3 GB, free: 170.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/1.159, allocations: 1.714 MB / 1.302 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004591/1.159, allocations: 0.9653 MB / 1.303 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001119/1.161, allocations: 198 kB / 1.303 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/1.161, allocations: 47.44 kB / 1.303 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.662e-06/1.161, allocations: 0 / 1.303 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of Templates: time 0.02546/1.186, allocations: 11.65 MB / 1.315 GB, free: 156.7 MB / 0.6823 GB