Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice") Notification: Performance of loadModel(ModelicaTest): time 2.331/2.331, allocations: 270 MB / 282.6 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.268e-05/3.279e-05, allocations: 8 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3236/0.3237, allocations: 61.87 MB / 408.8 MB, free: 10.67 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6489/0.9727, allocations: 290.1 MB / 0.6826 GB, free: 4.797 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002298/0.9729, allocations: 85.81 kB / 0.6827 GB, free: 4.75 MB / 0.4948 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 0.6461/1.619, allocations: 119.7 MB / 0.7995 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.295e-06/1.619, allocations: 0 / 0.7995 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.277e-05/1.619, allocations: 16 kB / 0.7995 GB, free: 140.1 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: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001448/1.621, allocations: 0.8606 MB / 0.8004 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/1.621, allocations: 16.03 kB / 0.8004 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004404/1.621, allocations: 83.2 kB / 0.8005 GB, free: 139.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001071/1.622, allocations: 0.517 MB / 0.801 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.944e-05/1.622, allocations: 37 kB / 0.801 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-05/1.622, allocations: 40 kB / 0.8011 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001126/1.624, allocations: 0.6454 MB / 0.8017 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/1.624, allocations: 12 kB / 0.8017 GB, free: 137.8 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.129e-05/1.624, allocations: 27.94 kB / 0.8017 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/1.624, allocations: 12 kB / 0.8017 GB, free: 137.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000902/1.625, allocations: 0.4938 MB / 0.8022 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003769/1.628, allocations: 3.081 MB / 0.8052 GB, free: 134 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004443/1.629, allocations: 202.6 kB / 0.8054 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/1.629, allocations: 137.1 kB / 0.8056 GB, free: 133.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002347/1.629, allocations: 344.4 kB / 0.8059 GB, free: 133.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/1.63, allocations: 276.9 kB / 0.8061 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 3.543e-06/1.63, allocations: 0 / 0.8061 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.0009389/1.631, allocations: 401.5 kB / 0.8065 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.514e-05/1.631, allocations: 286.7 kB / 0.8068 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000679/1.632, allocations: 493 kB / 0.8073 GB, free: 131.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.824e-05/1.632, allocations: 29.7 kB / 0.8073 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/1.632, allocations: 369.4 kB / 0.8077 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.3e-05/1.632, allocations: 98.69 kB / 0.8077 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/1.632, allocations: 4 kB / 0.8078 GB, free: 131.2 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.496e-05/1.632, allocations: 330.8 kB / 0.8081 GB, free: 130.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00033/1.632, allocations: 145.1 kB / 0.8082 GB, free: 130.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/1.633, allocations: 367.9 kB / 0.8086 GB, free: 130.2 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/1.633, allocations: 217.5 kB / 0.8088 GB, free: 130 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.942e-06/1.633, allocations: 0 / 0.8088 GB, free: 130 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001217/1.635, allocations: 0.5569 MB / 0.8093 GB, free: 129.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004234/1.635, allocations: 2.124 MB / 0.8114 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.635, allocations: 11.94 kB / 0.8114 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/1.635, allocations: 12 kB / 0.8114 GB, free: 127.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/1.636, allocations: 167.8 kB / 0.8116 GB, free: 127 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004007/1.637, allocations: 0.6172 MB / 0.8122 GB, free: 126.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007416/1.638, allocations: 83.36 kB / 0.8122 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/1.638, allocations: 31.98 kB / 0.8123 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/1.638, allocations: 4 kB / 0.8123 GB, free: 126.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001077/1.639, allocations: 0.5139 MB / 0.8128 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/1.639, allocations: 8 kB / 0.8128 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/1.639, allocations: 8 kB / 0.8128 GB, free: 125.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004787/1.639, allocations: 107.8 kB / 0.8129 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.28e-05/1.639, allocations: 16.58 kB / 0.8129 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004581/1.64, allocations: 59.66 kB / 0.813 GB, free: 125.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.709e-05/1.64, allocations: 28 kB / 0.813 GB, free: 125.5 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,p_table.a,p_table.b,p_table.last,$PRE.p_table.nextEvent,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002027/1.64, allocations: 183.1 kB / 0.8132 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001535/1.64, allocations: 63.25 kB / 0.8132 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001605/1.642, allocations: 0.7436 MB / 0.814 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.211e-05/1.642, allocations: 4 kB / 0.814 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.519e-06/1.642, allocations: 7.953 kB / 0.814 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.888e-06/1.642, allocations: 7.984 kB / 0.814 GB, free: 124.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007177/1.643, allocations: 0.5247 MB / 0.8145 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.209e-06/1.643, allocations: 0 / 0.8145 GB, free: 123.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000749/1.643, allocations: 115.8 kB / 0.8146 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.903e-06/1.644, allocations: 0 / 0.8146 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.976e-05/1.644, allocations: 16 kB / 0.8146 GB, free: 123.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002658/1.644, allocations: 0.586 MB / 0.8152 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.409e-06/1.644, allocations: 0 / 0.8152 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009644/1.645, allocations: 0.5327 MB / 0.8157 GB, free: 122.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003333/1.645, allocations: 220 kB / 0.8159 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000132/1.645, allocations: 15.95 kB / 0.8159 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004292/1.646, allocations: 23.98 kB / 0.816 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.581e-05/1.646, allocations: 28.28 kB / 0.816 GB, free: 122.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.275e-05/1.646, allocations: 20 kB / 0.816 GB, free: 122.2 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005632/1.647, allocations: 403.2 kB / 0.8164 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.158e-06/1.647, allocations: 0 / 0.8164 GB, free: 121.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.00163/1.648, allocations: 463.4 kB / 0.8168 GB, free: 121.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,p_table.a,p_table.b,p_table.last,p_table.nextEvent,p_table.nextEventScaled) * Number of discrete states: 6 (p_table.nextEvent,p_table.last,p_table.nextEventScaled,p_table.b,p_table.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009914/1.649, allocations: 481.1 kB / 0.8173 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00246/1.652, allocations: 0.8591 MB / 0.8181 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/1.652, allocations: 256 / 0.8181 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/1.653, allocations: 363.6 kB / 0.8185 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.654, allocations: 263.5 kB / 0.8187 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/1.656, allocations: 0.7572 MB / 0.8195 GB, free: 118.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/1.656, allocations: 0.8999 MB / 0.8203 GB, free: 117.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/1.657, allocations: 71.41 kB / 0.8204 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of SimCode: time 1.729e-06/1.657, allocations: 0 / 0.8204 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of Templates: time 0.0215/1.678, allocations: 14.91 MB / 0.835 GB, free: 102.8 MB / 0.5261 GB