Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|massFlowRate.m_flow|volumeFlowRate.V_flow|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate") Notification: Performance of loadModel(ModelicaTest): time 2.446/2.446, allocations: 270 MB / 283.6 MB, free: 1.883 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.336e-05/3.347e-05, allocations: 4 kB / 348.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3341/0.3342, allocations: 61.86 MB / 410.3 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.913/7.248, allocations: 2.766 GB / 3.166 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002354/7.248, allocations: 91.91 kB / 3.167 GB, free: 131.2 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 .... Notification: Performance of FrontEnd - DAE generated: time 1.771/9.019, allocations: 405.6 MB / 3.563 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.373e-06/9.019, allocations: 3.938 kB / 3.563 GB, free: 65.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.843e-05/9.019, allocations: 15.66 kB / 3.563 GB, free: 65.68 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.005362/9.024, allocations: 1.541 MB / 3.564 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/9.024, allocations: 7.75 kB / 3.564 GB, free: 65.06 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003202/9.027, allocations: 294 kB / 3.564 GB, free: 65.03 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/9.028, allocations: 459.3 kB / 3.565 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/9.028, allocations: 36.5 kB / 3.565 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.091e-05/9.028, allocations: 38.12 kB / 3.565 GB, free: 64.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002033/9.031, allocations: 0.6837 MB / 3.566 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/9.031, allocations: 3.969 kB / 3.566 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.291e-05/9.031, allocations: 21.38 kB / 3.566 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.21e-05/9.031, allocations: 11.81 kB / 3.566 GB, free: 64.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001829/9.032, allocations: 0.5574 MB / 3.566 GB, free: 64.65 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.004006/9.037, allocations: 2.974 MB / 3.569 GB, free: 62.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/9.038, allocations: 472.5 kB / 3.57 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/9.039, allocations: 150.8 kB / 3.57 GB, free: 62.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1241/9.163, allocations: 55.75 MB / 3.624 GB, free: 44.31 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.798e-05/9.163, allocations: 40.5 kB / 3.624 GB, free: 44.27 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=30): time 3.764e-06/9.163, allocations: 3.125 kB / 3.624 GB, free: 44.27 MB / 0.5417 GB Notification: Performance of matching and sorting (n=30): time 0.00303/9.166, allocations: 0.7294 MB / 3.625 GB, free: 44.19 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.044e-05/9.166, allocations: 106.7 kB / 3.625 GB, free: 44.07 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005193/9.166, allocations: 359.1 kB / 3.625 GB, free: 43.95 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/9.166, allocations: 33.3 kB / 3.625 GB, free: 43.92 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001842/9.167, allocations: 244 kB / 3.626 GB, free: 43.8 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 8.878e-05/9.167, allocations: 108.9 kB / 3.626 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/9.167, allocations: 3.812 kB / 3.626 GB, free: 43.75 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001966/9.167, allocations: 356.6 kB / 3.626 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/9.167, allocations: 108.5 kB / 3.626 GB, free: 43.44 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/9.168, allocations: 231.5 kB / 3.626 GB, free: 43.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002886/9.168, allocations: 129.7 kB / 3.627 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.187e-06/9.168, allocations: 2.594 kB / 3.627 GB, free: 43.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009744/9.169, allocations: 438.8 kB / 3.627 GB, free: 43.22 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006483/9.17, allocations: 1.305 MB / 3.628 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/9.17, allocations: 2.312 kB / 3.628 GB, free: 41.85 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/9.173, allocations: 338.2 kB / 3.629 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/9.173, allocations: 89 kB / 3.629 GB, free: 41.83 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006869/9.174, allocations: 0.6142 MB / 3.629 GB, free: 41.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006031/9.175, allocations: 64.22 kB / 3.629 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-05/9.175, allocations: 27.14 kB / 3.629 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/9.175, allocations: 3.344 kB / 3.629 GB, free: 41.29 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007956/9.176, allocations: 316.8 kB / 3.63 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.806e-06/9.176, allocations: 4.281 kB / 3.63 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/9.176, allocations: 11.41 kB / 3.63 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/9.176, allocations: 105.1 kB / 3.63 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/9.176, allocations: 9.969 kB / 3.63 GB, free: 41.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000493/9.177, allocations: 67.12 kB / 3.63 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.564e-05/9.177, allocations: 19.31 kB / 3.63 GB, free: 41.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001833/9.177, allocations: 139.2 kB / 3.63 GB, free: 41.16 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/9.177, allocations: 48 kB / 3.63 GB, free: 41.13 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/9.18, allocations: 1.993 MB / 3.632 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.801e-05/9.18, allocations: 25.39 kB / 3.632 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/9.18, allocations: 0 / 3.632 GB, free: 40.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/9.18, allocations: 7.516 kB / 3.632 GB, free: 40.89 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001334/9.181, allocations: 1.016 MB / 3.633 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.932e-06/9.181, allocations: 3.188 kB / 3.633 GB, free: 40.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/9.182, allocations: 78.56 kB / 3.633 GB, free: 40.63 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002019/9.184, allocations: 0.7563 MB / 3.634 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.865e-05/9.184, allocations: 10.69 kB / 3.634 GB, free: 40.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/9.185, allocations: 1.005 MB / 3.635 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.763e-06/9.185, allocations: 0 / 3.635 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001674/9.186, allocations: 1.252 MB / 3.636 GB, free: 39.8 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/9.187, allocations: 265 kB / 3.636 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.681e-05/9.187, allocations: 13.34 kB / 3.636 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004513/9.187, allocations: 43.66 kB / 3.636 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/9.187, allocations: 36.05 kB / 3.636 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.775e-05/9.188, allocations: 16.28 kB / 3.636 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005817/9.188, allocations: 385 kB / 3.637 GB, free: 39.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.88e-07/9.188, allocations: 0 / 3.637 GB, free: 39.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004556/9.193, allocations: 1.203 MB / 3.638 GB, free: 39.35 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.007082/9.2, allocations: 1.616 MB / 3.64 GB, free: 39 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001621/9.201, allocations: 0.7027 MB / 3.64 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.893e-06/9.201, allocations: 1.625 kB / 3.64 GB, free: 38.98 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006749/9.202, allocations: 458 kB / 3.641 GB, free: 38.97 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001816/9.204, allocations: 269.5 kB / 3.641 GB, free: 38.95 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/9.206, allocations: 1.16 MB / 3.642 GB, free: 38.64 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006818/9.207, allocations: 1.002 MB / 3.643 GB, free: 37.93 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001288/9.208, allocations: 0.5816 MB / 3.644 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/9.208, allocations: 44.67 kB / 3.644 GB, free: 37.9 MB / 0.5417 GB Notification: Performance of SimCode: time 1.646e-06/9.208, allocations: 0 / 3.644 GB, free: 37.9 MB / 0.5417 GB Notification: Performance of Templates: time 0.06812/9.276, allocations: 39.62 MB / 3.682 GB, free: 34.3 MB / 0.5417 GB