Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestSharpEdgedOrifice",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 235.1 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.299e-05/2.301e-05, allocations: 4 kB / 299.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3869/0.387, allocations: 54.86 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/1.773, allocations: 469.3 MB / 0.8044 GB, free: 61.52 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/1.774, allocations: 79.7 kB / 0.8045 GB, free: 61.47 MB / 490.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 1.037/2.81, allocations: 189.9 MB / 0.9899 GB, free: 79.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.953e-06/2.81, allocations: 0 / 0.9899 GB, free: 79.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.747e-05/2.81, allocations: 12 kB / 0.99 GB, free: 79.11 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002847/2.813, allocations: 1.032 MB / 0.991 GB, free: 78.03 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/2.813, allocations: 8.031 kB / 0.991 GB, free: 78.02 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/2.815, allocations: 167 kB / 0.9911 GB, free: 77.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/2.817, allocations: 0.5895 MB / 0.9917 GB, free: 77.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/2.817, allocations: 16 kB / 0.9917 GB, free: 77.21 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001035/2.817, allocations: 24 kB / 0.9917 GB, free: 77.18 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001104/2.818, allocations: 438.5 kB / 0.9922 GB, free: 76.75 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/2.819, allocations: 0.5309 MB / 0.9927 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/2.819, allocations: 7.875 kB / 0.9927 GB, free: 76.17 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.169e-05/2.819, allocations: 4 kB / 0.9927 GB, free: 76.17 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.398e-05/2.819, allocations: 8 kB / 0.9927 GB, free: 76.16 MB / 490.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.004704/2.824, allocations: 2.7 MB / 0.9953 GB, free: 73.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009716/2.825, allocations: 251.5 kB / 0.9956 GB, free: 73.04 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/2.825, allocations: 116.8 kB / 0.9957 GB, free: 72.93 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003005/2.826, allocations: 199.1 kB / 0.9959 GB, free: 72.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003542/2.826, allocations: 189.4 kB / 0.9961 GB, free: 72.49 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 3.457e-06/2.826, allocations: 0 / 0.9961 GB, free: 72.49 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.01822/2.844, allocations: 1.492 MB / 0.9975 GB, free: 70.99 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.086e-05/2.845, allocations: 162.2 kB / 0.9977 GB, free: 70.8 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000863/2.845, allocations: 0.5021 MB / 0.9982 GB, free: 70.29 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/2.845, allocations: 33.64 kB / 0.9982 GB, free: 70.25 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002969/2.846, allocations: 382.7 kB / 0.9986 GB, free: 69.87 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.688e-05/2.846, allocations: 82.78 kB / 0.9986 GB, free: 69.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/2.846, allocations: 0 / 0.9986 GB, free: 69.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001115/2.846, allocations: 370.8 kB / 0.999 GB, free: 69.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/2.846, allocations: 145.1 kB / 0.9991 GB, free: 69.27 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004526/2.847, allocations: 370.4 kB / 0.9995 GB, free: 68.8 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01735/2.864, allocations: 1.443 MB / 1.001 GB, free: 67.36 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/2.864, allocations: 4 kB / 1.001 GB, free: 67.35 MB / 490.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.01827/2.883, allocations: 1.811 MB / 1.003 GB, free: 65.53 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000549/2.883, allocations: 2.735 MB / 1.005 GB, free: 62.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/2.883, allocations: 8 kB / 1.005 GB, free: 62.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.646e-05/2.883, allocations: 8 kB / 1.005 GB, free: 62.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01328/2.897, allocations: 0.6126 MB / 1.006 GB, free: 61.95 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00633/2.903, allocations: 1.011 MB / 1.007 GB, free: 60.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001048/2.904, allocations: 67.42 kB / 1.007 GB, free: 60.85 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/2.904, allocations: 51.98 kB / 1.007 GB, free: 60.8 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/2.904, allocations: 4 kB / 1.007 GB, free: 60.79 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004551/2.909, allocations: 0.8939 MB / 1.008 GB, free: 59.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/2.909, allocations: 12.19 kB / 1.008 GB, free: 59.89 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/2.909, allocations: 8 kB / 1.008 GB, free: 59.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/2.91, allocations: 135.8 kB / 1.008 GB, free: 59.75 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/2.91, allocations: 15.92 kB / 1.008 GB, free: 59.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009038/2.911, allocations: 47.52 kB / 1.008 GB, free: 59.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/2.911, allocations: 55.98 kB / 1.008 GB, free: 59.63 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (62): * Single equations (assignments): 60 * 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.0002261/2.911, allocations: 158.5 kB / 1.008 GB, free: 59.46 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01746/2.928, allocations: 1.511 MB / 1.01 GB, free: 57.94 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/2.929, allocations: 63.25 kB / 1.01 GB, free: 57.88 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005501/2.934, allocations: 0.7163 MB / 1.011 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/2.934, allocations: 4 kB / 1.011 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/2.934, allocations: 0 / 1.011 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.934, allocations: 0 / 1.011 GB, free: 57.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/2.935, allocations: 437.6 kB / 1.011 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/2.935, allocations: 4 kB / 1.011 GB, free: 56.68 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003325/2.938, allocations: 171.8 kB / 1.011 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/2.938, allocations: 0 / 1.011 GB, free: 56.51 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.499e-05/2.938, allocations: 7.984 kB / 1.011 GB, free: 56.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001655/2.94, allocations: 0.7264 MB / 1.012 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/2.94, allocations: 0 / 1.012 GB, free: 55.75 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005014/2.945, allocations: 0.6406 MB / 1.013 GB, free: 55.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002287/2.945, allocations: 148.3 kB / 1.013 GB, free: 54.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001762/2.946, allocations: 8 kB / 1.013 GB, free: 54.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004547/2.946, allocations: 15.98 kB / 1.013 GB, free: 54.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.846e-05/2.946, allocations: 15.97 kB / 1.013 GB, free: 54.89 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.43e-05/2.946, allocations: 15.98 kB / 1.013 GB, free: 54.88 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006191/2.947, allocations: 403.1 kB / 1.013 GB, free: 54.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/2.947, allocations: 0 / 1.013 GB, free: 54.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002431/2.949, allocations: 0.5772 MB / 1.014 GB, free: 53.9 MB / 490.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 (23): * Single equations (assignments): 21 * 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 Backend phase and start with SimCode phase: time 0.007966/2.957, allocations: 2.448 MB / 1.016 GB, free: 51.43 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02258/2.98, allocations: 1.554 MB / 1.018 GB, free: 49.85 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/2.98, allocations: 5.125 kB / 1.018 GB, free: 49.85 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005785/2.986, allocations: 399.1 kB / 1.018 GB, free: 49.45 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002041/2.988, allocations: 206.4 kB / 1.018 GB, free: 49.25 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/3, allocations: 2.575 MB / 1.021 GB, free: 46.63 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003948/3.001, allocations: 0.8915 MB / 1.022 GB, free: 45.71 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002472/3.003, allocations: 288.5 kB / 1.022 GB, free: 45.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005604/3.004, allocations: 223.3 kB / 1.022 GB, free: 45.21 MB / 490.7 MB Notification: Performance of SimCode: time 1.212e-06/3.004, allocations: 0 / 1.022 GB, free: 45.21 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08594/3.09, allocations: 24.54 MB / 1.046 GB, free: 20.7 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002891/3.09, allocations: 208.5 kB / 1.046 GB, free: 20.43 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.769/6.859, allocations: 7.906 kB / 1.046 GB, free: 20.42 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestSharpEdgedOrifice_res.mat does not exist to compare? outputFormat=mat