Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestExamplesVariants_InverseParameterization_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 235 MB / 247.2 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.701e-05/3.711e-05, allocations: 4 kB / 305 MB, free: 5.277 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4178, allocations: 54.84 MB / 359.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.329/8.747, allocations: 2.649 GB / 3 GB, free: 114.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/8.747, allocations: 79.2 kB / 3 GB, free: 114.8 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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 4.095/12.84, allocations: 0.7436 GB / 3.744 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.515e-06/12.84, allocations: 1.125 kB / 3.744 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001785/12.84, allocations: 34.22 kB / 3.744 GB, free: 34.73 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.01646/12.86, allocations: 2.725 MB / 3.747 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 6.071e-05/12.86, allocations: 10.94 kB / 3.747 GB, free: 33.41 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007347/12.86, allocations: 169.5 kB / 3.747 GB, free: 33.37 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006958/12.87, allocations: 0.5983 MB / 3.747 GB, free: 33.29 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004226/12.87, allocations: 1.096 MB / 3.748 GB, free: 32.96 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000169/12.87, allocations: 94.81 kB / 3.749 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/12.87, allocations: 105.2 kB / 3.749 GB, free: 32.95 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007993/12.88, allocations: 2.224 MB / 3.751 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.861e-05/12.88, allocations: 10.72 kB / 3.751 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00035/12.88, allocations: 50.33 kB / 3.751 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001834/12.88, allocations: 88.3 kB / 3.751 GB, free: 32.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008381/12.89, allocations: 2.235 MB / 3.753 GB, free: 32.6 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 0.0189/12.91, allocations: 8.921 MB / 3.762 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005917/12.91, allocations: 1.643 MB / 3.763 GB, free: 27.45 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/12.92, allocations: 0.6424 MB / 3.764 GB, free: 27.44 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05762/12.97, allocations: 18.84 MB / 3.783 GB, free: 15.68 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.146e-05/12.97, allocations: 44.22 kB / 3.783 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00193/12.98, allocations: 199.8 kB / 3.783 GB, free: 15.58 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=109): time 4.949e-06/12.98, allocations: 3.844 kB / 3.783 GB, free: 15.58 MB / 0.4948 GB 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.1201/13.1, allocations: 11.9 MB / 3.794 GB, free: 14.56 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/13.1, allocations: 228.5 kB / 3.795 GB, free: 14.31 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/13.1, allocations: 0.7382 MB / 3.795 GB, free: 14.14 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006343/13.1, allocations: 54.86 kB / 3.795 GB, free: 14.11 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001078/13.1, allocations: 0.5938 MB / 3.796 GB, free: 29.82 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009425/13.1, allocations: 0.5345 MB / 3.796 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003606/13.1, allocations: 33.44 kB / 3.796 GB, free: 29.48 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002144/13.1, allocations: 372.7 kB / 3.797 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003238/13.1, allocations: 1.241 MB / 3.798 GB, free: 29.17 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00378/13.11, allocations: 1.69 MB / 3.8 GB, free: 28.66 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004268/13.11, allocations: 1.37 MB / 3.801 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.955e-05/13.11, allocations: 3.844 kB / 3.801 GB, free: 28.62 MB / 0.5105 GB Notification: Performance of matching and sorting (n=220) (initialization): time 0.01356/13.13, allocations: 4.067 MB / 3.805 GB, free: 28.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.002181/13.13, allocations: 4.792 MB / 3.81 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.726e-05/13.13, allocations: 12.44 kB / 3.81 GB, free: 23.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1653/13.29, allocations: 7.965 MB / 3.817 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003165/13.3, allocations: 380.5 kB / 3.818 GB, free: 23.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01778/13.31, allocations: 4.631 MB / 3.822 GB, free: 22.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006458/13.32, allocations: 252.4 kB / 3.823 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007833/13.32, allocations: 131 kB / 3.823 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/13.32, allocations: 5.031 kB / 3.823 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01435/13.34, allocations: 3.864 MB / 3.827 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.354e-05/13.34, allocations: 11.22 kB / 3.827 GB, free: 22.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01324/13.35, allocations: 2.642 MB / 3.829 GB, free: 21.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003858/13.35, allocations: 449 kB / 3.83 GB, free: 21.98 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01531/13.37, allocations: 4.074 MB / 3.834 GB, free: 20.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006196/13.38, allocations: 243.5 kB / 3.834 GB, free: 20.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007274/13.38, allocations: 123.6 kB / 3.834 GB, free: 20.38 MB / 0.5105 GB 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.001056/13.38, allocations: 213.6 kB / 3.834 GB, free: 20.21 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006641/13.38, allocations: 137.8 kB / 3.834 GB, free: 20.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02871/13.41, allocations: 8.913 MB / 3.843 GB, free: 16.37 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001111/13.41, allocations: 68.42 kB / 3.843 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/13.41, allocations: 3.516 kB / 3.843 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.916e-05/13.41, allocations: 6.281 kB / 3.843 GB, free: 16.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03341/13.44, allocations: 11.87 MB / 3.855 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.142e-05/13.44, allocations: 3.625 kB / 3.855 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002477/13.44, allocations: 276.6 kB / 3.855 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1545/13.6, allocations: 9.076 MB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008754/13.6, allocations: 80.52 kB / 3.864 GB, free: 0 / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01882/13.62, allocations: 5.51 MB / 3.869 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.959e-06/13.62, allocations: 4 kB / 3.869 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02725/13.64, allocations: 6.761 MB / 3.876 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002432/13.65, allocations: 0.6867 MB / 3.876 GB, free: 4.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006865/13.65, allocations: 36 kB / 3.876 GB, free: 4.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005451/13.65, allocations: 229.3 kB / 3.877 GB, free: 4.418 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006282/13.65, allocations: 132.1 kB / 3.877 GB, free: 4.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003758/13.65, allocations: 80.02 kB / 3.877 GB, free: 4.281 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001702/13.66, allocations: 0.7406 MB / 3.878 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.41e-07/13.66, allocations: 0 / 3.878 GB, free: 3.602 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01184/13.67, allocations: 2.257 MB / 3.88 GB, free: 1.387 MB / 0.5261 GB 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.4599/14.13, allocations: 9.768 MB / 3.889 GB, free: 63.46 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.04143/14.17, allocations: 5.959 MB / 3.895 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/14.17, allocations: 2.781 kB / 3.895 GB, free: 63.41 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01397/14.18, allocations: 2.813 MB / 3.898 GB, free: 63.39 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00583/14.19, allocations: 0.5886 MB / 3.899 GB, free: 63.38 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4005/14.59, allocations: 127.1 MB / 4.023 GB, free: 48.75 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001387/14.59, allocations: 1.649 MB / 4.024 GB, free: 47.43 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005247/14.6, allocations: 1.524 MB / 4.026 GB, free: 46.51 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/14.6, allocations: 0.7858 MB / 4.026 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of SimCode: time 1.963e-06/14.6, allocations: 1.125 kB / 4.026 GB, free: 46.41 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7137/15.31, allocations: 129.3 MB / 4.153 GB, free: 56.03 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002228/15.31, allocations: 243.8 kB / 4.153 GB, free: 55.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.48/23.79, allocations: 0 / 4.153 GB, free: 55.7 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestExamplesVariants.InverseParameterization_laminar_res.mat does not exist to compare? outputFormat=mat