Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.438/2.438, allocations: 235.2 MB / 242.3 MB, free: 15.79 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.789e-05/2.789e-05, allocations: 4 kB / 299.6 MB, free: 6.438 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.3996, allocations: 54.86 MB / 354.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.856/8.256, allocations: 2.595 GB / 2.942 GB, free: 2.531 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003056/8.256, allocations: 86.69 kB / 2.942 GB, free: 2.484 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 .... Notification: Performance of FrontEnd - DAE generated: time 2.206/10.46, allocations: 395.2 MB / 3.328 GB, free: 5.719 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.924e-06/10.46, allocations: 0 / 3.328 GB, free: 5.719 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.78e-05/10.46, allocations: 12 kB / 3.328 GB, free: 5.707 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006987/10.47, allocations: 1.535 MB / 3.329 GB, free: 4.129 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/10.47, allocations: 12.03 kB / 3.329 GB, free: 4.117 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/10.47, allocations: 296.3 kB / 3.329 GB, free: 3.828 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/10.47, allocations: 472.5 kB / 3.33 GB, free: 3.336 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.85e-05/10.47, allocations: 15.95 kB / 3.33 GB, free: 3.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/10.47, allocations: 27.98 kB / 3.33 GB, free: 3.293 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001063/10.48, allocations: 362.5 kB / 3.33 GB, free: 2.938 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/10.48, allocations: 468.6 kB / 3.331 GB, free: 2.43 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/10.48, allocations: 4 kB / 3.331 GB, free: 2.426 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.333e-05/10.48, allocations: 7.984 kB / 3.331 GB, free: 2.418 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/10.48, allocations: 11.94 kB / 3.331 GB, free: 2.406 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.6507/11.13, allocations: 54.98 MB / 3.384 GB, free: 36.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000736/11.13, allocations: 256.4 kB / 3.385 GB, free: 36.08 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002894/11.13, allocations: 123.2 kB / 3.385 GB, free: 36.07 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2445/11.37, allocations: 64.94 MB / 3.448 GB, free: 29.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/11.37, allocations: 30.56 kB / 3.448 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=24): time 3.266e-06/11.37, allocations: 0 / 3.448 GB, free: 29.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=24): time 0.003501/11.38, allocations: 0.5936 MB / 3.449 GB, free: 29.01 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.09e-05/11.38, allocations: 102.8 kB / 3.449 GB, free: 28.89 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00049/11.38, allocations: 298.8 kB / 3.449 GB, free: 28.78 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.487e-05/11.38, allocations: 25.7 kB / 3.449 GB, free: 28.75 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002187/11.38, allocations: 278.5 kB / 3.449 GB, free: 28.61 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.672e-05/11.38, allocations: 86.8 kB / 3.449 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/11.38, allocations: 6.625 kB / 3.449 GB, free: 28.56 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000169/11.38, allocations: 347.9 kB / 3.45 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002566/11.38, allocations: 99.97 kB / 3.45 GB, free: 28.25 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003442/11.38, allocations: 242.6 kB / 3.45 GB, free: 28.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/11.38, allocations: 251.9 kB / 3.45 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/11.38, allocations: 0 / 3.45 GB, free: 28.06 MB / 0.5105 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002411/11.38, allocations: 0.5178 MB / 3.451 GB, free: 27.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007847/11.38, allocations: 1.744 MB / 3.453 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/11.38, allocations: 10.5 kB / 3.453 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002489/11.38, allocations: 44 kB / 3.453 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/11.38, allocations: 96.19 kB / 3.453 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00132/11.39, allocations: 0.6427 MB / 3.453 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000777/11.39, allocations: 58.47 kB / 3.453 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/11.39, allocations: 26.41 kB / 3.453 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/11.39, allocations: 3.094 kB / 3.453 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001639/11.39, allocations: 372.8 kB / 3.454 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/11.39, allocations: 10.16 kB / 3.454 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/11.39, allocations: 11.33 kB / 3.454 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007896/11.39, allocations: 104.2 kB / 3.454 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/11.39, allocations: 16.95 kB / 3.454 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005977/11.39, allocations: 48.59 kB / 3.454 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/11.39, allocations: 17.75 kB / 3.454 GB, free: 25.6 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (massFlowRate1.medium.phase,boundary_fixed.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 (46): * Single equations (assignments): 45 * 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.0001751/11.39, allocations: 122.7 kB / 3.454 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001999/11.39, allocations: 384.2 kB / 3.454 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.93e-05/11.39, allocations: 42.38 kB / 3.455 GB, free: 25.41 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003166/11.4, allocations: 1.556 MB / 3.456 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.368e-05/11.4, allocations: 24.81 kB / 3.456 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/11.4, allocations: 0 / 3.456 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/11.4, allocations: 3.844 kB / 3.456 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/11.4, allocations: 2.166 MB / 3.458 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/11.4, allocations: 0 / 3.458 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004665/11.4, allocations: 56.59 kB / 3.458 GB, free: 24.86 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009824/11.4, allocations: 0.6025 MB / 3.459 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/11.4, allocations: 10.83 kB / 3.459 GB, free: 24.81 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/11.4, allocations: 1.078 MB / 3.46 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/11.4, allocations: 2.625 kB / 3.46 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002444/11.41, allocations: 1.219 MB / 3.461 GB, free: 23.99 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/11.41, allocations: 188 kB / 3.461 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/11.41, allocations: 4 kB / 3.461 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005566/11.41, allocations: 28.23 kB / 3.461 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/11.41, allocations: 25.7 kB / 3.461 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/11.41, allocations: 11.89 kB / 3.461 GB, free: 23.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000373/11.41, allocations: 229.7 kB / 3.462 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.71e-07/11.41, allocations: 0 / 3.462 GB, free: 23.76 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006015/11.41, allocations: 1.155 MB / 3.463 GB, free: 23.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,massFlowRate1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.0133/11.43, allocations: 3.309 MB / 3.466 GB, free: 22.72 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001738/11.43, allocations: 0.6453 MB / 3.467 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.269e-06/11.43, allocations: 0 / 3.467 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006954/11.43, allocations: 395.8 kB / 3.467 GB, free: 22.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001873/11.43, allocations: 185.8 kB / 3.467 GB, free: 22.68 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00606/11.44, allocations: 1.445 MB / 3.469 GB, free: 22.36 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/11.44, allocations: 0.9434 MB / 3.469 GB, free: 21.65 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001785/11.44, allocations: 0.6159 MB / 3.47 GB, free: 21.62 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004107/11.44, allocations: 237.3 kB / 3.47 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of SimCode: time 1.252e-06/11.44, allocations: 0 / 3.47 GB, free: 21.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.165/11.6, allocations: 37.97 MB / 3.507 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002553/11.61, allocations: 193.7 kB / 3.508 GB, free: 4.75 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.384/15.99, allocations: 0 / 3.508 GB, free: 4.75 MB / 0.5105 GB