Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.737e-05/4.739e-05, allocations: 0 / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1754/0.1755, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.746/8.921, allocations: 2.766 GB / 3.167 GB, free: 84.96 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/8.922, allocations: 83.7 kB / 3.167 GB, free: 84.91 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 2.183/11.1, allocations: 405.6 MB / 3.563 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.964e-06/11.11, allocations: 0 / 3.563 GB, free: 66.08 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.87e-05/11.11, allocations: 11.09 kB / 3.563 GB, free: 66.08 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.006993/11.11, allocations: 1.543 MB / 3.564 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.174e-05/11.11, allocations: 10.12 kB / 3.564 GB, free: 65.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002457/11.11, allocations: 79.19 kB / 3.564 GB, free: 65.15 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006466/11.12, allocations: 291 kB / 3.565 GB, free: 65.11 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002127/11.12, allocations: 455.4 kB / 3.565 GB, free: 64.78 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.683e-05/11.12, allocations: 34.41 kB / 3.565 GB, free: 64.76 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001146/11.12, allocations: 37.97 kB / 3.565 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003847/11.13, allocations: 0.6979 MB / 3.566 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.281e-05/11.13, allocations: 0 / 3.566 GB, free: 64.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/11.13, allocations: 19.16 kB / 3.566 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/11.13, allocations: 9.406 kB / 3.566 GB, free: 64.4 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003904/11.13, allocations: 0.5659 MB / 3.566 GB, free: 64.24 MB / 0.5261 GB 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.0096/11.14, allocations: 2.981 MB / 3.569 GB, free: 61.91 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003207/11.14, allocations: 479.2 kB / 3.57 GB, free: 61.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006348/11.14, allocations: 148 kB / 3.57 GB, free: 61.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2433/11.39, allocations: 55.77 MB / 3.624 GB, free: 22.85 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.984e-05/11.39, allocations: 42.52 kB / 3.624 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.296e-06/11.39, allocations: 0 / 3.624 GB, free: 22.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.003293/11.39, allocations: 0.7242 MB / 3.625 GB, free: 22.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/11.39, allocations: 110.8 kB / 3.625 GB, free: 22.09 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005666/11.39, allocations: 355.4 kB / 3.626 GB, free: 21.76 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.805e-05/11.39, allocations: 33.7 kB / 3.626 GB, free: 21.72 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001757/11.39, allocations: 245.8 kB / 3.626 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/11.39, allocations: 105.1 kB / 3.626 GB, free: 21.41 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/11.39, allocations: 7.938 kB / 3.626 GB, free: 21.4 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/11.39, allocations: 354.5 kB / 3.626 GB, free: 21.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/11.39, allocations: 111.4 kB / 3.626 GB, free: 20.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/11.39, allocations: 225.8 kB / 3.627 GB, free: 20.69 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003419/11.39, allocations: 140.7 kB / 3.627 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/11.39, allocations: 0 / 3.627 GB, free: 20.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001102/11.39, allocations: 426.7 kB / 3.627 GB, free: 20.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003321/11.39, allocations: 1.306 MB / 3.628 GB, free: 18.78 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/11.39, allocations: 8 kB / 3.628 GB, free: 18.77 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004806/11.4, allocations: 339.2 kB / 3.629 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007226/11.4, allocations: 94.98 kB / 3.629 GB, free: 18.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006444/11.4, allocations: 0.6099 MB / 3.629 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007608/11.4, allocations: 63.12 kB / 3.629 GB, free: 17.77 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-05/11.4, allocations: 25.69 kB / 3.63 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/11.4, allocations: 7.938 kB / 3.63 GB, free: 17.75 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008553/11.4, allocations: 321.5 kB / 3.63 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/11.4, allocations: 4 kB / 3.63 GB, free: 17.46 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/11.4, allocations: 4 kB / 3.63 GB, free: 17.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007279/11.4, allocations: 110.8 kB / 3.63 GB, free: 17.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/11.4, allocations: 11.94 kB / 3.63 GB, free: 17.35 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006653/11.4, allocations: 66.86 kB / 3.63 GB, free: 17.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/11.4, allocations: 23.84 kB / 3.63 GB, free: 17.27 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.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 (40): * Single equations (assignments): 39 * 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 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001802/11.4, allocations: 127.7 kB / 3.63 GB, free: 17.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/11.4, allocations: 43.53 kB / 3.63 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002935/11.41, allocations: 1.994 MB / 3.632 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-05/11.41, allocations: 27.02 kB / 3.632 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.517e-06/11.41, allocations: 8.078 kB / 3.632 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/11.41, allocations: 7.609 kB / 3.632 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/11.41, allocations: 1.011 MB / 3.633 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.831e-06/11.41, allocations: 0 / 3.633 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005801/11.41, allocations: 81.75 kB / 3.633 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002493/11.41, allocations: 0.7527 MB / 3.634 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/11.41, allocations: 8 kB / 3.634 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009798/11.41, allocations: 1.013 MB / 3.635 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/11.41, allocations: 0 / 3.635 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001874/11.41, allocations: 1.263 MB / 3.636 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004387/11.41, allocations: 260.9 kB / 3.636 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/11.41, allocations: 8 kB / 3.636 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006017/11.42, allocations: 35.33 kB / 3.637 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/11.42, allocations: 31.48 kB / 3.637 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/11.42, allocations: 23.62 kB / 3.637 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00064/11.42, allocations: 387.3 kB / 3.637 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.71e-07/11.42, allocations: 4 kB / 3.637 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006123/11.42, allocations: 1.203 MB / 3.638 GB, free: 9.688 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01236/11.43, allocations: 3.13 MB / 3.641 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001844/11.44, allocations: 0.7037 MB / 3.642 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/11.44, allocations: 0 / 3.642 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0007496/11.44, allocations: 467.9 kB / 3.642 GB, free: 5.898 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002422/11.44, allocations: 272.4 kB / 3.643 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006481/11.45, allocations: 1.642 MB / 3.644 GB, free: 4.184 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/11.45, allocations: 1.005 MB / 3.645 GB, free: 3.262 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001457/11.45, allocations: 0.5757 MB / 3.646 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004247/11.45, allocations: 275.7 kB / 3.646 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of SimCode: time 2.575e-06/11.45, allocations: 0 / 3.646 GB, free: 2.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5599/12.01, allocations: 49.44 MB / 3.694 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00021/12.01, allocations: 234.1 kB / 3.694 GB, free: 67.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.143/17.15, allocations: 2.406 kB / 3.694 GB, free: 67.03 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat