Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.InverseParameterization,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_InverseParameterization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.02e-05/3.042e-05, allocations: 0 / 292.2 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1159, allocations: 50.41 MB / 342.6 MB, free: 5.797 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.584/9.7, allocations: 2.814 GB / 3.148 GB, free: 81.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003533/9.701, allocations: 77.33 kB / 3.148 GB, free: 81.57 MB / 458.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:306:3-308: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.178/13.88, allocations: 0.7561 GB / 3.904 GB, free: 32.14 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.444e-06/13.88, allocations: 0 / 3.904 GB, free: 32.14 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001887/13.88, allocations: 42.17 kB / 3.904 GB, free: 32.13 MB / 474.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.0169/13.9, allocations: 2.723 MB / 3.907 GB, free: 30.79 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/13.9, allocations: 12.47 kB / 3.907 GB, free: 30.79 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007616/13.9, allocations: 167.6 kB / 3.907 GB, free: 30.75 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007075/13.9, allocations: 0.5993 MB / 3.908 GB, free: 30.67 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003954/13.91, allocations: 1.073 MB / 3.909 GB, free: 30.34 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/13.91, allocations: 91.92 kB / 3.909 GB, free: 30.33 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005857/13.91, allocations: 104.5 kB / 3.909 GB, free: 30.33 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008386/13.92, allocations: 2.245 MB / 3.911 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.805e-05/13.92, allocations: 5.781 kB / 3.911 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003184/13.92, allocations: 50.62 kB / 3.911 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/13.92, allocations: 84.44 kB / 3.911 GB, free: 29.99 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008418/13.93, allocations: 2.247 MB / 3.914 GB, free: 29.98 MB / 474.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.02072/13.95, allocations: 9.206 MB / 3.922 GB, free: 24.95 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006167/13.95, allocations: 1.735 MB / 3.924 GB, free: 24.92 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001741/13.96, allocations: 0.688 MB / 3.925 GB, free: 24.91 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.08097/14.04, allocations: 24.52 MB / 3.949 GB, free: 25.63 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.527e-05/14.04, allocations: 46.38 kB / 3.949 GB, free: 25.59 MB / 490.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002075/14.04, allocations: 202.2 kB / 3.949 GB, free: 25.53 MB / 490.7 MB Notification: Performance of pre-optimization done (n=109): time 6.933e-06/14.04, allocations: 0 / 3.949 GB, free: 25.53 MB / 490.7 MB Notification: Performance of matching and sorting (n=109): time 0.01356/14.05, allocations: 2.601 MB / 3.952 GB, free: 25.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002106/14.05, allocations: 225.5 kB / 3.952 GB, free: 25.13 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/14.05, allocations: 0.8277 MB / 3.953 GB, free: 24.97 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004777/14.06, allocations: 51.05 kB / 3.953 GB, free: 24.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/14.06, allocations: 0.5516 MB / 3.953 GB, free: 24.7 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004991/14.06, allocations: 376.4 kB / 3.954 GB, free: 24.46 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001402/14.06, allocations: 29 kB / 3.954 GB, free: 24.46 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002017/14.06, allocations: 352.5 kB / 3.954 GB, free: 24.15 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/14.06, allocations: 0.5485 MB / 3.954 GB, free: 24.15 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/14.06, allocations: 0.9043 MB / 3.955 GB, free: 23.74 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/14.06, allocations: 0.6733 MB / 3.956 GB, free: 23.71 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/14.06, allocations: 3.469 kB / 3.956 GB, free: 23.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.005448/14.07, allocations: 1.841 MB / 3.958 GB, free: 23.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001823/14.07, allocations: 3.741 MB / 3.961 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.042e-05/14.07, allocations: 7.875 kB / 3.961 GB, free: 19.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.05609/14.12, allocations: 2.99 MB / 3.964 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002339/14.13, allocations: 275 kB / 3.965 GB, free: 19.52 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004477/14.13, allocations: 1.405 MB / 3.966 GB, free: 18.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/14.14, allocations: 142.9 kB / 3.966 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004881/14.14, allocations: 73.62 kB / 3.966 GB, free: 18.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/14.14, allocations: 5.406 kB / 3.966 GB, free: 18.95 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0061/14.14, allocations: 1.558 MB / 3.968 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.78e-05/14.14, allocations: 9.406 kB / 3.968 GB, free: 18.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/14.14, allocations: 191.8 kB / 3.968 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003269/14.15, allocations: 350.1 kB / 3.968 GB, free: 18.89 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/14.15, allocations: 0.7433 MB / 3.969 GB, free: 18.37 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002985/14.15, allocations: 138.2 kB / 3.969 GB, free: 18.35 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000448/14.15, allocations: 69.78 kB / 3.969 GB, free: 18.35 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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,source.medium.phase,pump.heatTransfer.states[1].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 (129): * Single equations (assignments): 128 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0006663/14.15, allocations: 199.5 kB / 3.969 GB, free: 18.23 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/14.15, allocations: 128.9 kB / 3.969 GB, free: 18.16 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01155/14.16, allocations: 5.496 MB / 3.975 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.826e-05/14.16, allocations: 65.7 kB / 3.975 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/14.16, allocations: 1.5 kB / 3.975 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.962e-05/14.16, allocations: 3.891 kB / 3.975 GB, free: 17.55 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01658/14.18, allocations: 7.525 MB / 3.982 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.777e-05/14.18, allocations: 1.844 kB / 3.982 GB, free: 16.92 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0019/14.18, allocations: 209.5 kB / 3.982 GB, free: 16.91 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04918/14.23, allocations: 4.285 MB / 3.987 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003812/14.23, allocations: 33.11 kB / 3.987 GB, free: 16.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004423/14.24, allocations: 2.332 MB / 3.989 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/14.24, allocations: 0 / 3.989 GB, free: 16.16 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007356/14.25, allocations: 3.515 MB / 3.992 GB, free: 15.48 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001842/14.25, allocations: 0.6438 MB / 3.993 GB, free: 15.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000529/14.25, allocations: 26.88 kB / 3.993 GB, free: 15.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002186/14.25, allocations: 128.9 kB / 3.993 GB, free: 15.01 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/14.25, allocations: 99.8 kB / 3.993 GB, free: 15 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001463/14.25, allocations: 48.28 kB / 3.993 GB, free: 14.99 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002151/14.25, allocations: 1.042 MB / 3.994 GB, free: 14.57 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.82e-07/14.25, allocations: 5.25 kB / 3.994 GB, free: 14.57 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01018/14.26, allocations: 1.959 MB / 3.996 GB, free: 13.55 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse30.phase,$cse30.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.02008/14.28, allocations: 5.805 MB / 4.002 GB, free: 8.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009121/14.29, allocations: 2.712 MB / 4.005 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/14.29, allocations: 128 / 4.005 GB, free: 6.062 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003934/14.3, allocations: 1.384 MB / 4.006 GB, free: 4.801 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006591/14.3, allocations: 0.6742 MB / 4.007 GB, free: 4.301 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/14.32, allocations: 4.219 MB / 4.011 GB, free: 0.5156 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/14.32, allocations: 1.633 MB / 4.012 GB, free: 15.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005129/14.33, allocations: 1.533 MB / 4.014 GB, free: 14.28 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001772/14.33, allocations: 0.7881 MB / 4.015 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of SimCode: time 1.613e-06/14.33, allocations: 0 / 4.015 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6523/14.98, allocations: 94.29 MB / 4.107 GB, free: 47.79 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002888/14.98, allocations: 214.2 kB / 4.107 GB, free: 47.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.641/22.62, allocations: 0 / 4.107 GB, free: 47.57 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization_res.mat does not exist to compare? outputFormat=mat