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.2_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.261/2.261, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.515e-05/3.531e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3229, allocations: 54.85 MB / 359.8 MB, free: 3.109 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.873/6.196, allocations: 2.597 GB / 2.949 GB, free: 4.215 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002417/6.196, allocations: 89.31 kB / 2.949 GB, free: 4.168 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:327:3-329: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.974/9.17, allocations: 0.661 GB / 3.61 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.155e-06/9.17, allocations: 0 / 3.61 GB, free: 45.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 6.428e-05/9.17, allocations: 27.3 kB / 3.61 GB, free: 45.95 MB / 0.4948 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.006622/9.176, allocations: 2.178 MB / 3.612 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/9.176, allocations: 10.41 kB / 3.612 GB, free: 44.91 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006404/9.183, allocations: 0.575 MB / 3.612 GB, free: 44.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/9.185, allocations: 0.7063 MB / 3.613 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/9.185, allocations: 66 kB / 3.613 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/9.185, allocations: 72 kB / 3.613 GB, free: 44.57 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00394/9.189, allocations: 1.343 MB / 3.614 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.746e-05/9.189, allocations: 6.531 kB / 3.614 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/9.189, allocations: 36.53 kB / 3.614 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/9.189, allocations: 24.75 kB / 3.614 GB, free: 44.3 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003651/9.193, allocations: 1.132 MB / 3.616 GB, free: 44.3 MB / 0.4948 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.006928/9.2, allocations: 5.458 MB / 3.621 GB, free: 40.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0031/9.203, allocations: 0.8623 MB / 3.622 GB, free: 40.66 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005464/9.203, allocations: 254.3 kB / 3.622 GB, free: 40.65 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1894/9.393, allocations: 60.56 MB / 3.681 GB, free: 27.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.61e-05/9.393, allocations: 44.86 kB / 3.681 GB, free: 27.12 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008594/9.394, allocations: 126.4 kB / 3.681 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=58): time 3.794e-06/9.394, allocations: 0 / 3.681 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=58): time 0.007508/9.401, allocations: 1.257 MB / 3.683 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/9.401, allocations: 187.4 kB / 3.683 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/9.403, allocations: 470.7 kB / 3.683 GB, free: 26.62 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001201/9.403, allocations: 36.36 kB / 3.683 GB, free: 26.59 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004027/9.403, allocations: 431.4 kB / 3.684 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/9.403, allocations: 200 kB / 3.684 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.099e-05/9.403, allocations: 16.38 kB / 3.684 GB, free: 26.24 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002864/9.404, allocations: 383.8 kB / 3.684 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00078/9.405, allocations: 192 kB / 3.684 GB, free: 25.91 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009353/9.406, allocations: 0.4976 MB / 3.685 GB, free: 25.52 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000912/9.406, allocations: 262 kB / 3.685 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.444e-05/9.407, allocations: 3.938 kB / 3.685 GB, free: 25.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00313/9.41, allocations: 0.7834 MB / 3.686 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002387/9.412, allocations: 3.836 MB / 3.69 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.398e-05/9.412, allocations: 15.53 kB / 3.69 GB, free: 21.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006604/9.419, allocations: 378.3 kB / 3.69 GB, free: 21.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001774/9.421, allocations: 200.7 kB / 3.69 GB, free: 21.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001719/9.422, allocations: 1.141 MB / 3.691 GB, free: 20.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/9.424, allocations: 62.75 kB / 3.691 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/9.424, allocations: 49.31 kB / 3.691 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.652e-05/9.424, allocations: 2.656 kB / 3.691 GB, free: 20.3 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/9.427, allocations: 0.659 MB / 3.692 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/9.427, allocations: 8.875 kB / 3.692 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.626e-05/9.427, allocations: 15.81 kB / 3.692 GB, free: 20.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/9.429, allocations: 219.2 kB / 3.692 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-05/9.429, allocations: 15.91 kB / 3.692 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001577/9.431, allocations: 66.34 kB / 3.692 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/9.431, allocations: 49.78 kB / 3.692 GB, free: 20.27 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * 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 (96): * Single equations (assignments): 94 * 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 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004426/9.431, allocations: 169.4 kB / 3.693 GB, free: 20.15 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003282/9.432, allocations: 75.64 kB / 3.693 GB, free: 20.11 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008174/9.44, allocations: 3.586 MB / 3.696 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.217e-05/9.44, allocations: 46.67 kB / 3.696 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.287e-05/9.44, allocations: 2.719 kB / 3.696 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.172e-05/9.44, allocations: 7.547 kB / 3.696 GB, free: 19.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003982/9.444, allocations: 1.702 MB / 3.698 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/9.444, allocations: 0 / 3.698 GB, free: 19.35 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/9.445, allocations: 123.2 kB / 3.698 GB, free: 19.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005939/9.451, allocations: 0.9 MB / 3.699 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/9.451, allocations: 17.14 kB / 3.699 GB, free: 19.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003093/9.455, allocations: 1.533 MB / 3.7 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.294e-06/9.455, allocations: 0 / 3.7 GB, free: 17.96 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003131/9.458, allocations: 1.992 MB / 3.702 GB, free: 16.66 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006093/9.458, allocations: 412.9 kB / 3.703 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001626/9.459, allocations: 14 kB / 3.703 GB, free: 16.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007806/9.459, allocations: 58.48 kB / 3.703 GB, free: 16.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001437/9.46, allocations: 58 kB / 3.703 GB, free: 16.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-05/9.46, allocations: 25.38 kB / 3.703 GB, free: 16.28 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0008579/9.461, allocations: 0.5191 MB / 3.703 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.47e-07/9.461, allocations: 0 / 3.703 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005158/9.466, allocations: 1.333 MB / 3.705 GB, free: 14.7 MB / 0.5105 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 (70): * Single equations (assignments): 56 * 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 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006988/9.473, allocations: 1.781 MB / 3.706 GB, free: 13.42 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002668/9.475, allocations: 1.287 MB / 3.708 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.654e-06/9.475, allocations: 0 / 3.708 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001121/9.477, allocations: 0.7851 MB / 3.708 GB, free: 12.25 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/9.479, allocations: 362.8 kB / 3.709 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.782/11.26, allocations: 423.6 MB / 4.122 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009634/11.26, allocations: 1.296 MB / 4.124 GB, free: 67.2 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002939/11.26, allocations: 1.155 MB / 4.125 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002612/11.27, allocations: 72.06 kB / 4.125 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of SimCode: time 1.984e-06/11.27, allocations: 0 / 4.125 GB, free: 67.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.08968/11.35, allocations: 48.04 MB / 4.172 GB, free: 66.25 MB / 0.5261 GB