Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.222e-05/2.223e-05, allocations: 4 kB / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3773, allocations: 54.85 MB / 354.4 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.415/8.792, allocations: 2.648 GB / 2.994 GB, free: 104.6 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002502/8.793, allocations: 81.5 kB / 2.994 GB, free: 104.6 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 .... Notification: Performance of FrontEnd - DAE generated: time 4.201/12.99, allocations: 0.737 GB / 3.731 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.174e-06/12.99, allocations: 0 / 3.731 GB, free: 37.41 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001476/12.99, allocations: 40.45 kB / 3.731 GB, free: 37.4 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.01595/13.01, allocations: 2.72 MB / 3.734 GB, free: 36.09 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.22e-05/13.01, allocations: 10.47 kB / 3.734 GB, free: 36.09 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00722/13.02, allocations: 0.5993 MB / 3.735 GB, free: 36.02 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0041/13.02, allocations: 1.085 MB / 3.736 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/13.02, allocations: 50.22 kB / 3.736 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003342/13.02, allocations: 67.73 kB / 3.736 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004667/13.03, allocations: 1.743 MB / 3.738 GB, free: 35.68 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004481/13.03, allocations: 1.537 MB / 3.739 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.562e-05/13.03, allocations: 5.812 kB / 3.739 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002702/13.03, allocations: 5.688 kB / 3.739 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000197/13.03, allocations: 81.94 kB / 3.739 GB, free: 35.33 MB / 0.4948 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 1.001/14.03, allocations: 136.7 MB / 3.873 GB, free: 82.02 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004511/14.04, allocations: 1.051 MB / 3.874 GB, free: 81.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00164/14.04, allocations: 0.5312 MB / 3.874 GB, free: 81.98 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06033/14.1, allocations: 17.43 MB / 3.891 GB, free: 71.11 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.606e-05/14.1, allocations: 43.88 kB / 3.891 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001991/14.1, allocations: 174.5 kB / 3.891 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 5.69e-06/14.1, allocations: 2.656 kB / 3.891 GB, free: 71.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.1269/14.23, allocations: 9.744 MB / 3.901 GB, free: 70.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.682e-05/14.23, allocations: 223.1 kB / 3.901 GB, free: 70.33 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/14.23, allocations: 0.7491 MB / 3.902 GB, free: 70.18 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0004721/14.23, allocations: 29.58 kB / 3.902 GB, free: 70.14 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000534/14.23, allocations: 0.6382 MB / 3.903 GB, free: 69.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007407/14.23, allocations: 436.1 kB / 3.903 GB, free: 69.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003618/14.23, allocations: 2.281 kB / 3.903 GB, free: 69.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001279/14.23, allocations: 365 kB / 3.903 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003205/14.24, allocations: 1.268 MB / 3.905 GB, free: 69.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003552/14.24, allocations: 1.706 MB / 3.906 GB, free: 68.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01173/14.25, allocations: 1.889 MB / 3.908 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.12e-05/14.25, allocations: 3.625 kB / 3.908 GB, free: 68.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02135/14.27, allocations: 4.663 MB / 3.913 GB, free: 68.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001056/14.27, allocations: 4.796 MB / 3.917 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-05/14.27, allocations: 14.81 kB / 3.917 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02607/14.3, allocations: 3.959 MB / 3.921 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002801/14.3, allocations: 327.8 kB / 3.921 GB, free: 63.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02429/14.33, allocations: 5.75 MB / 3.927 GB, free: 62.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008115/14.33, allocations: 280.5 kB / 3.927 GB, free: 62.61 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007754/14.34, allocations: 124.5 kB / 3.927 GB, free: 62.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/14.34, allocations: 5.781 kB / 3.927 GB, free: 62.61 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02126/14.36, allocations: 2.903 MB / 3.93 GB, free: 62.56 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-05/14.36, allocations: 11.81 kB / 3.93 GB, free: 62.56 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/14.36, allocations: 0.5716 MB / 3.931 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004516/14.37, allocations: 452.8 kB / 3.931 GB, free: 62.54 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/14.37, allocations: 1.795 MB / 3.933 GB, free: 61.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00423/14.38, allocations: 178.5 kB / 3.933 GB, free: 61.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/14.38, allocations: 95.17 kB / 3.933 GB, free: 61.5 MB / 0.5417 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.orifice.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate in design flow direction" type: Real $DER.pipe1.flowModel.states[1].h:DUMMY_DER(fixed = false ) "Specific enthalpy" type: Real [2] $DER.pipe1.flowModel.mus_act[1]:DUMMY_DER(fixed = false ) "Actual viscosity per segment" type: Real [1] $DER.pump.m_flow:DUMMY_DER(fixed = false ) "Mass flow rate (total)" type: Real $DER.pump.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,pump.heatTransfer.states[1].phase,source.medium.phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 152 * 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 {5 21,6 24} Notification: Performance of prepare postOptimizeDAE: time 0.001085/14.38, allocations: 155 kB / 3.933 GB, free: 61.39 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01913/14.4, allocations: 4.123 MB / 3.938 GB, free: 61.25 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008648/14.4, allocations: 128.7 kB / 3.938 GB, free: 61.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02342/14.42, allocations: 6.674 MB / 3.944 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.135e-05/14.42, allocations: 37.97 kB / 3.944 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/14.42, allocations: 3.125 kB / 3.944 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.589e-05/14.42, allocations: 8.719 kB / 3.944 GB, free: 60.86 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02836/14.45, allocations: 9.002 MB / 3.953 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.951e-05/14.45, allocations: 3.562 kB / 3.953 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00147/14.45, allocations: 143.6 kB / 3.953 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01994/14.47, allocations: 5.241 MB / 3.958 GB, free: 60.18 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000529/14.47, allocations: 37.84 kB / 3.958 GB, free: 60.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02411/14.5, allocations: 6.904 MB / 3.965 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/14.5, allocations: 1.203 kB / 3.965 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02148/14.52, allocations: 5.643 MB / 3.971 GB, free: 58.55 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002282/14.52, allocations: 0.6281 MB / 3.971 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008447/14.52, allocations: 0 / 3.971 GB, free: 58.36 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006316/14.53, allocations: 207.7 kB / 3.971 GB, free: 58.35 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004764/14.53, allocations: 94.34 kB / 3.971 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003482/14.53, allocations: 68.91 kB / 3.972 GB, free: 58.34 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001677/14.53, allocations: 0.7773 MB / 3.972 GB, free: 58.23 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6.31e-07/14.53, allocations: 6.969 kB / 3.972 GB, free: 58.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01058/14.54, allocations: 2.061 MB / 3.974 GB, free: 58.15 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 15 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse12.phase,$cse12.region,$cse14.phase,$cse14.region,$cse21.phase,$cse21.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {5 21,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.034/14.57, allocations: 8.294 MB / 3.982 GB, free: 56.66 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02319/14.6, allocations: 4.803 MB / 3.987 GB, free: 56.6 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/14.6, allocations: 3.172 kB / 3.987 GB, free: 56.6 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01224/14.61, allocations: 2.171 MB / 3.989 GB, free: 56.57 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005369/14.61, allocations: 0.4934 MB / 3.99 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01614/14.63, allocations: 4.214 MB / 3.994 GB, free: 55.79 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/14.63, allocations: 1.456 MB / 3.995 GB, free: 55.07 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006107/14.64, allocations: 1.704 MB / 3.997 GB, free: 55.04 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/14.64, allocations: 0.6292 MB / 3.997 GB, free: 55.03 MB / 0.5417 GB Notification: Performance of SimCode: time 2.394e-06/14.64, allocations: 0 / 3.997 GB, free: 55.03 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7028/15.34, allocations: 104.8 MB / 4.1 GB, free: 81.66 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003143/15.34, allocations: 210.7 kB / 4.1 GB, free: 81.37 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.481/22.82, allocations: 0 / 4.1 GB, free: 81.37 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat