Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.588/2.588, allocations: 270 MB / 283.6 MB, free: 3.113 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.221e-05, allocations: 5.969 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1368, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.799/8.935, allocations: 2.765 GB / 3.166 GB, free: 83.95 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/8.936, allocations: 87.56 kB / 3.166 GB, free: 83.9 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.242/11.18, allocations: 416.4 MB / 3.573 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.774e-06/11.18, allocations: 0 / 3.573 GB, free: 60.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.434e-05/11.18, allocations: 13.3 kB / 3.573 GB, free: 60.43 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.007008/11.18, allocations: 1.526 MB / 3.574 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.175e-05/11.18, allocations: 10.16 kB / 3.574 GB, free: 59.5 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001759/11.19, allocations: 81.66 kB / 3.574 GB, free: 59.44 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/11.19, allocations: 247.3 kB / 3.575 GB, free: 59.39 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/11.19, allocations: 426.2 kB / 3.575 GB, free: 59.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/11.19, allocations: 30.56 kB / 3.575 GB, free: 59.07 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.094e-05/11.19, allocations: 40.22 kB / 3.575 GB, free: 59.05 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002142/11.19, allocations: 0.6766 MB / 3.576 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.033e-05/11.19, allocations: 2.281 kB / 3.576 GB, free: 58.7 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.799e-05/11.19, allocations: 19.53 kB / 3.576 GB, free: 58.69 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/11.19, allocations: 10.25 kB / 3.576 GB, free: 58.69 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001945/11.19, allocations: 0.5347 MB / 3.576 GB, free: 58.53 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.005472/11.2, allocations: 3.238 MB / 3.58 GB, free: 55.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/11.2, allocations: 405.2 kB / 3.58 GB, free: 55.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000324/11.2, allocations: 124.8 kB / 3.58 GB, free: 55.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1782/11.38, allocations: 55.77 MB / 3.634 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.546e-05/11.38, allocations: 42.5 kB / 3.635 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=27): time 2.865e-06/11.38, allocations: 0 / 3.635 GB, free: 13.56 MB / 0.5261 GB Notification: Performance of matching and sorting (n=27): time 0.002993/11.38, allocations: 0.6353 MB / 3.635 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/11.38, allocations: 106.8 kB / 3.635 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000532/11.38, allocations: 349.9 kB / 3.636 GB, free: 12.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/11.38, allocations: 25.7 kB / 3.636 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001801/11.38, allocations: 262.8 kB / 3.636 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.841e-05/11.38, allocations: 89.42 kB / 3.636 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/11.38, allocations: 8 kB / 3.636 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.829e-05/11.38, allocations: 345.7 kB / 3.636 GB, free: 11.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002626/11.38, allocations: 96.77 kB / 3.636 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003688/11.38, allocations: 263.2 kB / 3.637 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003361/11.38, allocations: 133.5 kB / 3.637 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.476e-06/11.38, allocations: 7.953 kB / 3.637 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001151/11.39, allocations: 422 kB / 3.637 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004507/11.39, allocations: 2.009 MB / 3.639 GB, free: 8.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/11.39, allocations: 8 kB / 3.639 GB, free: 8.812 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004839/11.39, allocations: 339.6 kB / 3.639 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/11.39, allocations: 102.8 kB / 3.64 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/11.39, allocations: 0.5911 MB / 3.64 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/11.39, allocations: 83.28 kB / 3.64 GB, free: 7.809 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/11.4, allocations: 27.45 kB / 3.64 GB, free: 7.785 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/11.4, allocations: 4 kB / 3.64 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001775/11.4, allocations: 324.8 kB / 3.641 GB, free: 7.496 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/11.4, allocations: 4 kB / 3.641 GB, free: 7.492 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.222e-05/11.4, allocations: 8 kB / 3.641 GB, free: 7.484 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/11.4, allocations: 123.7 kB / 3.641 GB, free: 7.379 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.431e-05/11.4, allocations: 11.94 kB / 3.641 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/11.4, allocations: 55.28 kB / 3.641 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/11.4, allocations: 27.8 kB / 3.641 GB, free: 7.297 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (45): * Single equations (assignments): 44 * 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.0003153/11.4, allocations: 135.5 kB / 3.641 GB, free: 7.16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002302/11.4, allocations: 47.39 kB / 3.641 GB, free: 7.113 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/11.4, allocations: 1.859 MB / 3.643 GB, free: 5.434 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.211e-05/11.4, allocations: 26.69 kB / 3.643 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.071e-05/11.4, allocations: 3.609 kB / 3.643 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/11.4, allocations: 0 / 3.643 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002124/11.41, allocations: 0.9581 MB / 3.644 GB, free: 4.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/11.41, allocations: 6.016 kB / 3.644 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008025/11.41, allocations: 75.41 kB / 3.644 GB, free: 4.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003741/11.41, allocations: 0.7604 MB / 3.645 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.678e-05/11.41, allocations: 8 kB / 3.645 GB, free: 3.883 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001408/11.41, allocations: 0.9957 MB / 3.646 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/11.41, allocations: 0 / 3.646 GB, free: 2.906 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/11.42, allocations: 1.218 MB / 3.647 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/11.42, allocations: 252.2 kB / 3.647 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/11.42, allocations: 8 kB / 3.647 GB, free: 1.516 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009083/11.42, allocations: 47.08 kB / 3.647 GB, free: 1.477 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/11.42, allocations: 31.23 kB / 3.647 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.672e-05/11.42, allocations: 15.75 kB / 3.647 GB, free: 1.445 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0009143/11.42, allocations: 368.1 kB / 3.647 GB, free: 1.105 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.082e-06/11.42, allocations: 4 kB / 3.647 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009142/11.43, allocations: 1.23 MB / 3.649 GB, free: 15.98 MB / 0.5417 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 (30): * Single equations (assignments): 23 * 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.0181/11.45, allocations: 3.127 MB / 3.652 GB, free: 13.28 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002035/11.45, allocations: 0.6782 MB / 3.652 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/11.45, allocations: 0 / 3.652 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008376/11.45, allocations: 436.9 kB / 3.653 GB, free: 12.19 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/11.45, allocations: 237.7 kB / 3.653 GB, free: 11.96 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006456/11.46, allocations: 1.601 MB / 3.655 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006613/11.46, allocations: 0.9879 MB / 3.655 GB, free: 9.297 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.00145/11.46, allocations: 478.6 kB / 3.656 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004577/11.46, allocations: 259.3 kB / 3.656 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of SimCode: time 1.653e-06/11.46, allocations: 0 / 3.656 GB, free: 8.582 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5507/12.01, allocations: 48.82 MB / 3.704 GB, free: 73.46 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002596/12.01, allocations: 234.3 kB / 3.704 GB, free: 73.14 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.292/17.3, allocations: 0 / 3.704 GB, free: 73.14 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat