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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01871/0.01872, allocations: 108.3 kB / 15.06 MB, free: 5.555 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.002677/0.002677, allocations: 180.9 kB / 15.95 MB, free: 5.52 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 2.54/2.54, allocations: 194.6 MB / 211.3 MB, free: 11.02 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 3.075/3.075, allocations: 236.2 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005193/0.0005194, allocations: 12 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8075/0.8081, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.2843/1.092, allocations: 153.9 MB / 0.8337 GB, free: 4.129 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.01538/1.108, allocations: 6.565 MB / 0.8401 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/1.109, allocations: 19.81 kB / 0.8402 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/1.111, allocations: 422.1 kB / 0.8406 GB, free: 13.12 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.00618/1.118, allocations: 1.305 MB / 0.8418 GB, free: 11.81 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005318/1.123, allocations: 1.091 MB / 0.8429 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003411/1.127, allocations: 1.164 MB / 0.844 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/1.128, allocations: 0.5137 MB / 0.8445 GB, free: 9.023 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002435/1.13, allocations: 0.6424 MB / 0.8452 GB, free: 8.379 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/1.132, allocations: 398.4 kB / 0.8456 GB, free: 7.988 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002139/1.132, allocations: 32 kB / 0.8456 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/1.136, allocations: 0.8736 MB / 0.8464 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0006467/1.136, allocations: 235.3 kB / 0.8467 GB, free: 6.852 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/1.137, allocations: 177.3 kB / 0.8468 GB, free: 6.672 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.002988/1.14, allocations: 1.025 MB / 0.8478 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/1.14, allocations: 0 / 0.8478 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.196e-06/1.14, allocations: 0 / 0.8478 GB, free: 5.645 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.799e-05/1.14, allocations: 4 kB / 0.8478 GB, free: 5.641 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.002805/1.143, allocations: 0.9815 MB / 0.8488 GB, free: 4.609 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/1.143, allocations: 19.98 kB / 0.8488 GB, free: 4.59 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002824/1.143, allocations: 102.5 kB / 0.8489 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002972/1.146, allocations: 278.7 kB / 0.8492 GB, free: 4.207 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/1.148, allocations: 0.5563 MB / 0.8497 GB, free: 3.613 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.74e-05/1.148, allocations: 45.3 kB / 0.8498 GB, free: 3.566 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/1.148, allocations: 52 kB / 0.8498 GB, free: 3.516 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/1.15, allocations: 0.6362 MB / 0.8504 GB, free: 2.863 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.462e-05/1.15, allocations: 7.938 kB / 0.8504 GB, free: 2.855 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-05/1.15, allocations: 24 kB / 0.8505 GB, free: 2.832 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-05/1.15, allocations: 29.25 kB / 0.8505 GB, free: 2.805 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00178/1.152, allocations: 0.5321 MB / 0.851 GB, free: 2.27 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.005546/1.158, allocations: 2.453 MB / 0.8534 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/1.159, allocations: 408.2 kB / 0.8538 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006587/1.16, allocations: 145.3 kB / 0.8539 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/1.16, allocations: 38.89 kB / 0.854 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 3.476e-06/1.16, allocations: 0 / 0.854 GB, free: 14.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.002493/1.162, allocations: 0.6183 MB / 0.8546 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/1.162, allocations: 63.34 kB / 0.8546 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/1.163, allocations: 498.9 kB / 0.8551 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/1.164, allocations: 37.7 kB / 0.8551 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003433/1.164, allocations: 320.4 kB / 0.8555 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/1.164, allocations: 141.9 kB / 0.8556 GB, free: 13.29 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/1.164, allocations: 11.94 kB / 0.8556 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001965/1.164, allocations: 366.8 kB / 0.8559 GB, free: 12.91 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/1.165, allocations: 168.8 kB / 0.8561 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/1.166, allocations: 275.4 kB / 0.8564 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000664/1.166, allocations: 215.9 kB / 0.8566 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/1.166, allocations: 0 / 0.8566 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001676/1.168, allocations: 0.528 MB / 0.8571 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004308/1.169, allocations: 0.8742 MB / 0.8579 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/1.169, allocations: 4 kB / 0.858 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.86e-05/1.169, allocations: 7.953 kB / 0.858 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001486/1.17, allocations: 143.8 kB / 0.8581 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005621/1.171, allocations: 0.5899 MB / 0.8587 GB, free: 9.992 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00125/1.172, allocations: 83.58 kB / 0.8588 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/1.172, allocations: 19.98 kB / 0.8588 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/1.172, allocations: 4 kB / 0.8588 GB, free: 9.887 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001484/1.174, allocations: 451.5 kB / 0.8592 GB, free: 9.445 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.174, allocations: 3.984 kB / 0.8592 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/1.174, allocations: 8 kB / 0.8592 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/1.175, allocations: 132.1 kB / 0.8593 GB, free: 9.305 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/1.175, allocations: 4 kB / 0.8593 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/1.176, allocations: 83.44 kB / 0.8594 GB, free: 9.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.113e-05/1.176, allocations: 16 kB / 0.8594 GB, free: 9.203 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.000597/1.177, allocations: 308.9 kB / 0.8597 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/1.177, allocations: 63.34 kB / 0.8598 GB, free: 8.828 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/1.179, allocations: 482.6 kB / 0.8603 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/1.179, allocations: 4 kB / 0.8603 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.179, allocations: 0 / 0.8603 GB, free: 8.344 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001406/1.18, allocations: 0.7159 MB / 0.861 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003621/1.184, allocations: 1.288 MB / 0.8622 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/1.184, allocations: 3.953 kB / 0.8622 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.185, allocations: 144 kB / 0.8624 GB, free: 6.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.37e-05/1.185, allocations: 4 kB / 0.8624 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.857e-05/1.185, allocations: 8 kB / 0.8624 GB, free: 6.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004758/1.186, allocations: 0.5977 MB / 0.863 GB, free: 5.398 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/1.186, allocations: 7.969 kB / 0.863 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002297/1.188, allocations: 0.912 MB / 0.8639 GB, free: 4.398 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005191/1.189, allocations: 180.4 kB / 0.864 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001408/1.189, allocations: 11.98 kB / 0.864 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/1.19, allocations: 59.8 kB / 0.8641 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001402/1.19, allocations: 31.92 kB / 0.8641 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.909e-05/1.19, allocations: 19.92 kB / 0.8641 GB, free: 4.082 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007068/1.191, allocations: 346.8 kB / 0.8645 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/1.191, allocations: 0 / 0.8645 GB, free: 3.746 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001648/1.192, allocations: 363.1 kB / 0.8648 GB, free: 3.391 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.003427/1.196, allocations: 2.043 MB / 0.8668 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002628/1.198, allocations: 0.6689 MB / 0.8675 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 8.717e-06/1.199, allocations: 4.125 kB / 0.8675 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008189/1.199, allocations: 219.7 kB / 0.8677 GB, free: 400 kB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003257/1.203, allocations: 344 kB / 0.868 GB, free: 60 kB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/1.214, allocations: 5.148 MB / 0.873 GB, free: 10.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008881/1.215, allocations: 0.9688 MB / 0.874 GB, free: 9.797 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001377/1.216, allocations: 196.9 kB / 0.8742 GB, free: 9.605 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005621/1.217, allocations: 227.4 kB / 0.8744 GB, free: 9.383 MB / 0.698 GB Notification: Performance of SimCode: time 1.282e-06/1.217, allocations: 0 / 0.8744 GB, free: 9.383 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06886/1.286, allocations: 17.56 MB / 0.8915 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003674/1.286, allocations: 236 kB / 0.8918 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.279/4.565, allocations: 0 / 0.8918 GB, free: 7.93 MB / 0.7136 GB