Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity") Notification: Performance of loadModel(ModelicaTest): time 2.285/2.285, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.747e-05, allocations: 0 / 347 MB, free: 3.141 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3585, allocations: 61.89 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.921/7.28, allocations: 2.767 GB / 3.166 GB, free: 131.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/7.28, allocations: 83.08 kB / 3.166 GB, free: 131.4 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.941/10.22, allocations: 0.6722 GB / 3.838 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/10.22, allocations: 3.219 kB / 3.838 GB, free: 53.62 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.358e-05/10.22, allocations: 23.36 kB / 3.838 GB, free: 53.61 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.007602/10.23, allocations: 2.191 MB / 3.841 GB, free: 52.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/10.23, allocations: 10 kB / 3.841 GB, free: 52.49 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006864/10.24, allocations: 0.5809 MB / 3.841 GB, free: 52.43 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001827/10.24, allocations: 0.6685 MB / 3.842 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-05/10.24, allocations: 64.75 kB / 3.842 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/10.24, allocations: 68.91 kB / 3.842 GB, free: 52.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004203/10.24, allocations: 1.369 MB / 3.843 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/10.24, allocations: 4.312 kB / 3.843 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/10.24, allocations: 37.25 kB / 3.843 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.937e-05/10.24, allocations: 21.69 kB / 3.843 GB, free: 51.87 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004112/10.25, allocations: 1.134 MB / 3.844 GB, free: 51.86 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.008846/10.26, allocations: 5.732 MB / 3.85 GB, free: 48.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003601/10.26, allocations: 0.9521 MB / 3.851 GB, free: 48.2 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/10.26, allocations: 281.8 kB / 3.851 GB, free: 48.18 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07268/10.33, allocations: 32.29 MB / 3.883 GB, free: 28.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/10.33, allocations: 37.84 kB / 3.883 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001072/10.33, allocations: 143 kB / 3.883 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=58): time 4.596e-06/10.33, allocations: 0 / 3.883 GB, free: 27.93 MB / 0.5417 GB Notification: Performance of matching and sorting (n=58): time 0.006358/10.34, allocations: 1.387 MB / 3.884 GB, free: 27.82 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.803e-05/10.34, allocations: 184.4 kB / 3.885 GB, free: 27.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009305/10.34, allocations: 0.582 MB / 3.885 GB, free: 27.47 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001184/10.34, allocations: 36.27 kB / 3.885 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/10.34, allocations: 409.2 kB / 3.886 GB, free: 27.19 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/10.34, allocations: 203.5 kB / 3.886 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/10.34, allocations: 13.12 kB / 3.886 GB, free: 27.07 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.974e-05/10.34, allocations: 343.2 kB / 3.886 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/10.34, allocations: 202.3 kB / 3.886 GB, free: 26.75 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006378/10.34, allocations: 465.1 kB / 3.887 GB, free: 26.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000607/10.34, allocations: 268.8 kB / 3.887 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.147e-06/10.34, allocations: 3.938 kB / 3.887 GB, free: 26.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001869/10.35, allocations: 0.7267 MB / 3.888 GB, free: 26.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005867/10.35, allocations: 2.962 MB / 3.891 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/10.35, allocations: 7.906 kB / 3.891 GB, free: 23.21 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006163/10.35, allocations: 0.6359 MB / 3.891 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/10.35, allocations: 196.1 kB / 3.891 GB, free: 23.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000948/10.35, allocations: 1.158 MB / 3.892 GB, free: 22.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/10.36, allocations: 88.48 kB / 3.893 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/10.36, allocations: 40.52 kB / 3.893 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.383e-05/10.36, allocations: 7.875 kB / 3.893 GB, free: 22.09 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/10.36, allocations: 0.626 MB / 3.893 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/10.36, allocations: 7.625 kB / 3.893 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/10.36, allocations: 17.38 kB / 3.893 GB, free: 22.03 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001176/10.36, allocations: 228.3 kB / 3.893 GB, free: 22.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.047e-05/10.36, allocations: 15.25 kB / 3.893 GB, free: 22.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/10.36, allocations: 82.28 kB / 3.894 GB, free: 22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/10.36, allocations: 43.86 kB / 3.894 GB, free: 22 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.0002863/10.36, allocations: 153.2 kB / 3.894 GB, free: 21.88 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002777/10.36, allocations: 87.62 kB / 3.894 GB, free: 21.84 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/10.37, allocations: 3.629 MB / 3.897 GB, free: 20.42 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-05/10.37, allocations: 53.11 kB / 3.897 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.219e-06/10.37, allocations: 3.938 kB / 3.897 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/10.37, allocations: 3.422 kB / 3.897 GB, free: 20.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/10.37, allocations: 1.779 MB / 3.899 GB, free: 19.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.576e-06/10.37, allocations: 3.938 kB / 3.899 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008778/10.37, allocations: 158.2 kB / 3.899 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003525/10.37, allocations: 1.001 MB / 3.9 GB, free: 19.33 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001335/10.37, allocations: 22.73 kB / 3.9 GB, free: 19.32 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001193/10.37, allocations: 1.562 MB / 3.902 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.922e-06/10.37, allocations: 0 / 3.902 GB, free: 18.04 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002859/10.38, allocations: 2.027 MB / 3.904 GB, free: 16.94 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000847/10.38, allocations: 452 kB / 3.904 GB, free: 16.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001933/10.38, allocations: 15.23 kB / 3.904 GB, free: 16.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009033/10.38, allocations: 78.27 kB / 3.904 GB, free: 16.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/10.38, allocations: 71.94 kB / 3.904 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.061e-05/10.38, allocations: 25.64 kB / 3.904 GB, free: 16.58 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001237/10.38, allocations: 0.7417 MB / 3.905 GB, free: 16.25 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.9e-07/10.38, allocations: 3.938 kB / 3.905 GB, free: 16.25 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005429/10.39, allocations: 1.327 MB / 3.906 GB, free: 15.18 MB / 0.5417 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.007914/10.39, allocations: 1.792 MB / 3.908 GB, free: 13.86 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002871/10.4, allocations: 1.272 MB / 3.909 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.32e-06/10.4, allocations: 0 / 3.909 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001321/10.4, allocations: 0.7994 MB / 3.91 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/10.4, allocations: 492.6 kB / 3.911 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003898/10.41, allocations: 2.174 MB / 3.913 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/10.41, allocations: 1.288 MB / 3.914 GB, free: 24.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/10.41, allocations: 90.7 kB / 3.914 GB, free: 24.33 MB / 0.5573 GB Notification: Performance of SimCode: time 2.023e-06/10.41, allocations: 4 kB / 3.914 GB, free: 24.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.428/10.83, allocations: 47.06 MB / 3.96 GB, free: 64.97 MB / 0.5573 GB