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 3.344/3.344, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.091e-05/3.112e-05, allocations: 0 / 299.6 MB, free: 204 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4589/0.4589, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.56/11.02, allocations: 2.648 GB / 2.994 GB, free: 102 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/11.02, allocations: 73.78 kB / 2.994 GB, free: 101.9 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 5.122/16.14, allocations: 0.7381 GB / 3.732 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.705e-06/16.14, allocations: 0 / 3.732 GB, free: 38.18 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002266/16.14, allocations: 37.59 kB / 3.732 GB, free: 38.17 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.01993/16.16, allocations: 2.721 MB / 3.735 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.043e-05/16.16, allocations: 10.19 kB / 3.735 GB, free: 36.86 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007569/16.16, allocations: 123.3 kB / 3.735 GB, free: 36.81 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009238/16.17, allocations: 0.5954 MB / 3.736 GB, free: 36.74 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00503/16.18, allocations: 1.094 MB / 3.737 GB, free: 36.41 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001841/16.18, allocations: 57.72 kB / 3.737 GB, free: 36.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005619/16.18, allocations: 62.31 kB / 3.737 GB, free: 36.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006266/16.19, allocations: 1.736 MB / 3.739 GB, free: 36.39 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00621/16.19, allocations: 1.544 MB / 3.74 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.888e-05/16.19, allocations: 10.66 kB / 3.74 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003673/16.19, allocations: 5.875 kB / 3.74 GB, free: 36.05 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002312/16.19, allocations: 84.72 kB / 3.74 GB, free: 36.05 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.247/17.44, allocations: 136.7 MB / 3.874 GB, free: 81.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/17.45, allocations: 1.048 MB / 3.875 GB, free: 81.3 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/17.45, allocations: 0.5323 MB / 3.875 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07525/17.52, allocations: 17.42 MB / 3.892 GB, free: 70.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/17.52, allocations: 46.25 kB / 3.892 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002574/17.53, allocations: 179.5 kB / 3.893 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=91): time 8.816e-06/17.53, allocations: 0 / 3.893 GB, free: 70.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=129): time 0.2088/17.73, allocations: 9.754 MB / 3.902 GB, free: 69.88 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/17.73, allocations: 225.5 kB / 3.902 GB, free: 69.63 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002219/17.74, allocations: 0.7411 MB / 3.903 GB, free: 69.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0007578/17.74, allocations: 25.7 kB / 3.903 GB, free: 69.45 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007719/17.74, allocations: 0.646 MB / 3.904 GB, free: 69.18 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/17.74, allocations: 436.6 kB / 3.904 GB, free: 68.96 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005327/17.74, allocations: 0 / 3.904 GB, free: 68.96 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001787/17.74, allocations: 367.1 kB / 3.904 GB, free: 68.66 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004916/17.75, allocations: 1.263 MB / 3.906 GB, free: 68.66 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005297/17.75, allocations: 1.704 MB / 3.907 GB, free: 68.16 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0212/17.77, allocations: 1.895 MB / 3.909 GB, free: 68.15 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.569e-05/17.77, allocations: 3.656 kB / 3.909 GB, free: 68.15 MB / 0.5417 GB Notification: Performance of matching and sorting (n=208) (initialization): time 0.04337/17.82, allocations: 4.654 MB / 3.914 GB, free: 68.01 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.001684/17.82, allocations: 4.797 MB / 3.918 GB, free: 63.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.718e-05/17.82, allocations: 11.62 kB / 3.918 GB, free: 63.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04665/17.86, allocations: 3.967 MB / 3.922 GB, free: 63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004322/17.87, allocations: 327.2 kB / 3.923 GB, free: 63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04043/17.91, allocations: 5.752 MB / 3.928 GB, free: 61.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01185/17.92, allocations: 284 kB / 3.929 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001228/17.92, allocations: 118.7 kB / 3.929 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/17.92, allocations: 4.688 kB / 3.929 GB, free: 61.91 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03066/17.95, allocations: 2.909 MB / 3.932 GB, free: 61.86 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.445e-05/17.95, allocations: 12.59 kB / 3.932 GB, free: 61.86 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006669/17.96, allocations: 0.567 MB / 3.932 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005834/17.97, allocations: 452.5 kB / 3.933 GB, free: 61.85 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006781/17.97, allocations: 1.784 MB / 3.934 GB, free: 60.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005537/17.98, allocations: 177.8 kB / 3.934 GB, free: 60.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006993/17.98, allocations: 100.5 kB / 3.935 GB, free: 60.8 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.001365/17.98, allocations: 166.8 kB / 3.935 GB, free: 60.7 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000865/17.98, allocations: 132.5 kB / 3.935 GB, free: 60.62 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02959/18.01, allocations: 6.669 MB / 3.941 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.287e-05/18.01, allocations: 44.91 kB / 3.941 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/18.01, allocations: 2.781 kB / 3.941 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.834e-05/18.01, allocations: 6.797 kB / 3.941 GB, free: 60.3 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03383/18.04, allocations: 8.998 MB / 3.95 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.553e-05/18.04, allocations: 3.188 kB / 3.95 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001708/18.05, allocations: 139.9 kB / 3.95 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0231/18.07, allocations: 5.243 MB / 3.955 GB, free: 59.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005939/18.07, allocations: 41.08 kB / 3.955 GB, free: 59.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02629/18.1, allocations: 6.9 MB / 3.962 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.688e-06/18.1, allocations: 2.906 kB / 3.962 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02217/18.12, allocations: 5.654 MB / 3.968 GB, free: 58 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002412/18.12, allocations: 0.6211 MB / 3.968 GB, free: 57.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007379/18.12, allocations: 5.984 kB / 3.968 GB, free: 57.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00675/18.13, allocations: 195.3 kB / 3.969 GB, free: 57.78 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005136/18.13, allocations: 92.45 kB / 3.969 GB, free: 57.78 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004488/18.13, allocations: 69.17 kB / 3.969 GB, free: 57.78 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001802/18.13, allocations: 0.7841 MB / 3.969 GB, free: 57.67 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8.31e-07/18.13, allocations: 0 / 3.969 GB, free: 57.67 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01218/18.14, allocations: 2.061 MB / 3.971 GB, free: 57.59 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.03639/18.18, allocations: 8.299 MB / 3.98 GB, free: 56.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.02667/18.21, allocations: 4.803 MB / 3.984 GB, free: 56.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-05/18.21, allocations: 3.438 kB / 3.984 GB, free: 56.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.01488/18.22, allocations: 2.179 MB / 3.986 GB, free: 56.01 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00601/18.23, allocations: 494 kB / 3.987 GB, free: 55.99 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01747/18.25, allocations: 4.215 MB / 3.991 GB, free: 55.24 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001323/18.25, allocations: 1.458 MB / 3.992 GB, free: 54.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.006552/18.25, allocations: 1.691 MB / 3.994 GB, free: 54.48 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001513/18.25, allocations: 0.6332 MB / 3.995 GB, free: 54.48 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/18.25, allocations: 0 / 3.995 GB, free: 54.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8654/19.12, allocations: 106.9 MB / 4.099 GB, free: 81.58 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0004053/19.12, allocations: 212.7 kB / 4.099 GB, free: 81.29 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.12/29.24, allocations: 0 / 4.099 GB, free: 81.29 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