Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_InverseParameterization",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.307/2.307, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.016e-05/3.043e-05, allocations: 3.453 kB / 249.8 MB, free: 5.273 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1063/0.1063, allocations: 44.5 MB / 294.3 MB, free: 10.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.581/9.688, allocations: 2.639 GB / 2.926 GB, free: 97.52 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002619/9.688, allocations: 79.41 kB / 2.926 GB, free: 97.52 MB / 410.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.708/14.4, allocations: 0.7368 GB / 3.663 GB, free: 14.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.195e-06/14.4, allocations: 0 / 3.663 GB, free: 14.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000195/14.4, allocations: 39.36 kB / 3.663 GB, free: 14.56 MB / 426.7 MB 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.01768/14.41, allocations: 2.712 MB / 3.666 GB, free: 11.8 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.588e-05/14.41, allocations: 12.03 kB / 3.666 GB, free: 11.79 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008042/14.42, allocations: 0.5961 MB / 3.667 GB, free: 11.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004521/14.43, allocations: 1.085 MB / 3.668 GB, free: 10.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000154/14.43, allocations: 48 kB / 3.668 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004875/14.43, allocations: 63.42 kB / 3.668 GB, free: 9.984 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005514/14.43, allocations: 1.75 MB / 3.669 GB, free: 8.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004816/14.44, allocations: 1.542 MB / 3.671 GB, free: 6.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-05/14.44, allocations: 4 kB / 3.671 GB, free: 6.555 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002791/14.44, allocations: 4 kB / 3.671 GB, free: 6.551 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001845/14.44, allocations: 85.94 kB / 3.671 GB, free: 6.465 MB / 426.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 1.041/15.48, allocations: 136.7 MB / 3.805 GB, free: 26.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004129/15.48, allocations: 1.044 MB / 3.806 GB, free: 26.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001505/15.49, allocations: 0.5333 MB / 3.806 GB, free: 26.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06669/15.55, allocations: 17.41 MB / 3.823 GB, free: 14.67 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/15.55, allocations: 41.62 kB / 3.823 GB, free: 14.63 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002039/15.55, allocations: 175.1 kB / 3.823 GB, free: 14.62 MB / 490.7 MB Notification: Performance of pre-optimization done (n=91): time 5.21e-06/15.55, allocations: 1.094 kB / 3.823 GB, free: 14.62 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.142/15.7, allocations: 9.762 MB / 3.833 GB, free: 14.01 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/15.7, allocations: 218.9 kB / 3.833 GB, free: 13.76 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/15.7, allocations: 0.7451 MB / 3.834 GB, free: 13.61 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006269/15.7, allocations: 25.7 kB / 3.834 GB, free: 13.58 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006325/15.7, allocations: 0.6454 MB / 3.834 GB, free: 13.31 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009022/15.7, allocations: 438.6 kB / 3.835 GB, free: 13.09 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004254/15.7, allocations: 0 / 3.835 GB, free: 13.09 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/15.7, allocations: 370 kB / 3.835 GB, free: 12.78 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003651/15.7, allocations: 1.263 MB / 3.836 GB, free: 12.78 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004168/15.71, allocations: 1.706 MB / 3.838 GB, free: 12.28 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01335/15.72, allocations: 1.89 MB / 3.84 GB, free: 12.23 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.416e-05/15.72, allocations: 5.406 kB / 3.84 GB, free: 12.23 MB / 490.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02463/15.75, allocations: 4.667 MB / 3.844 GB, free: 10.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002566/15.75, allocations: 4.787 MB / 3.849 GB, free: 21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.193e-05/15.75, allocations: 14.44 kB / 3.849 GB, free: 20.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02815/15.78, allocations: 3.967 MB / 3.853 GB, free: 18.91 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002873/15.78, allocations: 323.7 kB / 3.853 GB, free: 18.68 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02612/15.81, allocations: 5.748 MB / 3.859 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008609/15.82, allocations: 278.4 kB / 3.859 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001052/15.82, allocations: 123.6 kB / 3.859 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/15.82, allocations: 4 kB / 3.859 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0242/15.84, allocations: 2.902 MB / 3.862 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.856e-05/15.84, allocations: 12 kB / 3.862 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005361/15.85, allocations: 0.5664 MB / 3.863 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004907/15.85, allocations: 453.2 kB / 3.863 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005921/15.86, allocations: 1.795 MB / 3.865 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004594/15.86, allocations: 179.2 kB / 3.865 GB, free: 11.51 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005401/15.86, allocations: 97.53 kB / 3.865 GB, free: 11.45 MB / 0.4948 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.001181/15.86, allocations: 177.4 kB / 3.865 GB, free: 11.3 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.02199/15.89, allocations: 4.119 MB / 3.869 GB, free: 9.199 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/15.89, allocations: 126.5 kB / 3.869 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02685/15.91, allocations: 6.676 MB / 3.876 GB, free: 5.816 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.072e-05/15.91, allocations: 34.95 kB / 3.876 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/15.91, allocations: 0 / 3.876 GB, free: 5.801 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.486e-05/15.91, allocations: 13.77 kB / 3.876 GB, free: 5.793 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03252/15.95, allocations: 8.98 MB / 3.885 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/15.95, allocations: 0 / 3.885 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/15.95, allocations: 153.7 kB / 3.885 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4403/16.39, allocations: 5.362 MB / 3.89 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006227/16.39, allocations: 41.55 kB / 3.89 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02877/16.42, allocations: 6.9 MB / 3.897 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/16.42, allocations: 6.469 kB / 3.897 GB, free: 99.24 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02338/16.44, allocations: 5.651 MB / 3.903 GB, free: 98.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002582/16.44, allocations: 0.6228 MB / 3.903 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001075/16.45, allocations: 3.375 kB / 3.903 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00704/16.45, allocations: 200.7 kB / 3.903 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006154/16.45, allocations: 98.97 kB / 3.903 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004376/16.45, allocations: 66.52 kB / 3.903 GB, free: 98.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001971/16.46, allocations: 0.7825 MB / 3.904 GB, free: 98.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.142e-06/16.46, allocations: 0 / 3.904 GB, free: 98.62 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01221/16.47, allocations: 2.059 MB / 3.906 GB, free: 98.62 MB / 0.4948 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.03582/16.5, allocations: 8.307 MB / 3.914 GB, free: 97.2 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.02483/16.53, allocations: 4.81 MB / 3.919 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/16.53, allocations: 0 / 3.919 GB, free: 97.16 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.01361/16.54, allocations: 2.172 MB / 3.921 GB, free: 97.13 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008089/16.55, allocations: 481.9 kB / 3.922 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/16.57, allocations: 4.213 MB / 3.926 GB, free: 96.37 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001271/16.57, allocations: 1.457 MB / 3.927 GB, free: 95.65 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006641/16.58, allocations: 1.698 MB / 3.929 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001563/16.58, allocations: 0.6361 MB / 3.929 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of SimCode: time 2.154e-06/16.58, allocations: 1.312 kB / 3.929 GB, free: 95.61 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2873/16.87, allocations: 104.8 MB / 4.032 GB, free: 63.67 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002582/16.87, allocations: 176.7 kB / 4.032 GB, free: 63.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 8.932/25.8, allocations: 0 / 4.032 GB, free: 63.47 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat