Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSimpleGenericOrifice",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.356/2.356, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.037e-05/2.032e-05, allocations: 0 / 299.6 MB, free: 6.445 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3811/0.3812, allocations: 54.86 MB / 354.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7633/1.144, allocations: 283.1 MB / 0.6226 GB, free: 6.074 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/1.145, allocations: 79.14 kB / 0.6227 GB, free: 6.031 MB / 442.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 .... [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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 0.7459/1.891, allocations: 114.7 MB / 0.7347 GB, free: 119.1 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/1.891, allocations: 0 / 0.7347 GB, free: 119.1 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.18e-05/1.891, allocations: 12 kB / 0.7347 GB, free: 119.1 MB / 474.7 MB 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.001787/1.893, allocations: 0.8659 MB / 0.7356 GB, free: 118.2 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/1.893, allocations: 12.03 kB / 0.7356 GB, free: 118.2 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004866/1.893, allocations: 79.39 kB / 0.7357 GB, free: 118.1 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/1.895, allocations: 0.5593 MB / 0.7362 GB, free: 117.5 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/1.895, allocations: 16 kB / 0.7362 GB, free: 117.5 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/1.895, allocations: 24 kB / 0.7363 GB, free: 117.5 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001084/1.896, allocations: 466.5 kB / 0.7367 GB, free: 117 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/1.897, allocations: 0.5741 MB / 0.7373 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.897, allocations: 0 / 0.7373 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.008e-05/1.897, allocations: 4 kB / 0.7373 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/1.897, allocations: 12 kB / 0.7373 GB, free: 116.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004437/1.902, allocations: 3.016 MB / 0.7402 GB, free: 113.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004229/1.902, allocations: 178.9 kB / 0.7404 GB, free: 113 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/1.902, allocations: 109.2 kB / 0.7405 GB, free: 112.9 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001758/1.904, allocations: 1.025 MB / 0.7415 GB, free: 111.8 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003208/1.905, allocations: 173 kB / 0.7417 GB, free: 111.6 MB / 474.7 MB Notification: Performance of pre-optimization done (n=25): time 2.875e-06/1.905, allocations: 0 / 0.7417 GB, free: 111.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=25): time 0.004127/1.909, allocations: 0.5122 MB / 0.7422 GB, free: 111.1 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.267e-05/1.909, allocations: 162.2 kB / 0.7423 GB, free: 110.9 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005498/1.909, allocations: 382 kB / 0.7427 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.591e-05/1.909, allocations: 25.7 kB / 0.7427 GB, free: 110.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/1.91, allocations: 374.4 kB / 0.7431 GB, free: 110.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.319e-05/1.91, allocations: 86.78 kB / 0.7431 GB, free: 110 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.297e-05/1.91, allocations: 0 / 0.7431 GB, free: 110 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/1.91, allocations: 362.7 kB / 0.7435 GB, free: 109.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.91, allocations: 101.1 kB / 0.7436 GB, free: 109.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003794/1.911, allocations: 384.4 kB / 0.744 GB, free: 109 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003628/1.914, allocations: 433.3 kB / 0.7444 GB, free: 108.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.666e-06/1.914, allocations: 4 kB / 0.7444 GB, free: 108.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.004438/1.919, allocations: 0.7445 MB / 0.7451 GB, free: 107.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007027/1.919, allocations: 3.691 MB / 0.7487 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.669e-05/1.919, allocations: 12 kB / 0.7487 GB, free: 103.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.815e-05/1.919, allocations: 15.95 kB / 0.7487 GB, free: 103.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.922, allocations: 191.7 kB / 0.7489 GB, free: 103.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/1.923, allocations: 0.6601 MB / 0.7496 GB, free: 103 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007601/1.924, allocations: 75.41 kB / 0.7496 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.119e-05/1.924, allocations: 39.98 kB / 0.7497 GB, free: 102.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/1.924, allocations: 4 kB / 0.7497 GB, free: 102.9 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002995/1.927, allocations: 0.5597 MB / 0.7502 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/1.927, allocations: 8 kB / 0.7502 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/1.927, allocations: 16 kB / 0.7502 GB, free: 102.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/1.927, allocations: 127.8 kB / 0.7504 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.618e-05/1.927, allocations: 24.53 kB / 0.7504 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005536/1.928, allocations: 51.61 kB / 0.7504 GB, free: 102.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.055e-05/1.928, allocations: 35.98 kB / 0.7505 GB, free: 102 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 61 * 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.0001825/1.928, allocations: 159.3 kB / 0.7506 GB, free: 101.9 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00393/1.932, allocations: 0.5316 MB / 0.7511 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.048e-05/1.932, allocations: 51.44 kB / 0.7512 GB, free: 101.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/1.935, allocations: 0.6918 MB / 0.7519 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/1.935, allocations: 7.984 kB / 0.7519 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.935, allocations: 0 / 0.7519 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/1.935, allocations: 11.89 kB / 0.7519 GB, free: 100.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/1.936, allocations: 413.6 kB / 0.7523 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.936, allocations: 0 / 0.7523 GB, free: 100.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009802/1.937, allocations: 95.92 kB / 0.7524 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/1.937, allocations: 4 kB / 0.7524 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/1.937, allocations: 11.98 kB / 0.7524 GB, free: 100 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004978/1.938, allocations: 0.6171 MB / 0.753 GB, free: 99.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/1.938, allocations: 0 / 0.753 GB, free: 99.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001857/1.94, allocations: 477.6 kB / 0.7534 GB, free: 98.88 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/1.94, allocations: 184.2 kB / 0.7536 GB, free: 98.68 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001411/1.94, allocations: 11.95 kB / 0.7536 GB, free: 98.67 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003893/1.94, allocations: 11.98 kB / 0.7536 GB, free: 98.66 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.038e-05/1.941, allocations: 19.97 kB / 0.7537 GB, free: 98.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/1.941, allocations: 16 kB / 0.7537 GB, free: 98.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004386/1.941, allocations: 314.9 kB / 0.754 GB, free: 98.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.941, allocations: 0 / 0.754 GB, free: 98.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001814/1.943, allocations: 407.2 kB / 0.7544 GB, free: 97.92 MB / 474.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: 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 (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * 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.003033/1.946, allocations: 1.354 MB / 0.7557 GB, free: 96.54 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002949/1.949, allocations: 0.7698 MB / 0.7564 GB, free: 95.75 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/1.949, allocations: 0 / 0.7564 GB, free: 95.75 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001305/1.95, allocations: 304.2 kB / 0.7567 GB, free: 95.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.952, allocations: 189.3 kB / 0.7569 GB, free: 95.26 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003328/1.955, allocations: 0.9951 MB / 0.7579 GB, free: 94.22 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003923/1.956, allocations: 0.908 MB / 0.7588 GB, free: 93.29 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.001306/1.957, allocations: 208.3 kB / 0.759 GB, free: 93.08 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003801/1.957, allocations: 215.3 kB / 0.7592 GB, free: 92.87 MB / 474.7 MB Notification: Performance of SimCode: time 9.62e-07/1.957, allocations: 4 kB / 0.7592 GB, free: 92.87 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07195/2.029, allocations: 16.39 MB / 0.7752 GB, free: 76.53 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000256/2.03, allocations: 209.8 kB / 0.7754 GB, free: 76.23 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.285/5.314, allocations: 0 / 0.7754 GB, free: 76.23 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestSimpleGenericOrifice_res.mat does not exist to compare? outputFormat=mat