Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Fittings_TestWallFriction",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 235.1 MB / 242.3 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.343e-05/2.348e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.363, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.541, allocations: 329.1 MB / 0.6675 GB, free: 133 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/1.541, allocations: 85.45 kB / 0.6676 GB, free: 133 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.516/3.056, allocations: 326.3 MB / 0.9863 GB, free: 41.72 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.044e-06/3.056, allocations: 0 / 0.9863 GB, free: 41.72 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001341/3.057, allocations: 39.84 kB / 0.9863 GB, free: 41.68 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: 254 * Number of variables: 254 Notification: Performance of Generate backend data structure: time 0.005404/3.062, allocations: 1.777 MB / 0.988 GB, free: 39.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/3.062, allocations: 12.03 kB / 0.9881 GB, free: 39.85 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001149/3.063, allocations: 182.1 kB / 0.9882 GB, free: 39.67 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/3.067, allocations: 1.112 MB / 0.9893 GB, free: 38.54 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.231e-05/3.067, allocations: 32 kB / 0.9893 GB, free: 38.51 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/3.067, allocations: 56 kB / 0.9894 GB, free: 38.45 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00284/3.07, allocations: 1.187 MB / 0.9906 GB, free: 37.27 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00273/3.073, allocations: 1.296 MB / 0.9918 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.835e-05/3.073, allocations: 0 / 0.9918 GB, free: 35.87 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/3.073, allocations: 4 kB / 0.9918 GB, free: 35.86 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.435e-05/3.073, allocations: 57.94 kB / 0.9919 GB, free: 35.81 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.01143/3.084, allocations: 6.523 MB / 0.9982 GB, free: 28.94 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/3.086, allocations: 477.6 kB / 0.9987 GB, free: 28.46 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005889/3.086, allocations: 294.5 kB / 0.999 GB, free: 28.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03066/3.117, allocations: 17.17 MB / 1.016 GB, free: 7.812 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005387/3.117, allocations: 266.7 kB / 1.016 GB, free: 7.535 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 4.017e-06/3.117, allocations: 0 / 1.016 GB, free: 7.535 MB / 490.7 MB Notification: Performance of matching and sorting (n=42): time 0.009009/3.126, allocations: 1.023 MB / 1.017 GB, free: 6.504 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.458e-05/3.127, allocations: 265 kB / 1.017 GB, free: 6.184 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001648/3.128, allocations: 0.9215 MB / 1.018 GB, free: 5.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.306e-05/3.128, allocations: 25.7 kB / 1.018 GB, free: 5.223 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006725/3.129, allocations: 0.7806 MB / 1.019 GB, free: 4.43 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/3.129, allocations: 161.9 kB / 1.019 GB, free: 4.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.319e-05/3.129, allocations: 0 / 1.019 GB, free: 4.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/3.129, allocations: 349.9 kB / 1.019 GB, free: 3.922 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006073/3.13, allocations: 242.6 kB / 1.02 GB, free: 3.688 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009388/3.131, allocations: 0.9291 MB / 1.021 GB, free: 2.418 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01323/3.144, allocations: 1.362 MB / 1.022 GB, free: 1.051 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.347e-05/3.144, allocations: 8 kB / 1.022 GB, free: 1.043 MB / 490.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.3796/3.524, allocations: 2.058 MB / 1.024 GB, free: 76.89 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002067/3.526, allocations: 9.092 MB / 1.033 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.343e-05/3.526, allocations: 24.97 kB / 1.033 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001134/3.526, allocations: 34.55 kB / 1.033 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004449/3.531, allocations: 426.2 kB / 1.033 GB, free: 67.44 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002107/3.533, allocations: 1.372 MB / 1.035 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002117/3.535, allocations: 164.8 kB / 1.035 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000214/3.535, allocations: 83.38 kB / 1.035 GB, free: 66.27 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/3.535, allocations: 5.281 kB / 1.035 GB, free: 66.27 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01205/3.547, allocations: 1.674 MB / 1.036 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.282e-05/3.547, allocations: 24.59 kB / 1.037 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.549e-05/3.547, allocations: 34 kB / 1.037 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001966/3.549, allocations: 315.4 kB / 1.037 GB, free: 66.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004857/3.55, allocations: 0.6576 MB / 1.037 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/3.552, allocations: 113.4 kB / 1.038 GB, free: 65.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001639/3.552, allocations: 85.31 kB / 1.038 GB, free: 65.67 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 104 * 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 (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004266/3.552, allocations: 199.7 kB / 1.038 GB, free: 65.54 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008931/3.561, allocations: 1.029 MB / 1.039 GB, free: 65.44 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002095/3.561, allocations: 126.1 kB / 1.039 GB, free: 65.38 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007968/3.569, allocations: 1.454 MB / 1.04 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/3.569, allocations: 10.41 kB / 1.04 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/3.569, allocations: 0 / 1.04 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/3.569, allocations: 0 / 1.04 GB, free: 65.23 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00797/3.577, allocations: 1.935 MB / 1.042 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/3.578, allocations: 1.75 kB / 1.042 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003223/3.581, allocations: 241.9 kB / 1.043 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/3.581, allocations: 3.812 kB / 1.043 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.764e-05/3.581, allocations: 14.67 kB / 1.043 GB, free: 64.94 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001714/3.583, allocations: 1.321 MB / 1.044 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/3.583, allocations: 0 / 1.044 GB, free: 63.77 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005865/3.588, allocations: 1.1 MB / 1.045 GB, free: 63.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004569/3.589, allocations: 251.9 kB / 1.045 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003386/3.589, allocations: 3.938 kB / 1.045 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009647/3.59, allocations: 39.5 kB / 1.045 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/3.59, allocations: 38.67 kB / 1.045 GB, free: 63.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/3.591, allocations: 28.73 kB / 1.045 GB, free: 63.35 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001345/3.592, allocations: 0.7027 MB / 1.046 GB, free: 63.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.01e-07/3.592, allocations: 0 / 1.046 GB, free: 63.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006017/3.598, allocations: 1.295 MB / 1.047 GB, free: 63.21 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (61): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01073/3.609, allocations: 2.928 MB / 1.05 GB, free: 62.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00702/3.616, allocations: 1.602 MB / 1.052 GB, free: 62.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.822e-06/3.616, allocations: 0 / 1.052 GB, free: 62.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004903/3.621, allocations: 0.5488 MB / 1.052 GB, free: 62.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003487/3.624, allocations: 387.1 kB / 1.053 GB, free: 62.12 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008451/3.633, allocations: 2.561 MB / 1.055 GB, free: 61.66 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007547/3.634, allocations: 1.198 MB / 1.056 GB, free: 60.95 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.003285/3.637, allocations: 0.508 MB / 1.057 GB, free: 60.89 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009197/3.638, allocations: 0.5046 MB / 1.057 GB, free: 60.88 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/3.638, allocations: 0 / 1.057 GB, free: 60.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1273/3.765, allocations: 41.35 MB / 1.098 GB, free: 58.45 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003326/3.766, allocations: 196.3 kB / 1.098 GB, free: 58.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.428/8.194, allocations: 0 / 1.098 GB, free: 58.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Fittings.TestWallFriction_res.mat does not exist to compare? outputFormat=mat