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.1_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 1.844/1.844, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.145e-05, allocations: 4 kB / 273.1 MB, free: 3.152 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0879/0.08795, allocations: 48.69 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.121/6.209, allocations: 2.486 GB / 2.801 GB, free: 76.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/6.209, allocations: 78.89 kB / 2.801 GB, free: 76.26 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.821/9.03, allocations: 0.6435 GB / 3.444 GB, free: 38.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.887e-06/9.03, allocations: 0 / 3.444 GB, free: 38.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.977e-05/9.03, allocations: 26.38 kB / 3.444 GB, free: 38.87 MB / 458.7 MB 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.006442/9.037, allocations: 2.109 MB / 3.446 GB, free: 37.88 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/9.037, allocations: 8.625 kB / 3.446 GB, free: 37.88 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007225/9.044, allocations: 0.532 MB / 3.447 GB, free: 37.83 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/9.046, allocations: 0.7024 MB / 3.447 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.122e-05/9.046, allocations: 69.12 kB / 3.448 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/9.046, allocations: 67.38 kB / 3.448 GB, free: 37.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003912/9.05, allocations: 1.345 MB / 3.449 GB, free: 37.28 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/9.05, allocations: 1.969 kB / 3.449 GB, free: 37.28 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001233/9.05, allocations: 35.09 kB / 3.449 GB, free: 37.28 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/9.05, allocations: 26.3 kB / 3.449 GB, free: 37.28 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003698/9.054, allocations: 1.134 MB / 3.45 GB, free: 37.27 MB / 458.7 MB 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.00687/9.061, allocations: 5.463 MB / 3.455 GB, free: 33.69 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003145/9.064, allocations: 0.8718 MB / 3.456 GB, free: 33.63 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005404/9.064, allocations: 255.8 kB / 3.457 GB, free: 33.62 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1648/9.229, allocations: 60.48 MB / 3.516 GB, free: 20.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.794e-05/9.229, allocations: 44.59 kB / 3.516 GB, free: 20.07 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009096/9.23, allocations: 122.3 kB / 3.516 GB, free: 20.03 MB / 474.7 MB Notification: Performance of pre-optimization done (n=58): time 4.082e-06/9.23, allocations: 0.6562 kB / 3.516 GB, free: 20.03 MB / 474.7 MB Notification: Performance of matching and sorting (n=58): time 0.005678/9.236, allocations: 1.24 MB / 3.517 GB, free: 19.94 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/9.236, allocations: 201.8 kB / 3.517 GB, free: 19.71 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006869/9.237, allocations: 479.5 kB / 3.518 GB, free: 19.57 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/9.237, allocations: 36.77 kB / 3.518 GB, free: 19.54 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002661/9.237, allocations: 429.3 kB / 3.518 GB, free: 19.31 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001513/9.237, allocations: 203.4 kB / 3.518 GB, free: 19.18 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.163e-05/9.237, allocations: 15.97 kB / 3.518 GB, free: 19.18 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002146/9.238, allocations: 378.9 kB / 3.519 GB, free: 18.87 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/9.238, allocations: 187.2 kB / 3.519 GB, free: 18.87 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005603/9.239, allocations: 0.5058 MB / 3.519 GB, free: 18.47 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000547/9.239, allocations: 260.4 kB / 3.52 GB, free: 18.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.875e-06/9.239, allocations: 7.844 kB / 3.52 GB, free: 18.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001795/9.241, allocations: 0.7786 MB / 3.52 GB, free: 18.36 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001811/9.243, allocations: 3.835 MB / 3.524 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/9.243, allocations: 9.406 kB / 3.524 GB, free: 14.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003996/9.247, allocations: 388 kB / 3.524 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/9.248, allocations: 195.8 kB / 3.525 GB, free: 14.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001147/9.249, allocations: 1.136 MB / 3.526 GB, free: 13.26 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009672/9.25, allocations: 66.38 kB / 3.526 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/9.25, allocations: 50.14 kB / 3.526 GB, free: 13.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/9.25, allocations: 3.781 kB / 3.526 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00148/9.252, allocations: 0.6524 MB / 3.527 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.498e-05/9.252, allocations: 9.656 kB / 3.527 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/9.252, allocations: 17 kB / 3.527 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001062/9.253, allocations: 213.9 kB / 3.527 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.211e-05/9.253, allocations: 26.22 kB / 3.527 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008404/9.254, allocations: 57.77 kB / 3.527 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.633e-05/9.254, allocations: 46.52 kB / 3.527 GB, free: 13.23 MB / 474.7 MB 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.0002569/9.254, allocations: 167.1 kB / 3.527 GB, free: 13.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001751/9.254, allocations: 72.56 kB / 3.527 GB, free: 13.08 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004806/9.259, allocations: 3.596 MB / 3.531 GB, free: 12.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.675e-05/9.259, allocations: 51.52 kB / 3.531 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.209e-06/9.259, allocations: 0 / 3.531 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/9.259, allocations: 5.203 kB / 3.531 GB, free: 12.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002282/9.261, allocations: 1.699 MB / 3.532 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.116e-06/9.262, allocations: 0 / 3.532 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007454/9.262, allocations: 128.5 kB / 3.532 GB, free: 12.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002869/9.265, allocations: 0.8988 MB / 3.533 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.999e-05/9.265, allocations: 16.83 kB / 3.533 GB, free: 12.26 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001388/9.267, allocations: 1.535 MB / 3.535 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.877e-06/9.267, allocations: 0 / 3.535 GB, free: 11.21 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/9.269, allocations: 1.987 MB / 3.537 GB, free: 10.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005895/9.27, allocations: 420.3 kB / 3.537 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001674/9.27, allocations: 13.47 kB / 3.537 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007882/9.271, allocations: 66.23 kB / 3.537 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/9.271, allocations: 52.27 kB / 3.537 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.287e-05/9.271, allocations: 26.56 kB / 3.537 GB, free: 10.5 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008327/9.272, allocations: 0.519 MB / 3.538 GB, free: 10.38 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.038e-06/9.272, allocations: 0 / 3.538 GB, free: 10.38 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004923/9.277, allocations: 1.324 MB / 3.539 GB, free: 9.988 MB / 474.7 MB 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.006711/9.284, allocations: 1.772 MB / 3.541 GB, free: 8.727 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002602/9.286, allocations: 1.292 MB / 3.542 GB, free: 7.957 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.244e-06/9.286, allocations: 0.5469 kB / 3.542 GB, free: 7.957 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001111/9.288, allocations: 0.7829 MB / 3.543 GB, free: 7.586 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002037/9.29, allocations: 355.2 kB / 3.543 GB, free: 7.406 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.677/10.97, allocations: 415.4 MB / 3.949 GB, free: 63.79 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007841/10.97, allocations: 1.295 MB / 3.95 GB, free: 63.07 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002747/10.97, allocations: 1.155 MB / 3.951 GB, free: 63.05 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002347/10.97, allocations: 71.72 kB / 3.951 GB, free: 63.04 MB / 490.7 MB Notification: Performance of SimCode: time 1.81e-06/10.97, allocations: 0 / 3.951 GB, free: 63.04 MB / 490.7 MB Notification: Performance of Templates: time 0.08775/11.06, allocations: 47.94 MB / 3.998 GB, free: 60.65 MB / 490.7 MB