Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Density.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01551/0.01552, allocations: 89.53 kB / 15.04 MB, free: 5.578 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001232/0.001232, allocations: 172.2 kB / 15.92 MB, free: 5.551 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.142/2.142, allocations: 205.5 MB / 222.2 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.431/2.431, allocations: 252.8 MB / 0.511 GB, free: 8.363 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006401/0.0006403, allocations: 15.25 kB / 0.6243 GB, free: 28.3 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2367/0.2374, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 1.07/1.308, allocations: 154.1 MB / 0.8786 GB, free: 4.922 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.01428/1.322, allocations: 6.554 MB / 0.885 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001416/1.324, allocations: 20.28 kB / 0.885 GB, free: 4.828 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002255/1.326, allocations: 429.6 kB / 0.8854 GB, free: 4.824 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.006784/1.333, allocations: 1.304 MB / 0.8867 GB, free: 4.812 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005412/1.338, allocations: 1.078 MB / 0.8878 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.003347/1.341, allocations: 1.145 MB / 0.8889 GB, free: 4.781 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001347/1.343, allocations: 0.5215 MB / 0.8894 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002493/1.345, allocations: 0.6313 MB / 0.89 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/1.347, allocations: 386.1 kB / 0.8904 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0002177/1.347, allocations: 30.94 kB / 0.8904 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/1.351, allocations: 0.879 MB / 0.8913 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/1.352, allocations: 225.7 kB / 0.8915 GB, free: 4.688 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0007158/1.352, allocations: 185.3 kB / 0.8916 GB, free: 20.66 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003056/1.355, allocations: 1.033 MB / 0.8927 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/1.355, allocations: 0 / 0.8927 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.766e-06/1.355, allocations: 0 / 0.8927 GB, free: 20.57 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.538e-05/1.355, allocations: 0 / 0.8927 GB, free: 20.57 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.002536/1.358, allocations: 0.9851 MB / 0.8936 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/1.358, allocations: 9.5 kB / 0.8936 GB, free: 19.93 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001815/1.358, allocations: 95.06 kB / 0.8937 GB, free: 19.89 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002842/1.361, allocations: 284.8 kB / 0.894 GB, free: 19.84 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001655/1.363, allocations: 0.5556 MB / 0.8945 GB, free: 19.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.916e-05/1.363, allocations: 42.22 kB / 0.8946 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/1.363, allocations: 53.69 kB / 0.8946 GB, free: 19.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001794/1.365, allocations: 0.638 MB / 0.8952 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.288e-05/1.365, allocations: 3.875 kB / 0.8952 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-05/1.365, allocations: 22.09 kB / 0.8953 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.332e-05/1.365, allocations: 21.69 kB / 0.8953 GB, free: 19.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001585/1.367, allocations: 0.5238 MB / 0.8958 GB, free: 19.49 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.005033/1.372, allocations: 2.459 MB / 0.8982 GB, free: 18.15 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009991/1.373, allocations: 386.9 kB / 0.8986 GB, free: 18.12 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006524/1.373, allocations: 140.7 kB / 0.8987 GB, free: 18.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.493e-05/1.374, allocations: 42.55 kB / 0.8987 GB, free: 17.99 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=39): time 3.356e-06/1.374, allocations: 1.25 kB / 0.8987 GB, free: 17.99 MB / 0.6823 GB Notification: Performance of matching and sorting (n=39): time 0.002276/1.376, allocations: 0.6243 MB / 0.8994 GB, free: 17.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.376, allocations: 59.42 kB / 0.8994 GB, free: 17.84 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008829/1.377, allocations: 496.5 kB / 0.8999 GB, free: 17.73 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.182e-05/1.377, allocations: 35.48 kB / 0.8999 GB, free: 17.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003078/1.377, allocations: 317.6 kB / 0.9002 GB, free: 17.54 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000161/1.377, allocations: 144.4 kB / 0.9004 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/1.377, allocations: 5.094 kB / 0.9004 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001896/1.378, allocations: 367.9 kB / 0.9007 GB, free: 17.14 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005316/1.378, allocations: 167.7 kB / 0.9009 GB, free: 17.13 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006199/1.379, allocations: 281.8 kB / 0.9011 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000577/1.379, allocations: 212.8 kB / 0.9013 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.379, allocations: 3.938 kB / 0.9014 GB, free: 17.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001408/1.381, allocations: 0.5231 MB / 0.9019 GB, free: 16.94 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004192/1.381, allocations: 0.8831 MB / 0.9027 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/1.381, allocations: 0 / 0.9027 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/1.381, allocations: 5.062 kB / 0.9027 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/1.383, allocations: 140.5 kB / 0.9029 GB, free: 16.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005265/1.383, allocations: 0.5966 MB / 0.9034 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.384, allocations: 82.23 kB / 0.9035 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/1.384, allocations: 17.09 kB / 0.9035 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.384, allocations: 3.281 kB / 0.9035 GB, free: 15.41 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001221/1.386, allocations: 462.3 kB / 0.904 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.386, allocations: 2.938 kB / 0.904 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/1.386, allocations: 3.219 kB / 0.904 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008959/1.387, allocations: 130.3 kB / 0.9041 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.387, allocations: 10.34 kB / 0.9041 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/1.388, allocations: 77.17 kB / 0.9042 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.397e-05/1.388, allocations: 20.95 kB / 0.9042 GB, free: 15.36 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.0005795/1.388, allocations: 314.1 kB / 0.9045 GB, free: 15.17 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001412/1.389, allocations: 55.75 kB / 0.9046 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.39, allocations: 492.8 kB / 0.905 GB, free: 15.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.39, allocations: 8.234 kB / 0.905 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/1.39, allocations: 4 kB / 0.9051 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001249/1.391, allocations: 0.7052 MB / 0.9057 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003611/1.395, allocations: 1.29 MB / 0.907 GB, free: 14.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/1.395, allocations: 7.125 kB / 0.907 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/1.396, allocations: 137.3 kB / 0.9071 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/1.396, allocations: 3.094 kB / 0.9071 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-05/1.396, allocations: 11.66 kB / 0.9072 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004527/1.397, allocations: 0.5971 MB / 0.9077 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.397, allocations: 4.922 kB / 0.9077 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002055/1.399, allocations: 0.9132 MB / 0.9086 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005568/1.399, allocations: 188.5 kB / 0.9088 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/1.4, allocations: 12.19 kB / 0.9088 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/1.401, allocations: 52.11 kB / 0.9089 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001316/1.401, allocations: 32.22 kB / 0.9089 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.653e-05/1.401, allocations: 19.06 kB / 0.9089 GB, free: 13.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006927/1.401, allocations: 348.8 kB / 0.9093 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/1.401, allocations: 0 / 0.9093 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001602/1.403, allocations: 369.2 kB / 0.9096 GB, free: 13.02 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.003262/1.406, allocations: 2.025 MB / 0.9116 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.409, allocations: 0.6792 MB / 0.9122 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/1.409, allocations: 0 / 0.9122 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007467/1.409, allocations: 223.4 kB / 0.9125 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/1.413, allocations: 360.4 kB / 0.9128 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009259/1.422, allocations: 5.123 MB / 0.9178 GB, free: 8.605 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007183/1.423, allocations: 0.9649 MB / 0.9187 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001297/1.424, allocations: 206.6 kB / 0.9189 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004684/1.425, allocations: 227.3 kB / 0.9192 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of SimCode: time 1.382e-06/1.425, allocations: 0 / 0.9192 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0646/1.489, allocations: 17.5 MB / 0.9363 GB, free: 15.36 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003519/1.49, allocations: 245.6 kB / 0.9365 GB, free: 15.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/4.565, allocations: 3.938 kB / 0.9365 GB, free: 15.11 MB / 0.698 GB