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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.665/4.665, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.673e-05/4.699e-05, allocations: 4.734 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2376, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.307/7.544, allocations: 2.194 GB / 2.829 GB, free: 107.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/7.545, allocations: 87.77 kB / 2.829 GB, free: 107.3 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.809/10.35, allocations: 470.3 MB / 3.288 GB, free: 186.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.966e-06/10.35, allocations: 3.75 kB / 3.288 GB, free: 186.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.971e-05/10.35, allocations: 26.98 kB / 3.288 GB, free: 186.5 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.003184/10.36, allocations: 1.033 MB / 3.289 GB, free: 186.2 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.637e-05/10.36, allocations: 7.875 kB / 3.289 GB, free: 186.2 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000252/10.36, allocations: 100 kB / 3.289 GB, free: 186.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002992/10.36, allocations: 265.4 kB / 3.289 GB, free: 186.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/10.36, allocations: 0.6043 MB / 3.29 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.311e-05/10.36, allocations: 51.14 kB / 3.29 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/10.36, allocations: 54.72 kB / 3.29 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001585/10.36, allocations: 0.5952 MB / 3.291 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.156e-05/10.36, allocations: 0 / 3.291 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.959e-05/10.36, allocations: 27.3 kB / 3.291 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-05/10.36, allocations: 19.47 kB / 3.291 GB, free: 185.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001258/10.37, allocations: 480.4 kB / 3.291 GB, free: 185.8 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.004913/10.37, allocations: 2.419 MB / 3.294 GB, free: 184.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008481/10.37, allocations: 364 kB / 3.294 GB, free: 184.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/10.37, allocations: 209.5 kB / 3.294 GB, free: 184.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007576/10.37, allocations: 303.8 kB / 3.294 GB, free: 184.2 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.92e-05/10.37, allocations: 41.8 kB / 3.295 GB, free: 184.1 MB / 0.823 GB Notification: Performance of pre-optimization done (n=39): time 3.286e-06/10.37, allocations: 0 / 3.295 GB, free: 184.1 MB / 0.823 GB Notification: Performance of matching and sorting (n=39): time 0.0015/10.37, allocations: 427.3 kB / 3.295 GB, free: 184.1 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/10.37, allocations: 59.06 kB / 3.295 GB, free: 184 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008257/10.38, allocations: 431.8 kB / 3.295 GB, free: 183.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/10.38, allocations: 38.58 kB / 3.295 GB, free: 183.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002632/10.38, allocations: 327.6 kB / 3.296 GB, free: 183.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/10.38, allocations: 142.4 kB / 3.296 GB, free: 183.6 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.405e-05/10.38, allocations: 9.5 kB / 3.296 GB, free: 183.6 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001241/10.38, allocations: 364.2 kB / 3.296 GB, free: 183.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/10.38, allocations: 152.2 kB / 3.296 GB, free: 183.3 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004629/10.38, allocations: 259.5 kB / 3.297 GB, free: 183.2 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004637/10.38, allocations: 192.6 kB / 3.297 GB, free: 183.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/10.38, allocations: 0 / 3.297 GB, free: 183.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001233/10.38, allocations: 495.8 kB / 3.297 GB, free: 183.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002421/10.38, allocations: 0.873 MB / 3.298 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/10.38, allocations: 7.312 kB / 3.298 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.669e-05/10.38, allocations: 10.83 kB / 3.298 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/10.38, allocations: 105.5 kB / 3.298 GB, free: 182.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004397/10.38, allocations: 0.5896 MB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001302/10.38, allocations: 85.78 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.662e-05/10.38, allocations: 18.31 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/10.38, allocations: 3.906 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/10.38, allocations: 407.2 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.706e-06/10.38, allocations: 3.844 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/10.38, allocations: 3.75 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/10.38, allocations: 100.2 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/10.38, allocations: 3.938 kB / 3.299 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001253/10.39, allocations: 88.92 kB / 3.3 GB, free: 181.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-05/10.39, allocations: 21.41 kB / 3.3 GB, free: 181.6 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.0002378/10.39, allocations: 132.5 kB / 3.3 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001561/10.39, allocations: 57.09 kB / 3.3 GB, free: 181.5 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/10.39, allocations: 433.6 kB / 3.3 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/10.39, allocations: 7.875 kB / 3.3 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/10.39, allocations: 3.688 kB / 3.3 GB, free: 181.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008679/10.39, allocations: 0.6772 MB / 3.301 GB, free: 181 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002942/10.39, allocations: 1.227 MB / 3.302 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.606e-06/10.39, allocations: 3.938 kB / 3.302 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001066/10.39, allocations: 113 kB / 3.302 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.308e-05/10.39, allocations: 3.125 kB / 3.302 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/10.39, allocations: 11.12 kB / 3.302 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003095/10.39, allocations: 0.5865 MB / 3.303 GB, free: 180 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.532e-06/10.39, allocations: 9.984 kB / 3.303 GB, free: 180 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001556/10.39, allocations: 0.8369 MB / 3.304 GB, free: 179.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000522/10.39, allocations: 185 kB / 3.304 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001559/10.4, allocations: 14.69 kB / 3.304 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/10.4, allocations: 55.25 kB / 3.304 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/10.4, allocations: 36.75 kB / 3.304 GB, free: 179.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.902e-05/10.4, allocations: 13.31 kB / 3.304 GB, free: 179.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0006312/10.4, allocations: 342.8 kB / 3.304 GB, free: 179.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.21e-07/10.4, allocations: 0 / 3.304 GB, free: 179.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002191/10.4, allocations: 495.4 kB / 3.305 GB, free: 179.4 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.004557/10.4, allocations: 3.137 MB / 3.308 GB, free: 177.8 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001992/10.41, allocations: 0.6058 MB / 3.308 GB, free: 177.8 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 8.196e-06/10.41, allocations: 0 / 3.308 GB, free: 177.8 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005865/10.41, allocations: 204.9 kB / 3.308 GB, free: 177.8 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/10.41, allocations: 360.4 kB / 3.309 GB, free: 177.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003812/10.41, allocations: 1.278 MB / 3.31 GB, free: 177.4 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/10.41, allocations: 0.9631 MB / 3.311 GB, free: 176.7 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001604/10.42, allocations: 243 kB / 3.311 GB, free: 176.7 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004275/10.42, allocations: 220 kB / 3.311 GB, free: 176.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.413e-06/10.42, allocations: 0 / 3.311 GB, free: 176.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1402/10.56, allocations: 42.71 MB / 3.353 GB, free: 175.4 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002296/10.56, allocations: 212.8 kB / 3.353 GB, free: 175.2 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.067/15.62, allocations: 0 / 3.353 GB, free: 175.2 MB / 0.823 GB