Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pressure1.p|pressure2.p|relativePressure.p_rel|simpleGenericOrifice.port_b.m_flow|simpleGenericOrifice.port_b.p|simpleGenericOrifice.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure") Notification: Performance of loadModel(ModelicaTest): time 1.825/1.825, allocations: 209.3 MB / 221.9 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.173e-05/4.216e-05, allocations: 11.98 kB / 273.1 MB, free: 0.7188 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08609/0.08616, allocations: 48.69 MB / 321.8 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.222/6.308, allocations: 2.485 GB / 2.799 GB, free: 97.71 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002677/6.308, allocations: 85.55 kB / 2.799 GB, free: 97.7 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 .... Notification: Performance of FrontEnd - DAE generated: time 1.594/7.902, allocations: 399.6 MB / 3.189 GB, free: 23.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.153e-06/7.902, allocations: 2.812 kB / 3.189 GB, free: 23.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.317e-05/7.902, allocations: 15.12 kB / 3.189 GB, free: 23.3 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.004863/7.907, allocations: 1.476 MB / 3.191 GB, free: 21.78 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/7.907, allocations: 8.031 kB / 3.191 GB, free: 21.77 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002404/7.909, allocations: 242.4 kB / 3.191 GB, free: 21.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009527/7.91, allocations: 447.2 kB / 3.191 GB, free: 21.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.92e-05/7.911, allocations: 33.47 kB / 3.192 GB, free: 21.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/7.911, allocations: 36 kB / 3.192 GB, free: 21.01 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001703/7.912, allocations: 0.6725 MB / 3.192 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/7.912, allocations: 0 / 3.192 GB, free: 20.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/7.912, allocations: 19.38 kB / 3.192 GB, free: 20.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/7.912, allocations: 12 kB / 3.192 GB, free: 20.25 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/7.914, allocations: 0.5245 MB / 3.193 GB, free: 19.73 MB / 426.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.003435/7.917, allocations: 3.134 MB / 3.196 GB, free: 16.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/7.919, allocations: 370.3 kB / 3.196 GB, free: 16.02 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002397/7.919, allocations: 124.8 kB / 3.196 GB, free: 15.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4758/8.395, allocations: 80.93 MB / 3.275 GB, free: 27.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.614e-05/8.395, allocations: 41.56 kB / 3.275 GB, free: 27.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.426e-06/8.395, allocations: 0 / 3.275 GB, free: 27.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.002766/8.398, allocations: 0.5971 MB / 3.276 GB, free: 27.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/8.398, allocations: 117.3 kB / 3.276 GB, free: 27.21 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000429/8.398, allocations: 297.6 kB / 3.276 GB, free: 27.11 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.217e-05/8.398, allocations: 29.45 kB / 3.276 GB, free: 27.08 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001518/8.398, allocations: 321.2 kB / 3.277 GB, free: 26.88 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/8.399, allocations: 91.58 kB / 3.277 GB, free: 26.83 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.83e-05/8.399, allocations: 11.5 kB / 3.277 GB, free: 26.83 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/8.399, allocations: 330.4 kB / 3.277 GB, free: 26.52 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002429/8.399, allocations: 92.59 kB / 3.277 GB, free: 26.52 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003169/8.399, allocations: 294.2 kB / 3.277 GB, free: 26.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003209/8.4, allocations: 138.6 kB / 3.278 GB, free: 26.26 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.047e-06/8.4, allocations: 0 / 3.278 GB, free: 26.26 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001002/8.401, allocations: 421.8 kB / 3.278 GB, free: 26.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004837/8.401, allocations: 2.433 MB / 3.28 GB, free: 23.65 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.446e-05/8.401, allocations: 7.344 kB / 3.28 GB, free: 23.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002232/8.403, allocations: 204.5 kB / 3.281 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005896/8.404, allocations: 110.3 kB / 3.281 GB, free: 23.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005369/8.405, allocations: 0.582 MB / 3.281 GB, free: 23.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006535/8.405, allocations: 70.41 kB / 3.281 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.946e-05/8.405, allocations: 26.03 kB / 3.281 GB, free: 23.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/8.405, allocations: 3.625 kB / 3.281 GB, free: 23.09 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008288/8.406, allocations: 352.1 kB / 3.282 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/8.406, allocations: 7.844 kB / 3.282 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/8.406, allocations: 7.906 kB / 3.282 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005717/8.407, allocations: 120.3 kB / 3.282 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/8.407, allocations: 17.19 kB / 3.282 GB, free: 23.08 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/8.407, allocations: 49.66 kB / 3.282 GB, free: 23.07 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/8.407, allocations: 26.92 kB / 3.282 GB, free: 23.07 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (51): * Single equations (assignments): 50 * 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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0001771/8.408, allocations: 140.4 kB / 3.282 GB, free: 22.96 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/8.408, allocations: 43.89 kB / 3.282 GB, free: 22.94 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002482/8.41, allocations: 1.842 MB / 3.284 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.175e-05/8.41, allocations: 26.3 kB / 3.284 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-06/8.41, allocations: 0 / 3.284 GB, free: 22.75 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.729e-06/8.41, allocations: 7.891 kB / 3.284 GB, free: 22.74 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/8.412, allocations: 0.9398 MB / 3.285 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.686e-06/8.412, allocations: 0 / 3.285 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000371/8.412, allocations: 59.2 kB / 3.285 GB, free: 22.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00165/8.414, allocations: 0.7066 MB / 3.286 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.672e-05/8.414, allocations: 10.72 kB / 3.286 GB, free: 22.46 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008146/8.415, allocations: 0.9887 MB / 3.287 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.866e-06/8.415, allocations: 3.609 kB / 3.287 GB, free: 21.93 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001535/8.416, allocations: 1.197 MB / 3.288 GB, free: 21.67 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003583/8.417, allocations: 245.1 kB / 3.288 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-05/8.417, allocations: 5.438 kB / 3.288 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004439/8.417, allocations: 29.22 kB / 3.288 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/8.417, allocations: 27.67 kB / 3.288 GB, free: 21.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/8.417, allocations: 15.08 kB / 3.288 GB, free: 21.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004163/8.418, allocations: 302.8 kB / 3.288 GB, free: 21.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.05e-07/8.418, allocations: 0 / 3.288 GB, free: 21.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00494/8.423, allocations: 1.194 MB / 3.289 GB, free: 21.41 MB / 442.7 MB 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 (31): * Single equations (assignments): 24 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.008394/8.431, allocations: 1.62 MB / 3.291 GB, free: 21.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00148/8.433, allocations: 0.6765 MB / 3.292 GB, free: 21.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.814e-06/8.433, allocations: 3.625 kB / 3.292 GB, free: 21.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005982/8.433, allocations: 431.2 kB / 3.292 GB, free: 21.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/8.435, allocations: 187.2 kB / 3.292 GB, free: 21.17 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6456/9.08, allocations: 149.6 MB / 3.438 GB, free: 68.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004414/9.081, allocations: 0.9855 MB / 3.439 GB, free: 67.66 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/9.081, allocations: 43.95 kB / 3.439 GB, free: 67.65 MB / 458.7 MB Notification: Performance of SimCode: time 1.773e-06/9.081, allocations: 0 / 3.439 GB, free: 67.65 MB / 458.7 MB Notification: Performance of Templates: time 0.05038/9.131, allocations: 31.07 MB / 3.47 GB, free: 65.2 MB / 458.7 MB