Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestDensity,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Sensors_TestDensity",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.539/2.539, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.022e-05, allocations: 0 / 299.6 MB, free: 196 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3738/0.3738, allocations: 54.86 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.222/8.596, allocations: 2.596 GB / 2.943 GB, free: 119.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003108/8.596, allocations: 85.64 kB / 2.943 GB, free: 119.5 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 .... [/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 3.627/12.22, allocations: 0.6551 GB / 3.598 GB, free: 36.7 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.314e-06/12.22, allocations: 0.9375 kB / 3.598 GB, free: 36.7 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.41e-05/12.22, allocations: 27.44 kB / 3.598 GB, free: 36.69 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: 190 * Number of variables: 190 Notification: Performance of Generate backend data structure: time 0.01008/12.23, allocations: 2.184 MB / 3.6 GB, free: 35.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/12.23, allocations: 14.56 kB / 3.6 GB, free: 35.38 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008355/12.24, allocations: 0.5648 MB / 3.601 GB, free: 35.3 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002455/12.24, allocations: 0.702 MB / 3.601 GB, free: 34.86 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.485e-05/12.24, allocations: 39.72 kB / 3.601 GB, free: 34.85 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/12.24, allocations: 41.84 kB / 3.601 GB, free: 34.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002197/12.25, allocations: 0.7464 MB / 3.602 GB, free: 34.58 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00213/12.25, allocations: 0.9135 MB / 3.603 GB, free: 34.07 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/12.25, allocations: 0 / 3.603 GB, free: 34.07 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001389/12.25, allocations: 3.781 kB / 3.603 GB, free: 34.07 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.436e-05/12.25, allocations: 18.62 kB / 3.603 GB, free: 34.07 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.9408/13.19, allocations: 109.8 MB / 3.71 GB, free: 34.05 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/13.19, allocations: 0.5013 MB / 3.711 GB, free: 34.01 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005053/13.19, allocations: 222.9 kB / 3.711 GB, free: 33.99 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1129/13.3, allocations: 29.14 MB / 3.739 GB, free: 33.12 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.018e-05/13.3, allocations: 37.72 kB / 3.739 GB, free: 33.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001212/13.31, allocations: 106.6 kB / 3.739 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=46): time 3.336e-06/13.31, allocations: 4 kB / 3.739 GB, free: 33.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=46): time 0.006556/13.31, allocations: 1.047 MB / 3.74 GB, free: 33 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001303/13.31, allocations: 192.9 kB / 3.741 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008474/13.31, allocations: 472.7 kB / 3.741 GB, free: 32.65 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.2e-05/13.31, allocations: 25.7 kB / 3.741 GB, free: 32.62 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003865/13.31, allocations: 467.2 kB / 3.742 GB, free: 32.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/13.31, allocations: 159.1 kB / 3.742 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/13.31, allocations: 0 / 3.742 GB, free: 32.32 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002099/13.31, allocations: 373.9 kB / 3.742 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/13.32, allocations: 177.9 kB / 3.742 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006716/13.32, allocations: 496.8 kB / 3.743 GB, free: 31.61 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003492/13.32, allocations: 485.4 kB / 3.743 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/13.32, allocations: 2.781 kB / 3.743 GB, free: 31.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.004957/13.32, allocations: 0.9508 MB / 3.744 GB, free: 31.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001692/13.33, allocations: 3.84 MB / 3.748 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-05/13.33, allocations: 8.875 kB / 3.748 GB, free: 27.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004282/13.33, allocations: 69.64 kB / 3.748 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/13.33, allocations: 197.6 kB / 3.748 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002611/13.33, allocations: 1.246 MB / 3.749 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001568/13.33, allocations: 57.94 kB / 3.749 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/13.33, allocations: 49.95 kB / 3.749 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/13.33, allocations: 4.281 kB / 3.749 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003327/13.34, allocations: 0.7105 MB / 3.75 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/13.34, allocations: 7.344 kB / 3.75 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.64e-05/13.34, allocations: 19.39 kB / 3.75 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/13.34, allocations: 214.5 kB / 3.75 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/13.34, allocations: 19.22 kB / 3.75 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/13.34, allocations: 50.02 kB / 3.75 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/13.34, allocations: 46.3 kB / 3.75 GB, free: 26.38 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 8 (massFlowRate1.medium.phase,boundary_fixed.medium.phase,massFlowRate2.medium.phase,boundary_fixed1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,simpleGenericOrifice1.state_b.phase,simpleGenericOrifice1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 94 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003086/13.34, allocations: 154.8 kB / 3.751 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00394/13.34, allocations: 0.6478 MB / 3.751 GB, free: 26.18 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/13.34, allocations: 68.84 kB / 3.751 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00629/13.35, allocations: 2.813 MB / 3.754 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.685e-05/13.35, allocations: 39.25 kB / 3.754 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/13.35, allocations: 3.25 kB / 3.754 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.408e-05/13.35, allocations: 6.797 kB / 3.754 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007533/13.36, allocations: 3.691 MB / 3.758 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.205e-05/13.36, allocations: 3.5 kB / 3.758 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008853/13.36, allocations: 94.48 kB / 3.758 GB, free: 25.31 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001186/13.36, allocations: 0.7288 MB / 3.758 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/13.36, allocations: 6.75 kB / 3.758 GB, free: 25.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002382/13.36, allocations: 1.644 MB / 3.76 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/13.36, allocations: 0 / 3.76 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/13.37, allocations: 1.928 MB / 3.762 GB, free: 23.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006222/13.37, allocations: 302.9 kB / 3.762 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000221/13.37, allocations: 7.438 kB / 3.762 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/13.37, allocations: 38.84 kB / 3.762 GB, free: 23.55 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/13.37, allocations: 53.92 kB / 3.762 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/13.37, allocations: 24.28 kB / 3.762 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007244/13.37, allocations: 378.5 kB / 3.763 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.81e-07/13.37, allocations: 0 / 3.763 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006724/13.38, allocations: 1.237 MB / 3.764 GB, free: 23.36 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 22 ($cse9.phase,$cse9.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse17.region3boundary,$cse18.region3boundary,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,massFlowRate1.medium.phase,$cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,massFlowRate2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01593/13.39, allocations: 4.477 MB / 3.768 GB, free: 21.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003225/13.4, allocations: 1.175 MB / 3.769 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.114e-06/13.4, allocations: 0 / 3.769 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001311/13.4, allocations: 0.6678 MB / 3.77 GB, free: 21.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00314/13.4, allocations: 287.8 kB / 3.77 GB, free: 21.74 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.105/14.5, allocations: 202.1 MB / 3.968 GB, free: 82.13 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007825/14.51, allocations: 1.188 MB / 3.969 GB, free: 81.41 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003744/14.51, allocations: 1.321 MB / 3.97 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/14.51, allocations: 447.1 kB / 3.971 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of SimCode: time 1.072e-06/14.51, allocations: 0 / 3.971 GB, free: 81.33 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1486/14.66, allocations: 48.59 MB / 4.018 GB, free: 51.67 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.00027/14.66, allocations: 197 kB / 4.018 GB, free: 51.46 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.973/19.63, allocations: 0 / 4.018 GB, free: 51.46 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Sensors.TestDensity_res.mat does not exist to compare? outputFormat=mat