Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.912e-05, allocations: 8 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1191, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.714/7.834, allocations: 2.538 GB / 2.852 GB, free: 39.65 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002737/7.834, allocations: 73.72 kB / 2.853 GB, free: 39.61 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 4.315/12.15, allocations: 0.7242 GB / 3.577 GB, free: 31.78 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.834e-06/12.15, allocations: 3.344 kB / 3.577 GB, free: 31.78 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001985/12.15, allocations: 37.55 kB / 3.577 GB, free: 31.78 MB / 458.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.01723/12.17, allocations: 2.623 MB / 3.579 GB, free: 30.74 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/12.17, allocations: 11.47 kB / 3.579 GB, free: 30.74 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007289/12.17, allocations: 170.6 kB / 3.58 GB, free: 30.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007108/12.17, allocations: 0.5814 MB / 3.58 GB, free: 30.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004346/12.18, allocations: 1.084 MB / 3.581 GB, free: 30.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001799/12.18, allocations: 94.17 kB / 3.581 GB, free: 30.29 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004506/12.18, allocations: 104.3 kB / 3.581 GB, free: 30.29 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008601/12.19, allocations: 2.236 MB / 3.584 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.754e-05/12.19, allocations: 3.656 kB / 3.584 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003308/12.19, allocations: 50.47 kB / 3.584 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001971/12.19, allocations: 85.09 kB / 3.584 GB, free: 29.95 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008682/12.2, allocations: 2.245 MB / 3.586 GB, free: 29.94 MB / 458.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.01898/12.22, allocations: 8.926 MB / 3.595 GB, free: 24.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005809/12.22, allocations: 1.634 MB / 3.596 GB, free: 24.81 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001673/12.22, allocations: 0.6395 MB / 3.597 GB, free: 24.8 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06073/12.28, allocations: 18.82 MB / 3.615 GB, free: 29.06 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/12.28, allocations: 57.72 kB / 3.615 GB, free: 29.01 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001988/12.29, allocations: 194.6 kB / 3.615 GB, free: 28.96 MB / 474.7 MB Notification: Performance of pre-optimization done (n=109): time 4.889e-06/12.29, allocations: 0 / 3.615 GB, free: 28.96 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pump.medium.p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=159): time 0.1197/12.41, allocations: 11.91 MB / 3.627 GB, free: 28.09 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001531/12.41, allocations: 230.3 kB / 3.627 GB, free: 27.84 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001619/12.41, allocations: 0.7428 MB / 3.628 GB, free: 27.67 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006553/12.41, allocations: 51.95 kB / 3.628 GB, free: 27.64 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004721/12.41, allocations: 0.5875 MB / 3.629 GB, free: 27.35 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007752/12.41, allocations: 0.5378 MB / 3.629 GB, free: 27 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/12.41, allocations: 33.34 kB / 3.629 GB, free: 27 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001993/12.41, allocations: 383.6 kB / 3.63 GB, free: 26.7 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003356/12.41, allocations: 1.241 MB / 3.631 GB, free: 26.69 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003734/12.42, allocations: 1.684 MB / 3.632 GB, free: 26.2 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003958/12.42, allocations: 1.363 MB / 3.634 GB, free: 26.19 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.701e-05/12.42, allocations: 6.156 kB / 3.634 GB, free: 26.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01307/12.44, allocations: 4.066 MB / 3.638 GB, free: 26.04 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001898/12.44, allocations: 4.8 MB / 3.642 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.502e-05/12.44, allocations: 11.25 kB / 3.642 GB, free: 21.05 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.166/12.6, allocations: 7.962 MB / 3.65 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/12.61, allocations: 378.7 kB / 3.651 GB, free: 21.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/12.62, allocations: 4.636 MB / 3.655 GB, free: 19.95 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006819/12.63, allocations: 247.7 kB / 3.655 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001049/12.63, allocations: 132.4 kB / 3.655 GB, free: 19.94 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/12.63, allocations: 2.375 kB / 3.655 GB, free: 19.94 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01552/12.65, allocations: 3.863 MB / 3.659 GB, free: 19.89 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.662e-05/12.65, allocations: 11.53 kB / 3.659 GB, free: 19.89 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01351/12.66, allocations: 2.646 MB / 3.662 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00398/12.67, allocations: 444.3 kB / 3.662 GB, free: 19.88 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/12.68, allocations: 4.068 MB / 3.666 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006336/12.69, allocations: 242.2 kB / 3.666 GB, free: 18.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007301/12.69, allocations: 130.8 kB / 3.667 GB, free: 18.82 MB / 474.7 MB 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,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 (166): * Single equations (assignments): 164 * 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 {4 22,5 25} Notification: Performance of prepare postOptimizeDAE: time 0.0009779/12.69, allocations: 212.5 kB / 3.667 GB, free: 18.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006402/12.69, allocations: 140.1 kB / 3.667 GB, free: 18.62 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02841/12.72, allocations: 8.918 MB / 3.676 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001132/12.72, allocations: 62.09 kB / 3.676 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.316e-05/12.72, allocations: 0 / 3.676 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.504e-05/12.72, allocations: 10.12 kB / 3.676 GB, free: 18.01 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03437/12.75, allocations: 11.88 MB / 3.687 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.6e-05/12.75, allocations: 3.844 kB / 3.687 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/12.76, allocations: 266.8 kB / 3.688 GB, free: 17.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1467/12.9, allocations: 8.874 MB / 3.696 GB, free: 16.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005858/12.9, allocations: 56.44 kB / 3.696 GB, free: 16.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01703/12.92, allocations: 5.513 MB / 3.702 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/12.92, allocations: 6.062 kB / 3.702 GB, free: 13.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02513/12.95, allocations: 6.76 MB / 3.708 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002532/12.95, allocations: 0.6855 MB / 3.709 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008086/12.95, allocations: 38.12 kB / 3.709 GB, free: 10.35 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005714/12.95, allocations: 223.2 kB / 3.709 GB, free: 10.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006562/12.96, allocations: 136 kB / 3.709 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003598/12.96, allocations: 82.23 kB / 3.709 GB, free: 10.27 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001553/12.96, allocations: 0.7386 MB / 3.71 GB, free: 9.699 MB / 474.7 MB Notification: Performance of sort global known variables: time 4.51e-07/12.96, allocations: 0 / 3.71 GB, free: 9.699 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01184/12.97, allocations: 2.245 MB / 3.712 GB, free: 7.496 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.phase,$cse33.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 (120): * Single equations (assignments): 106 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 22,6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.04105/13.01, allocations: 9.742 MB / 3.722 GB, free: 15.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0329/13.04, allocations: 5.96 MB / 3.728 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/13.04, allocations: 4.5 kB / 3.728 GB, free: 10.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01466/13.06, allocations: 2.817 MB / 3.73 GB, free: 7.605 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006343/13.06, allocations: 0.5778 MB / 3.731 GB, free: 7.172 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7464/13.81, allocations: 125.1 MB / 3.853 GB, free: 46.65 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/13.81, allocations: 1.645 MB / 3.855 GB, free: 45.89 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005447/13.82, allocations: 1.517 MB / 3.856 GB, free: 45.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/13.82, allocations: 0.7903 MB / 3.857 GB, free: 45.8 MB / 490.7 MB Notification: Performance of SimCode: time 2.024e-06/13.82, allocations: 0 / 3.857 GB, free: 45.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7092/14.53, allocations: 129.1 MB / 3.983 GB, free: 48.93 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/14.53, allocations: 255.5 kB / 3.983 GB, free: 48.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/22.81, allocations: 0 / 3.983 GB, free: 48.59 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat