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.717/2.717, allocations: 195 MB / 202.9 MB, free: 6.727 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.967e-05/3.03e-05, allocations: 2.375 kB / 249.7 MB, free: 5.277 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.55/11.66, allocations: 2.639 GB / 2.926 GB, free: 94.38 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003493/11.66, allocations: 79.47 kB / 2.926 GB, free: 94.38 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 5.016/16.68, allocations: 0.7379 GB / 3.664 GB, free: 17.83 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.896e-06/16.68, allocations: 0 / 3.664 GB, free: 17.83 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002223/16.68, allocations: 39.45 kB / 3.664 GB, free: 17.8 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.02668/16.71, allocations: 2.712 MB / 3.667 GB, free: 15.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.505e-05/16.71, allocations: 8.031 kB / 3.667 GB, free: 15.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001012/16.71, allocations: 129.2 kB / 3.667 GB, free: 14.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01639/16.72, allocations: 0.6 MB / 3.668 GB, free: 14.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007476/16.73, allocations: 1.09 MB / 3.669 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002855/16.73, allocations: 58.16 kB / 3.669 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008742/16.73, allocations: 60 kB / 3.669 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01011/16.74, allocations: 1.742 MB / 3.671 GB, free: 11.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008354/16.75, allocations: 1.542 MB / 3.672 GB, free: 9.652 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.187e-05/16.75, allocations: 11.94 kB / 3.672 GB, free: 9.641 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004007/16.75, allocations: 4 kB / 3.672 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002856/16.75, allocations: 82 kB / 3.672 GB, free: 9.555 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.106/17.86, allocations: 136.7 MB / 3.806 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004802/17.86, allocations: 1.052 MB / 3.807 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001796/17.86, allocations: 0.5309 MB / 3.807 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07321/17.94, allocations: 17.41 MB / 3.824 GB, free: 15.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.588e-05/17.94, allocations: 46.91 kB / 3.824 GB, free: 15.68 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002322/17.94, allocations: 173.5 kB / 3.824 GB, free: 15.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=91): time 6.753e-06/17.94, allocations: 0 / 3.824 GB, free: 15.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=129): time 0.1609/18.1, allocations: 9.756 MB / 3.834 GB, free: 15.06 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/18.1, allocations: 223.1 kB / 3.834 GB, free: 14.81 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001845/18.1, allocations: 0.7408 MB / 3.835 GB, free: 14.66 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006474/18.1, allocations: 25.7 kB / 3.835 GB, free: 14.62 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006646/18.1, allocations: 0.6437 MB / 3.836 GB, free: 14.36 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008998/18.1, allocations: 431.5 kB / 3.836 GB, free: 14.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004242/18.1, allocations: 0.75 kB / 3.836 GB, free: 14.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/18.11, allocations: 373.3 kB / 3.836 GB, free: 13.83 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00396/18.11, allocations: 1.266 MB / 3.838 GB, free: 13.83 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004359/18.11, allocations: 1.709 MB / 3.839 GB, free: 13.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.015/18.13, allocations: 1.884 MB / 3.841 GB, free: 13.28 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/18.13, allocations: 7.594 kB / 3.841 GB, free: 13.28 MB / 490.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02787/18.16, allocations: 4.665 MB / 3.846 GB, free: 12.48 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002122/18.16, allocations: 4.792 MB / 3.85 GB, free: 7.426 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.384e-05/18.16, allocations: 15.94 kB / 3.85 GB, free: 7.414 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03416/18.19, allocations: 3.96 MB / 3.854 GB, free: 5.336 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003515/18.2, allocations: 318.6 kB / 3.855 GB, free: 5.102 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03233/18.23, allocations: 5.754 MB / 3.86 GB, free: 1.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/18.24, allocations: 274.5 kB / 3.86 GB, free: 1.695 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009663/18.24, allocations: 130.9 kB / 3.861 GB, free: 1.625 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/18.24, allocations: 4 kB / 3.861 GB, free: 1.621 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02965/18.27, allocations: 2.9 MB / 3.863 GB, free: 112 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.536e-05/18.27, allocations: 20.03 kB / 3.863 GB, free: 92 kB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.4733/18.74, allocations: 0.5663 MB / 3.864 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005638/18.75, allocations: 455.5 kB / 3.864 GB, free: 85.7 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006823/18.76, allocations: 1.788 MB / 3.866 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005381/18.76, allocations: 179.3 kB / 3.866 GB, free: 84.67 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006327/18.76, allocations: 99.3 kB / 3.866 GB, free: 84.67 MB / 490.7 MB 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.001324/18.76, allocations: 167.2 kB / 3.867 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008607/18.76, allocations: 133.3 kB / 3.867 GB, free: 84.55 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03191/18.8, allocations: 6.681 MB / 3.873 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.897e-05/18.8, allocations: 34.33 kB / 3.873 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/18.8, allocations: 0 / 3.873 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.092e-05/18.8, allocations: 8.484 kB / 3.873 GB, free: 84.33 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03591/18.83, allocations: 8.983 MB / 3.882 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.066e-05/18.83, allocations: 2.688 kB / 3.882 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001856/18.83, allocations: 152.6 kB / 3.882 GB, free: 83.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02594/18.86, allocations: 5.239 MB / 3.887 GB, free: 83.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006545/18.86, allocations: 42.81 kB / 3.887 GB, free: 83.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0305/18.89, allocations: 6.904 MB / 3.894 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.371e-05/18.89, allocations: 4.719 kB / 3.894 GB, free: 82.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02535/18.92, allocations: 5.651 MB / 3.9 GB, free: 82.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002753/18.92, allocations: 0.6248 MB / 3.9 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008534/18.92, allocations: 6.812 kB / 3.9 GB, free: 81.91 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007959/18.93, allocations: 192 kB / 3.9 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000597/18.93, allocations: 93.56 kB / 3.9 GB, free: 81.9 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004657/18.93, allocations: 71.94 kB / 3.901 GB, free: 81.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00212/18.93, allocations: 0.7761 MB / 3.901 GB, free: 81.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.81e-07/18.93, allocations: 6.766 kB / 3.901 GB, free: 81.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01371/18.95, allocations: 2.056 MB / 3.903 GB, free: 81.79 MB / 490.7 MB 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.04067/18.99, allocations: 8.319 MB / 3.911 GB, free: 80.31 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0289/19.02, allocations: 4.811 MB / 3.916 GB, free: 80.26 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/19.02, allocations: 4.969 kB / 3.916 GB, free: 80.26 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01536/19.03, allocations: 2.168 MB / 3.918 GB, free: 80.23 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006701/19.04, allocations: 483.6 kB / 3.919 GB, free: 80.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01871/19.06, allocations: 4.212 MB / 3.923 GB, free: 79.48 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001433/19.06, allocations: 1.454 MB / 3.924 GB, free: 78.76 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.007098/19.07, allocations: 1.706 MB / 3.926 GB, free: 78.72 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001737/19.07, allocations: 0.6326 MB / 3.927 GB, free: 78.71 MB / 490.7 MB Notification: Performance of SimCode: time 1.633e-06/19.07, allocations: 3.344 kB / 3.927 GB, free: 78.71 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7921/19.86, allocations: 106.9 MB / 4.031 GB, free: 83.07 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000336/19.86, allocations: 181.2 kB / 4.031 GB, free: 82.88 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 11.08/30.94, allocations: 0 / 4.031 GB, free: 82.88 MB / 490.7 MB 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