Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.748/1.748, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.356e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.289, allocations: 38.76 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.309/7.598, allocations: 2.529 GB / 2.782 GB, free: 75.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/7.599, allocations: 73.83 kB / 2.782 GB, free: 75.66 MB / 362.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/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.791/11.39, allocations: 0.7178 GB / 3.499 GB, free: 18.55 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/11.39, allocations: 2.062 kB / 3.499 GB, free: 18.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001517/11.39, allocations: 46.41 kB / 3.5 GB, free: 18.54 MB / 378.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.01508/11.4, allocations: 2.613 MB / 3.502 GB, free: 17.23 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.076e-05/11.41, allocations: 14.59 kB / 3.502 GB, free: 17.22 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006723/11.41, allocations: 0.5861 MB / 3.503 GB, free: 17.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004202/11.42, allocations: 1.085 MB / 3.504 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001349/11.42, allocations: 45.81 kB / 3.504 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004771/11.42, allocations: 64.09 kB / 3.504 GB, free: 16.81 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004752/11.42, allocations: 1.743 MB / 3.506 GB, free: 16.8 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003922/11.43, allocations: 1.546 MB / 3.507 GB, free: 16.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.765e-05/11.43, allocations: 2.625 kB / 3.507 GB, free: 16.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002151/11.43, allocations: 6.219 kB / 3.507 GB, free: 16.46 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/11.43, allocations: 91 kB / 3.507 GB, free: 16.45 MB / 378.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.812/12.24, allocations: 136.7 MB / 3.641 GB, free: 22.56 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003531/12.24, allocations: 1.045 MB / 3.642 GB, free: 22.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/12.24, allocations: 0.5344 MB / 3.642 GB, free: 22.51 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05202/12.3, allocations: 17.42 MB / 3.659 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/12.3, allocations: 47.91 kB / 3.659 GB, free: 11.03 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001788/12.3, allocations: 168.3 kB / 3.659 GB, free: 11.02 MB / 410.7 MB Notification: Performance of pre-optimization done (n=91): time 4.91e-06/12.3, allocations: 0 / 3.659 GB, free: 11.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.1149/12.41, allocations: 9.754 MB / 3.669 GB, free: 10.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/12.41, allocations: 217.6 kB / 3.669 GB, free: 10.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/12.41, allocations: 0.7443 MB / 3.67 GB, free: 10.03 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005911/12.41, allocations: 25.7 kB / 3.67 GB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/12.41, allocations: 0.6448 MB / 3.67 GB, free: 9.734 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008712/12.42, allocations: 437.2 kB / 3.671 GB, free: 9.512 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003529/12.42, allocations: 0 / 3.671 GB, free: 9.512 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001417/12.42, allocations: 377.6 kB / 3.671 GB, free: 9.203 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003084/12.42, allocations: 1.267 MB / 3.672 GB, free: 9.195 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003665/12.42, allocations: 1.701 MB / 3.674 GB, free: 8.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01113/12.43, allocations: 1.886 MB / 3.676 GB, free: 8.656 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.281e-05/12.43, allocations: 3.906 kB / 3.676 GB, free: 8.656 MB / 410.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.02033/12.45, allocations: 4.664 MB / 3.681 GB, free: 8.492 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002142/12.46, allocations: 4.795 MB / 3.685 GB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.263e-05/12.46, allocations: 13.47 kB / 3.685 GB, free: 19.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02305/12.48, allocations: 3.959 MB / 3.689 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00247/12.48, allocations: 326.3 kB / 3.689 GB, free: 19.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02204/12.5, allocations: 5.748 MB / 3.695 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007179/12.51, allocations: 270.3 kB / 3.695 GB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008013/12.51, allocations: 128.3 kB / 3.695 GB, free: 18.24 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/12.51, allocations: 7.688 kB / 3.695 GB, free: 18.24 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01872/12.53, allocations: 2.903 MB / 3.698 GB, free: 18.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.855e-05/12.53, allocations: 14.33 kB / 3.698 GB, free: 18.15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004203/12.54, allocations: 0.5697 MB / 3.699 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/12.54, allocations: 454.2 kB / 3.699 GB, free: 18.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004859/12.54, allocations: 1.785 MB / 3.701 GB, free: 17.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/12.55, allocations: 181.9 kB / 3.701 GB, free: 17.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005969/12.55, allocations: 107.8 kB / 3.701 GB, free: 17.05 MB / 426.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.001148/12.55, allocations: 161.6 kB / 3.701 GB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01774/12.57, allocations: 4.111 MB / 3.705 GB, free: 16.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009075/12.57, allocations: 128.3 kB / 3.706 GB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02199/12.59, allocations: 6.681 MB / 3.712 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.167e-05/12.59, allocations: 34.97 kB / 3.712 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.087e-05/12.59, allocations: 0 / 3.712 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.674e-05/12.59, allocations: 13.7 kB / 3.712 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02671/12.62, allocations: 9.001 MB / 3.721 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-05/12.62, allocations: 0 / 3.721 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001306/12.62, allocations: 148.3 kB / 3.721 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.018/12.64, allocations: 5.238 MB / 3.726 GB, free: 12.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005416/12.64, allocations: 43.3 kB / 3.726 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0218/12.66, allocations: 6.898 MB / 3.733 GB, free: 8.566 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/12.66, allocations: 4 kB / 3.733 GB, free: 8.562 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0195/12.68, allocations: 5.652 MB / 3.738 GB, free: 5.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002352/12.68, allocations: 0.6201 MB / 3.739 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009295/12.68, allocations: 0 / 3.739 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005831/12.69, allocations: 208 kB / 3.739 GB, free: 4.723 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005342/12.69, allocations: 84.09 kB / 3.739 GB, free: 4.676 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000369/12.69, allocations: 72.66 kB / 3.739 GB, free: 4.629 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001815/12.69, allocations: 0.78 MB / 3.74 GB, free: 3.918 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/12.69, allocations: 0 / 3.74 GB, free: 3.918 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01155/12.7, allocations: 2.05 MB / 3.742 GB, free: 2.094 MB / 426.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.3466/13.05, allocations: 8.346 MB / 3.75 GB, free: 63.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02206/13.07, allocations: 4.805 MB / 3.755 GB, free: 63.55 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/13.07, allocations: 1.344 kB / 3.755 GB, free: 63.55 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01138/13.08, allocations: 2.172 MB / 3.757 GB, free: 63.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005147/13.09, allocations: 488.8 kB / 3.758 GB, free: 63.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01638/13.1, allocations: 4.206 MB / 3.762 GB, free: 62.87 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001288/13.11, allocations: 1.457 MB / 3.763 GB, free: 62.15 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005944/13.11, allocations: 1.705 MB / 3.765 GB, free: 62.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001491/13.11, allocations: 0.6295 MB / 3.765 GB, free: 62.11 MB / 426.7 MB Notification: Performance of SimCode: time 1.323e-06/13.11, allocations: 0 / 3.765 GB, free: 62.11 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2462/13.36, allocations: 104.6 MB / 3.868 GB, free: 31.33 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002479/13.36, allocations: 171.9 kB / 3.868 GB, free: 31.13 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.023/20.38, allocations: 0 / 3.868 GB, free: 31.13 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat