Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.588e-05/4.613e-05, allocations: 8 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4071/0.4072, allocations: 54.85 MB / 359.9 MB, free: 3.176 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.269/8.676, allocations: 2.596 GB / 2.947 GB, free: 108.8 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/8.677, allocations: 87.92 kB / 2.947 GB, free: 108.8 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.104/10.78, allocations: 409.8 MB / 3.347 GB, free: 57.85 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.144e-06/10.78, allocations: 0 / 3.347 GB, free: 57.85 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.209e-05/10.78, allocations: 7.469 kB / 3.347 GB, free: 57.85 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.007314/10.79, allocations: 1.53 MB / 3.349 GB, free: 57.21 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/10.79, allocations: 11.44 kB / 3.349 GB, free: 57.21 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001776/10.79, allocations: 75.64 kB / 3.349 GB, free: 57.17 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002686/10.79, allocations: 244.5 kB / 3.349 GB, free: 57.14 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001268/10.79, allocations: 445.3 kB / 3.35 GB, free: 56.92 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/10.79, allocations: 34.12 kB / 3.35 GB, free: 56.92 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/10.79, allocations: 39.44 kB / 3.35 GB, free: 56.92 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002038/10.79, allocations: 0.6742 MB / 3.35 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.789e-05/10.79, allocations: 1.969 kB / 3.35 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/10.79, allocations: 17.84 kB / 3.35 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/10.79, allocations: 13.38 kB / 3.35 GB, free: 56.75 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001769/10.8, allocations: 0.5357 MB / 3.351 GB, free: 56.74 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.004453/10.8, allocations: 3.144 MB / 3.354 GB, free: 54.46 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/10.8, allocations: 377.3 kB / 3.354 GB, free: 54.44 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002794/10.8, allocations: 125.4 kB / 3.354 GB, free: 54.43 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2917/11.09, allocations: 81.04 MB / 3.433 GB, free: 27.23 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/11.09, allocations: 38.06 kB / 3.434 GB, free: 27.19 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 2.705e-06/11.09, allocations: 4 kB / 3.434 GB, free: 27.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002739/11.1, allocations: 0.5942 MB / 3.434 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/11.1, allocations: 106.5 kB / 3.434 GB, free: 27 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004614/11.1, allocations: 304.3 kB / 3.434 GB, free: 26.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.783e-05/11.1, allocations: 32.98 kB / 3.435 GB, free: 26.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/11.1, allocations: 267.5 kB / 3.435 GB, free: 26.7 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.567e-05/11.1, allocations: 100.9 kB / 3.435 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/11.1, allocations: 7.312 kB / 3.435 GB, free: 26.65 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000151/11.1, allocations: 344.3 kB / 3.435 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002522/11.1, allocations: 98.23 kB / 3.435 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/11.1, allocations: 290.1 kB / 3.436 GB, free: 26.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000342/11.1, allocations: 142.2 kB / 3.436 GB, free: 26.09 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/11.1, allocations: 10.23 kB / 3.436 GB, free: 26.08 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001094/11.1, allocations: 446.4 kB / 3.436 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009559/11.1, allocations: 2.435 MB / 3.439 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/11.1, allocations: 14.56 kB / 3.439 GB, free: 23.46 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002928/11.1, allocations: 202 kB / 3.439 GB, free: 23.45 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007756/11.11, allocations: 111.6 kB / 3.439 GB, free: 23.44 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007051/11.11, allocations: 0.5766 MB / 3.439 GB, free: 22.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/11.11, allocations: 64.48 kB / 3.439 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/11.11, allocations: 31.47 kB / 3.44 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/11.11, allocations: 3.906 kB / 3.44 GB, free: 22.91 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008677/11.11, allocations: 365.2 kB / 3.44 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/11.11, allocations: 7.938 kB / 3.44 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/11.11, allocations: 13.91 kB / 3.44 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007473/11.11, allocations: 116.6 kB / 3.44 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/11.11, allocations: 14.03 kB / 3.44 GB, free: 22.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005869/11.11, allocations: 56.64 kB / 3.44 GB, free: 22.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.143e-05/11.11, allocations: 35.69 kB / 3.44 GB, free: 22.88 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (51): * Single equations (assignments): 50 * 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.000223/11.11, allocations: 133.7 kB / 3.44 GB, free: 22.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/11.11, allocations: 39.31 kB / 3.44 GB, free: 22.75 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002686/11.11, allocations: 1.842 MB / 3.442 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.469e-05/11.11, allocations: 28.7 kB / 3.442 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/11.11, allocations: 0 / 3.442 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.258e-06/11.11, allocations: 3.891 kB / 3.442 GB, free: 22.51 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/11.11, allocations: 0.9334 MB / 3.443 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/11.11, allocations: 4 kB / 3.443 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005099/11.11, allocations: 60.75 kB / 3.443 GB, free: 22.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002055/11.12, allocations: 0.7124 MB / 3.444 GB, free: 22.21 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/11.12, allocations: 9.766 kB / 3.444 GB, free: 22.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/11.12, allocations: 0.9897 MB / 3.445 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/11.12, allocations: 3.938 kB / 3.445 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0017/11.12, allocations: 1.199 MB / 3.446 GB, free: 21.41 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003757/11.12, allocations: 234.8 kB / 3.446 GB, free: 21.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/11.12, allocations: 11.09 kB / 3.446 GB, free: 21.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004956/11.12, allocations: 33.55 kB / 3.446 GB, free: 21.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.076e-05/11.12, allocations: 26.75 kB / 3.446 GB, free: 21.23 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.438e-05/11.12, allocations: 10.31 kB / 3.446 GB, free: 21.23 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0004939/11.12, allocations: 293 kB / 3.446 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of sort global known variables: time 5.51e-07/11.12, allocations: 4 kB / 3.446 GB, free: 21.14 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006219/11.13, allocations: 1.2 MB / 3.448 GB, free: 20.96 MB / 0.4948 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 (31): * Single equations (assignments): 24 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01286/11.14, allocations: 3.094 MB / 3.451 GB, free: 19.93 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001822/11.14, allocations: 0.6988 MB / 3.451 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/11.14, allocations: 0 / 3.451 GB, free: 19.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000672/11.14, allocations: 436.7 kB / 3.452 GB, free: 19.9 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/11.14, allocations: 178.4 kB / 3.452 GB, free: 19.89 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8517/12, allocations: 152.6 MB / 3.601 GB, free: 80.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/12, allocations: 0.9838 MB / 3.602 GB, free: 79.44 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001416/12, allocations: 439.8 kB / 3.602 GB, free: 79.41 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004057/12, allocations: 257.8 kB / 3.603 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.763e-06/12, allocations: 1.312 kB / 3.603 GB, free: 79.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1129/12.11, allocations: 47.2 MB / 3.649 GB, free: 70.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/12.11, allocations: 227.8 kB / 3.649 GB, free: 69.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.624/16.74, allocations: 4 kB / 3.649 GB, free: 69.99 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat