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_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.37e-05, allocations: 7.984 kB / 323.4 MB, free: 4.305 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3299, allocations: 58.84 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.091/6.421, allocations: 2.762 GB / 3.135 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002095/6.421, allocations: 79.95 kB / 3.135 GB, free: 67.08 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.64/9.061, allocations: 0.665 GB / 3.8 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.581e-06/9.061, allocations: 0 / 3.8 GB, free: 8.832 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 7.708e-05/9.061, allocations: 27.92 kB / 3.8 GB, free: 8.805 MB / 0.5261 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.007841/9.069, allocations: 2.183 MB / 3.802 GB, free: 6.574 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/9.069, allocations: 12.03 kB / 3.802 GB, free: 6.562 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006678/9.076, allocations: 0.574 MB / 3.803 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001959/9.078, allocations: 0.6631 MB / 3.803 GB, free: 5.281 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/9.078, allocations: 66 kB / 3.803 GB, free: 5.219 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/9.078, allocations: 68 kB / 3.803 GB, free: 5.152 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/9.083, allocations: 1.374 MB / 3.805 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/9.083, allocations: 0 / 3.805 GB, free: 3.676 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/9.083, allocations: 40 kB / 3.805 GB, free: 3.637 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/9.083, allocations: 20 kB / 3.805 GB, free: 3.617 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004176/9.087, allocations: 1.139 MB / 3.806 GB, free: 2.477 MB / 0.5261 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.3371/9.424, allocations: 5.722 MB / 3.812 GB, free: 44.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003721/9.428, allocations: 0.9439 MB / 3.812 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006491/9.429, allocations: 283.3 kB / 3.813 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06561/9.494, allocations: 32.27 MB / 3.844 GB, free: 25.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.518e-05/9.494, allocations: 44.61 kB / 3.844 GB, free: 25.24 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009383/9.495, allocations: 133.8 kB / 3.844 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=58): time 4.021e-06/9.495, allocations: 5.656 kB / 3.844 GB, free: 25.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=58): time 0.005253/9.501, allocations: 1.382 MB / 3.846 GB, free: 25.12 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/9.501, allocations: 191.6 kB / 3.846 GB, free: 24.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008719/9.502, allocations: 0.5817 MB / 3.847 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.812e-05/9.502, allocations: 33.8 kB / 3.847 GB, free: 24.73 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000271/9.502, allocations: 400.2 kB / 3.847 GB, free: 24.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001669/9.502, allocations: 198.4 kB / 3.847 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.191e-05/9.502, allocations: 17.47 kB / 3.847 GB, free: 24.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001268/9.502, allocations: 387.7 kB / 3.847 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/9.503, allocations: 200.6 kB / 3.848 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006044/9.503, allocations: 460.9 kB / 3.848 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005543/9.504, allocations: 255.5 kB / 3.848 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.851e-06/9.504, allocations: 0 / 3.848 GB, free: 23.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001741/9.506, allocations: 0.783 MB / 3.849 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005565/9.506, allocations: 2.96 MB / 3.852 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/9.506, allocations: 7.812 kB / 3.852 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006047/9.512, allocations: 0.644 MB / 3.853 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/9.514, allocations: 194.2 kB / 3.853 GB, free: 20.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009699/9.515, allocations: 1.172 MB / 3.854 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/9.516, allocations: 78.73 kB / 3.854 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/9.516, allocations: 47.44 kB / 3.854 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/9.516, allocations: 3.906 kB / 3.854 GB, free: 19.63 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001557/9.518, allocations: 0.6301 MB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/9.518, allocations: 6.75 kB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/9.518, allocations: 15.94 kB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001017/9.519, allocations: 218.2 kB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.836e-05/9.519, allocations: 22.59 kB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/9.52, allocations: 76.47 kB / 3.855 GB, free: 19.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.465e-05/9.52, allocations: 44.3 kB / 3.855 GB, free: 19.62 MB / 0.5261 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.000259/9.52, allocations: 157.2 kB / 3.855 GB, free: 19.51 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/9.52, allocations: 90.31 kB / 3.855 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00485/9.525, allocations: 3.627 MB / 3.859 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.823e-05/9.525, allocations: 47.92 kB / 3.859 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.116e-06/9.525, allocations: 4.844 kB / 3.859 GB, free: 19.1 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/9.525, allocations: 7.375 kB / 3.859 GB, free: 19.09 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/9.528, allocations: 1.778 MB / 3.861 GB, free: 34.85 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.662e-06/9.528, allocations: 0 / 3.861 GB, free: 34.85 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007477/9.529, allocations: 161.8 kB / 3.861 GB, free: 34.85 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003215/9.532, allocations: 1.005 MB / 3.862 GB, free: 34.81 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-05/9.533, allocations: 20.77 kB / 3.862 GB, free: 34.81 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001502/9.534, allocations: 1.559 MB / 3.863 GB, free: 33.76 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.201e-06/9.534, allocations: 3.281 kB / 3.863 GB, free: 33.76 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002829/9.537, allocations: 2.025 MB / 3.865 GB, free: 33.3 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007607/9.538, allocations: 459.7 kB / 3.866 GB, free: 33.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000187/9.538, allocations: 16.41 kB / 3.866 GB, free: 33.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008546/9.539, allocations: 74.58 kB / 3.866 GB, free: 33.11 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/9.539, allocations: 60.23 kB / 3.866 GB, free: 33.11 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.241e-05/9.539, allocations: 28.97 kB / 3.866 GB, free: 33.11 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.001208/9.54, allocations: 0.7461 MB / 3.867 GB, free: 32.99 MB / 0.5418 GB Notification: Performance of sort global known variables: time 8.45e-07/9.54, allocations: 3.281 kB / 3.867 GB, free: 32.99 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.005042/9.545, allocations: 1.335 MB / 3.868 GB, free: 32.98 MB / 0.5418 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.007166/9.553, allocations: 1.785 MB / 3.87 GB, free: 32.79 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.002797/9.555, allocations: 1.304 MB / 3.871 GB, free: 32.74 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 6.124e-06/9.555, allocations: 0 / 3.871 GB, free: 32.74 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.001215/9.557, allocations: 0.801 MB / 3.872 GB, free: 32.73 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/9.56, allocations: 494 kB / 3.872 GB, free: 32.72 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003654/9.563, allocations: 2.146 MB / 3.874 GB, free: 32.2 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009887/9.564, allocations: 1.295 MB / 3.876 GB, free: 31.49 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.002545/9.567, allocations: 1.259 MB / 3.877 GB, free: 31.46 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002322/9.567, allocations: 75.12 kB / 3.877 GB, free: 31.46 MB / 0.5418 GB Notification: Performance of SimCode: time 2.139e-06/9.567, allocations: 0 / 3.877 GB, free: 31.46 MB / 0.5418 GB Notification: Performance of Templates: time 0.09309/9.66, allocations: 51.62 MB / 3.927 GB, free: 28.38 MB / 0.5418 GB