Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|density2_1.d|density2_2.d|density1_1.d|density1_2.d|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.468/2.468, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.434e-05/4.458e-05, allocations: 4 kB / 348.4 MB, free: 2.758 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3319, allocations: 61.88 MB / 410.3 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.914/7.246, allocations: 2.767 GB / 3.168 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/7.246, allocations: 81.33 kB / 3.168 GB, free: 131.2 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308:69:writable] Warning: Inherited elements are not identical: bug: https://trac.modelica.org/Modelica/ticket/627 first: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start, stateSelect = if momentumDynamics == Modelica.Fluid.Types.Dynamics.SteadyState then StateSelect.default else StateSelect.prefer) "Mass flow rates between states" second: Medium.MassFlowRate m_flow(min = if allowFlowReversal then -Modelica.Constants.inf else 0, start = m_flow_start) "Mass flow rate in design flow direction" Continue .... Notification: Performance of FrontEnd - DAE generated: time 2.911/10.16, allocations: 0.6722 GB / 3.84 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.71e-06/10.16, allocations: 0 / 3.84 GB, free: 53.77 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.556e-05/10.16, allocations: 25.16 kB / 3.84 GB, free: 53.77 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.006879/10.16, allocations: 2.185 MB / 3.842 GB, free: 52.65 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/10.16, allocations: 15 kB / 3.842 GB, free: 52.65 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/10.17, allocations: 0.5744 MB / 3.843 GB, free: 52.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001718/10.17, allocations: 0.6685 MB / 3.843 GB, free: 52.32 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/10.17, allocations: 63.5 kB / 3.843 GB, free: 52.32 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001425/10.17, allocations: 79.56 kB / 3.843 GB, free: 52.32 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00466/10.18, allocations: 1.36 MB / 3.845 GB, free: 52.03 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.435e-05/10.18, allocations: 0 / 3.845 GB, free: 52.03 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002076/10.18, allocations: 40.06 kB / 3.845 GB, free: 52.03 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.068e-05/10.18, allocations: 19.22 kB / 3.845 GB, free: 52.03 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004/10.18, allocations: 1.137 MB / 3.846 GB, free: 52.03 MB / 0.5417 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.008483/10.19, allocations: 5.736 MB / 3.851 GB, free: 48.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003358/10.19, allocations: 0.9566 MB / 3.852 GB, free: 48.35 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/10.19, allocations: 281 kB / 3.853 GB, free: 48.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06942/10.26, allocations: 32.28 MB / 3.884 GB, free: 28.16 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/10.26, allocations: 44.97 kB / 3.884 GB, free: 28.12 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009048/10.26, allocations: 124.3 kB / 3.884 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 3.97e-06/10.26, allocations: 3.75 kB / 3.884 GB, free: 28.08 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.005683/10.27, allocations: 1.391 MB / 3.886 GB, free: 27.97 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/10.27, allocations: 183.6 kB / 3.886 GB, free: 27.75 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009101/10.27, allocations: 0.5827 MB / 3.886 GB, free: 27.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.48e-05/10.27, allocations: 35.14 kB / 3.887 GB, free: 27.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002787/10.27, allocations: 402.8 kB / 3.887 GB, free: 27.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001642/10.27, allocations: 202.5 kB / 3.887 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/10.27, allocations: 13.94 kB / 3.887 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001332/10.27, allocations: 391.8 kB / 3.887 GB, free: 26.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004996/10.27, allocations: 202.1 kB / 3.888 GB, free: 26.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006352/10.27, allocations: 465.5 kB / 3.888 GB, free: 26.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006009/10.27, allocations: 261.8 kB / 3.888 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.389e-06/10.27, allocations: 3.938 kB / 3.888 GB, free: 26.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001879/10.28, allocations: 0.7812 MB / 3.889 GB, free: 26.51 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000565/10.28, allocations: 2.966 MB / 3.892 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.518e-05/10.28, allocations: 7.875 kB / 3.892 GB, free: 23.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005648/10.28, allocations: 0.6319 MB / 3.893 GB, free: 23.35 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001065/10.28, allocations: 198.2 kB / 3.893 GB, free: 23.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009248/10.28, allocations: 1.162 MB / 3.894 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001038/10.29, allocations: 79.19 kB / 3.894 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/10.29, allocations: 43.8 kB / 3.894 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/10.29, allocations: 3.375 kB / 3.894 GB, free: 22.29 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001416/10.29, allocations: 0.6239 MB / 3.895 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/10.29, allocations: 7.188 kB / 3.895 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/10.29, allocations: 12.16 kB / 3.895 GB, free: 22.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001138/10.29, allocations: 228.5 kB / 3.895 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/10.29, allocations: 15.53 kB / 3.895 GB, free: 22.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009518/10.29, allocations: 81.44 kB / 3.895 GB, free: 22.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.712e-05/10.29, allocations: 45.62 kB / 3.895 GB, free: 22.2 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 8 (boundary_fixed1.medium.phase,boundary_fixed.medium.phase,massFlowRate1.medium.phase,massFlowRate2.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002319/10.29, allocations: 157.1 kB / 3.895 GB, free: 22.07 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002103/10.29, allocations: 84.88 kB / 3.895 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008294/10.3, allocations: 3.627 MB / 3.899 GB, free: 20.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.983e-05/10.3, allocations: 49.67 kB / 3.899 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/10.3, allocations: 3.609 kB / 3.899 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.149e-05/10.3, allocations: 3.422 kB / 3.899 GB, free: 20.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004438/10.3, allocations: 1.781 MB / 3.901 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/10.3, allocations: 0 / 3.901 GB, free: 19.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/10.3, allocations: 155.8 kB / 3.901 GB, free: 19.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005751/10.31, allocations: 1.006 MB / 3.902 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/10.31, allocations: 23.53 kB / 3.902 GB, free: 19.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002069/10.31, allocations: 1.56 MB / 3.903 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.885e-06/10.31, allocations: 1.781 kB / 3.903 GB, free: 18.51 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005777/10.32, allocations: 2.03 MB / 3.905 GB, free: 33.41 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/10.32, allocations: 457.1 kB / 3.906 GB, free: 33.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003821/10.32, allocations: 14.58 kB / 3.906 GB, free: 33.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001853/10.32, allocations: 79.88 kB / 3.906 GB, free: 33.07 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/10.32, allocations: 64.89 kB / 3.906 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001336/10.32, allocations: 24.84 kB / 3.906 GB, free: 33.05 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002376/10.32, allocations: 0.7452 MB / 3.907 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.539e-06/10.32, allocations: 0 / 3.907 GB, free: 32.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.008909/10.33, allocations: 1.336 MB / 3.908 GB, free: 31.88 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 28 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse12.phase,$cse12.region,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse20.phase,$cse20.region,$cse22.region3boundary,$cse23.region3boundary,$cse24.phase,$cse24.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.01147/10.34, allocations: 1.782 MB / 3.91 GB, free: 30.56 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005065/10.35, allocations: 1.309 MB / 3.911 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.14e-06/10.35, allocations: 0 / 3.911 GB, free: 29.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002254/10.35, allocations: 0.8062 MB / 3.912 GB, free: 28.57 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/10.36, allocations: 479.7 kB / 3.912 GB, free: 28.23 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006475/10.36, allocations: 2.144 MB / 3.914 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/10.37, allocations: 1.29 MB / 3.916 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.004706/10.37, allocations: 1.268 MB / 3.917 GB, free: 24.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/10.37, allocations: 73.81 kB / 3.917 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of SimCode: time 2.645e-06/10.37, allocations: 0 / 3.917 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.4546/10.83, allocations: 51.63 MB / 3.967 GB, free: 63.89 MB / 0.5573 GB