Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestFlowRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.563/2.563, allocations: 270 MB / 283.6 MB, free: 3.105 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.523e-05/4.5e-05, allocations: 11.22 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.139, allocations: 61.89 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.782/8.921, allocations: 2.766 GB / 3.167 GB, free: 85.69 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/8.921, allocations: 84.83 kB / 3.167 GB, free: 85.64 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.213/11.13, allocations: 405.6 MB / 3.563 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/11.13, allocations: 0 / 3.563 GB, free: 65.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.458e-05/11.13, allocations: 14.44 kB / 3.563 GB, free: 65.62 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.007073/11.14, allocations: 1.549 MB / 3.564 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/11.14, allocations: 10.25 kB / 3.564 GB, free: 64.75 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/11.14, allocations: 73.88 kB / 3.564 GB, free: 64.68 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003236/11.15, allocations: 301.5 kB / 3.565 GB, free: 64.64 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/11.15, allocations: 453.7 kB / 3.565 GB, free: 64.31 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.014e-05/11.15, allocations: 30.75 kB / 3.565 GB, free: 64.29 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.36e-05/11.15, allocations: 38.78 kB / 3.565 GB, free: 64.28 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002156/11.15, allocations: 0.6942 MB / 3.566 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/11.15, allocations: 0 / 3.566 GB, free: 63.96 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.492e-05/11.15, allocations: 17.97 kB / 3.566 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/11.15, allocations: 7.312 kB / 3.566 GB, free: 63.95 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001964/11.15, allocations: 0.565 MB / 3.566 GB, free: 63.78 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.005227/11.16, allocations: 2.973 MB / 3.569 GB, free: 61.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/11.16, allocations: 478.3 kB / 3.57 GB, free: 61.31 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/11.16, allocations: 145.9 kB / 3.57 GB, free: 61.25 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.179/11.34, allocations: 55.76 MB / 3.624 GB, free: 22.94 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/11.34, allocations: 42.52 kB / 3.624 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 3.346e-06/11.34, allocations: 4 kB / 3.624 GB, free: 22.89 MB / 0.5261 GB Notification: Performance of matching and sorting (n=30): time 0.004124/11.34, allocations: 0.7299 MB / 3.625 GB, free: 22.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/11.34, allocations: 106.8 kB / 3.625 GB, free: 22.18 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006593/11.34, allocations: 357 kB / 3.626 GB, free: 21.84 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.959e-05/11.34, allocations: 33.64 kB / 3.626 GB, free: 21.8 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/11.34, allocations: 246.5 kB / 3.626 GB, free: 21.57 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/11.34, allocations: 104.6 kB / 3.626 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/11.34, allocations: 4 kB / 3.626 GB, free: 21.48 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001063/11.34, allocations: 357.1 kB / 3.626 GB, free: 21.13 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003115/11.34, allocations: 115.5 kB / 3.626 GB, free: 21.03 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003743/11.34, allocations: 221.8 kB / 3.627 GB, free: 20.77 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003619/11.34, allocations: 141.3 kB / 3.627 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.441e-06/11.34, allocations: 0 / 3.627 GB, free: 20.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001189/11.35, allocations: 434.2 kB / 3.627 GB, free: 20.25 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003077/11.35, allocations: 1.304 MB / 3.628 GB, free: 18.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/11.35, allocations: 7.703 kB / 3.628 GB, free: 18.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/11.35, allocations: 335.5 kB / 3.629 GB, free: 18.61 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007179/11.35, allocations: 89.77 kB / 3.629 GB, free: 18.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006798/11.35, allocations: 0.6023 MB / 3.629 GB, free: 17.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008232/11.35, allocations: 78.98 kB / 3.629 GB, free: 17.85 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.493e-05/11.35, allocations: 20 kB / 3.63 GB, free: 17.83 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/11.35, allocations: 4 kB / 3.63 GB, free: 17.82 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008871/11.35, allocations: 324.2 kB / 3.63 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.515e-06/11.35, allocations: 4.406 kB / 3.63 GB, free: 17.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/11.35, allocations: 8 kB / 3.63 GB, free: 17.53 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007646/11.36, allocations: 106.5 kB / 3.63 GB, free: 17.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/11.36, allocations: 7.516 kB / 3.63 GB, free: 17.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007218/11.36, allocations: 71.05 kB / 3.63 GB, free: 17.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.025e-05/11.36, allocations: 16 kB / 3.63 GB, free: 17.36 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.0002056/11.36, allocations: 132.8 kB / 3.63 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/11.36, allocations: 46.81 kB / 3.63 GB, free: 17.18 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003152/11.36, allocations: 1.988 MB / 3.632 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.086e-05/11.36, allocations: 31.06 kB / 3.632 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.198e-05/11.36, allocations: 3.953 kB / 3.632 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/11.36, allocations: 2.906 kB / 3.632 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001691/11.36, allocations: 1.015 MB / 3.633 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.677e-06/11.36, allocations: 3.938 kB / 3.633 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006113/11.36, allocations: 75.09 kB / 3.633 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002594/11.36, allocations: 0.7638 MB / 3.634 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.315e-05/11.36, allocations: 8 kB / 3.634 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001048/11.37, allocations: 1.006 MB / 3.635 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/11.37, allocations: 0 / 3.635 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002008/11.37, allocations: 1.262 MB / 3.636 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005226/11.37, allocations: 262.2 kB / 3.636 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001723/11.37, allocations: 8 kB / 3.636 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006148/11.37, allocations: 35.69 kB / 3.637 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/11.37, allocations: 39.28 kB / 3.637 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.851e-05/11.37, allocations: 11.94 kB / 3.637 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006637/11.37, allocations: 394.2 kB / 3.637 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.91e-07/11.37, allocations: 0 / 3.637 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006469/11.38, allocations: 1.2 MB / 3.638 GB, free: 9.77 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.01278/11.39, allocations: 3.144 MB / 3.641 GB, free: 7.055 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001952/11.39, allocations: 0.6976 MB / 3.642 GB, free: 6.402 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/11.39, allocations: 3.938 kB / 3.642 GB, free: 6.398 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008115/11.39, allocations: 463 kB / 3.642 GB, free: 5.969 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002518/11.39, allocations: 268.1 kB / 3.643 GB, free: 5.785 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006558/11.4, allocations: 1.658 MB / 3.644 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000482/11.4, allocations: 0.9921 MB / 3.645 GB, free: 3.34 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001511/11.4, allocations: 0.5788 MB / 3.646 GB, free: 2.992 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/11.4, allocations: 283.3 kB / 3.646 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of SimCode: time 1.453e-06/11.4, allocations: 0 / 3.646 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5482/11.95, allocations: 49.43 MB / 3.694 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/11.95, allocations: 235.9 kB / 3.694 GB, free: 66.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.225/17.18, allocations: 0 / 3.694 GB, free: 66.46 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestFlowRate_res.mat does not exist to compare? outputFormat=mat