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_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.418/2.418, allocations: 270.1 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.821e-05/3.843e-05, allocations: 5.969 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1133/0.1133, allocations: 61.89 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.896/7.009, allocations: 2.767 GB / 3.168 GB, free: 100.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002115/7.009, allocations: 82.7 kB / 3.168 GB, free: 100.7 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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 trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.86/9.869, allocations: 0.6723 GB / 3.84 GB, free: 46.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.898e-06/9.869, allocations: 0 / 3.84 GB, free: 46.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.55e-05/9.869, allocations: 23.64 kB / 3.84 GB, free: 46.03 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.007069/9.876, allocations: 2.189 MB / 3.842 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/9.876, allocations: 12.69 kB / 3.842 GB, free: 44.72 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00642/9.883, allocations: 0.5767 MB / 3.843 GB, free: 44.63 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001764/9.885, allocations: 0.667 MB / 3.843 GB, free: 44.21 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.322e-05/9.885, allocations: 69.25 kB / 3.843 GB, free: 44.17 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/9.885, allocations: 71.59 kB / 3.843 GB, free: 44.15 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004005/9.889, allocations: 1.36 MB / 3.845 GB, free: 43.52 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.18e-05/9.889, allocations: 7 kB / 3.845 GB, free: 43.51 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/9.889, allocations: 38.47 kB / 3.845 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.038e-05/9.889, allocations: 19.28 kB / 3.845 GB, free: 43.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003543/9.893, allocations: 1.139 MB / 3.846 GB, free: 43.15 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.0086/9.901, allocations: 5.734 MB / 3.852 GB, free: 38.77 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003693/9.905, allocations: 0.9439 MB / 3.852 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006521/9.906, allocations: 281.6 kB / 3.853 GB, free: 38.34 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06475/9.971, allocations: 32.28 MB / 3.884 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.321e-05/9.971, allocations: 46.55 kB / 3.884 GB, free: 5.43 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009175/9.972, allocations: 131.2 kB / 3.884 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 4.004e-06/9.972, allocations: 0 / 3.884 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.005455/9.977, allocations: 1.385 MB / 3.886 GB, free: 3.906 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/9.977, allocations: 191.9 kB / 3.886 GB, free: 3.676 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008822/9.978, allocations: 0.5819 MB / 3.887 GB, free: 3.09 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/9.978, allocations: 29.7 kB / 3.887 GB, free: 3.055 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/9.978, allocations: 406.8 kB / 3.887 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/9.979, allocations: 195 kB / 3.887 GB, free: 2.469 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.094e-05/9.979, allocations: 16 kB / 3.887 GB, free: 2.453 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001267/9.979, allocations: 394.7 kB / 3.888 GB, free: 2.059 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004696/9.979, allocations: 201.5 kB / 3.888 GB, free: 1.863 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005973/9.98, allocations: 462.6 kB / 3.888 GB, free: 1.293 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005701/9.98, allocations: 255.7 kB / 3.888 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.488e-06/9.98, allocations: 4 kB / 3.888 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.002206/9.983, allocations: 0.7779 MB / 3.889 GB, free: 260 kB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001588/9.984, allocations: 2.97 MB / 3.892 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/9.984, allocations: 11.94 kB / 3.892 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005988/9.99, allocations: 0.6357 MB / 3.893 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/9.991, allocations: 195.7 kB / 3.893 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/9.993, allocations: 1.163 MB / 3.894 GB, free: 11 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001126/9.994, allocations: 79.92 kB / 3.894 GB, free: 10.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/9.994, allocations: 43.98 kB / 3.894 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/9.994, allocations: 0 / 3.894 GB, free: 10.88 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001667/9.996, allocations: 0.639 MB / 3.895 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.734e-05/9.996, allocations: 8 kB / 3.895 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/9.996, allocations: 16.09 kB / 3.895 GB, free: 10.22 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/9.997, allocations: 223.7 kB / 3.895 GB, free: 10 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.612e-05/9.997, allocations: 15.94 kB / 3.895 GB, free: 9.988 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/9.998, allocations: 87.81 kB / 3.895 GB, free: 9.902 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/9.998, allocations: 43.98 kB / 3.895 GB, free: 9.859 MB / 0.5573 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.0002905/9.999, allocations: 152.7 kB / 3.895 GB, free: 9.703 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/9.999, allocations: 86.97 kB / 3.895 GB, free: 9.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006357/10.01, allocations: 3.631 MB / 3.899 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.138e-05/10.01, allocations: 51.88 kB / 3.899 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.043e-05/10.01, allocations: 0 / 3.899 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.369e-05/10.01, allocations: 3.984 kB / 3.899 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003124/10.01, allocations: 1.773 MB / 3.901 GB, free: 4.098 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/10.01, allocations: 8 kB / 3.901 GB, free: 4.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008638/10.01, allocations: 163.8 kB / 3.901 GB, free: 3.93 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003539/10.01, allocations: 0.9918 MB / 3.902 GB, free: 2.934 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001255/10.01, allocations: 19.98 kB / 3.902 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001747/10.01, allocations: 1.564 MB / 3.903 GB, free: 1.305 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/10.01, allocations: 4.031 kB / 3.903 GB, free: 1.301 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3556/10.37, allocations: 2.023 MB / 3.905 GB, free: 67.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009723/10.37, allocations: 456.7 kB / 3.906 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000213/10.37, allocations: 14.44 kB / 3.906 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009215/10.37, allocations: 71.61 kB / 3.906 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002079/10.37, allocations: 65.19 kB / 3.906 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-05/10.37, allocations: 28.7 kB / 3.906 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001456/10.37, allocations: 0.7435 MB / 3.907 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.46e-07/10.37, allocations: 0 / 3.907 GB, free: 67.65 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005892/10.38, allocations: 1.336 MB / 3.908 GB, free: 67.65 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.008737/10.39, allocations: 1.778 MB / 3.91 GB, free: 67.51 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.003673/10.39, allocations: 1.299 MB / 3.911 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.969e-06/10.39, allocations: 1.75 kB / 3.911 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001502/10.39, allocations: 0.7976 MB / 3.912 GB, free: 67.48 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003453/10.4, allocations: 0.4898 MB / 3.912 GB, free: 67.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004616/10.4, allocations: 2.15 MB / 3.914 GB, free: 66.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/10.4, allocations: 1.297 MB / 3.916 GB, free: 66.23 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003137/10.41, allocations: 1.258 MB / 3.917 GB, free: 66.21 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/10.41, allocations: 81.27 kB / 3.917 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of SimCode: time 1.796e-06/10.41, allocations: 0 / 3.917 GB, free: 66.2 MB / 0.5573 GB Notification: Performance of Templates: time 0.09665/10.5, allocations: 51.65 MB / 3.967 GB, free: 64.77 MB / 0.5573 GB