Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.411e-05/4.389e-05, allocations: 7.984 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1322, allocations: 61.89 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.084/9.217, allocations: 2.832 GB / 3.233 GB, free: 10.57 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/9.217, allocations: 75.78 kB / 3.233 GB, free: 10.54 MB / 0.5261 GB [/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.881/14.1, allocations: 0.8107 GB / 4.044 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.124e-06/14.1, allocations: 0 / 4.044 GB, free: 15.45 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003036/14.1, allocations: 63.92 kB / 4.044 GB, free: 15.38 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01854/14.12, allocations: 3.86 MB / 4.048 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.006e-05/14.12, allocations: 11.97 kB / 4.048 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001196/14.12, allocations: 294.9 kB / 4.048 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009079/14.13, allocations: 0.8477 MB / 4.049 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008281/14.14, allocations: 2.073 MB / 4.051 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003216/14.14, allocations: 180.1 kB / 4.051 GB, free: 8.004 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/14.14, allocations: 199.8 kB / 4.051 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01136/14.15, allocations: 3.55 MB / 4.054 GB, free: 4.051 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.291e-05/14.15, allocations: 11.73 kB / 4.054 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004291/14.15, allocations: 87.97 kB / 4.055 GB, free: 3.957 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003218/14.15, allocations: 163.5 kB / 4.055 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0108/14.16, allocations: 3.134 MB / 4.058 GB, free: 0.6602 MB / 0.5417 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.03821/14.2, allocations: 15.22 MB / 4.073 GB, free: 204 kB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5654/14.76, allocations: 2.215 MB / 4.075 GB, free: 43.93 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004831/14.77, allocations: 1.064 MB / 4.076 GB, free: 43.91 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/14.87, allocations: 24.55 MB / 4.1 GB, free: 29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006718/14.88, allocations: 1.659 MB / 4.101 GB, free: 28.92 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=155): time 6.913e-06/14.88, allocations: 1.859 kB / 4.101 GB, free: 28.92 MB / 0.5573 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: pipe3.mediums[1].p Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=171): time 0.04027/14.92, allocations: 9.215 MB / 4.11 GB, free: 28.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/14.92, allocations: 278.8 kB / 4.111 GB, free: 27.88 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003252/14.92, allocations: 1.448 MB / 4.112 GB, free: 27.71 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005972/14.93, allocations: 61.31 kB / 4.112 GB, free: 27.68 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001133/14.93, allocations: 0.9685 MB / 4.113 GB, free: 27.38 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001204/14.93, allocations: 0.579 MB / 4.114 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003403/14.93, allocations: 43.47 kB / 4.114 GB, free: 27.09 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002338/14.93, allocations: 390.3 kB / 4.114 GB, free: 26.78 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003208/14.93, allocations: 1.046 MB / 4.115 GB, free: 26.78 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003939/14.94, allocations: 1.5 MB / 4.117 GB, free: 26.29 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003565/14.94, allocations: 1.27 MB / 4.118 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-05/14.94, allocations: 3.875 kB / 4.118 GB, free: 26.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009262/14.95, allocations: 3.094 MB / 4.121 GB, free: 25.98 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/14.95, allocations: 4.806 MB / 4.126 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.524e-05/14.95, allocations: 17.27 kB / 4.126 GB, free: 20.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/14.95, allocations: 258.8 kB / 4.126 GB, free: 20.91 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004536/14.96, allocations: 0.5076 MB / 4.126 GB, free: 20.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/14.96, allocations: 2.494 MB / 4.129 GB, free: 18.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004334/14.96, allocations: 256.1 kB / 4.129 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005353/14.96, allocations: 106.3 kB / 4.129 GB, free: 18.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/14.96, allocations: 7.547 kB / 4.129 GB, free: 18.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008284/14.97, allocations: 2.825 MB / 4.132 GB, free: 18.71 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-05/14.97, allocations: 15.25 kB / 4.132 GB, free: 18.71 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001203/14.97, allocations: 255.5 kB / 4.132 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004323/14.98, allocations: 0.5053 MB / 4.133 GB, free: 18.68 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001778/14.98, allocations: 2.496 MB / 4.135 GB, free: 16.61 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00578/14.98, allocations: 258.5 kB / 4.135 GB, free: 16.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007625/14.99, allocations: 99.3 kB / 4.135 GB, free: 16.6 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 23 (pipe3.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe1.state_a.phase,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 239 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001103/14.99, allocations: 268.6 kB / 4.136 GB, free: 16.46 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009303/14.99, allocations: 200.6 kB / 4.136 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02072/15.01, allocations: 7.757 MB / 4.143 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001408/15.01, allocations: 94.47 kB / 4.144 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.652e-05/15.01, allocations: 0 / 4.144 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0171/15.03, allocations: 6.644 MB / 4.15 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02155/15.05, allocations: 10.95 MB / 4.161 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.72e-05/15.05, allocations: 0 / 4.161 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003583/15.05, allocations: 408 kB / 4.161 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002033/15.05, allocations: 351.6 kB / 4.161 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000536/15.05, allocations: 72.89 kB / 4.161 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/15.06, allocations: 2.566 MB / 4.164 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/15.06, allocations: 4.406 kB / 4.164 GB, free: 11.97 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01409/15.07, allocations: 6.968 MB / 4.171 GB, free: 11.33 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002428/15.07, allocations: 0.7758 MB / 4.172 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007095/15.07, allocations: 54.8 kB / 4.172 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003135/15.08, allocations: 197.8 kB / 4.172 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004929/15.08, allocations: 150.7 kB / 4.172 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002364/15.08, allocations: 69.72 kB / 4.172 GB, free: 10.98 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002833/15.08, allocations: 1.291 MB / 4.173 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.32e-07/15.08, allocations: 0 / 4.173 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01305/15.09, allocations: 2.805 MB / 4.176 GB, free: 10.7 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valve.filter.x[1],valve.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe2.mediums[2].p,pipe2.mediums[2].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 54 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse22.phase,$cse22.region,$cse24.region3boundary,$cse25.region3boundary,$cse26.phase,$cse26.region,$cse27.region3boundary,$cse28.region3boundary,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.region3boundary,$cse40.region3boundary,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$whenCondition1,source.medium.phase,pipe1.statesFM[2].phase,sink.medium.phase,pipe2.statesFM[1].phase,pipe2.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,pipe3.statesFM[2].phase) * Number of discrete states: 6 (valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 168 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 25 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.02931/15.12, allocations: 10.27 MB / 4.186 GB, free: 25.32 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01307/15.13, allocations: 5.016 MB / 4.191 GB, free: 25.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.129e-05/15.13, allocations: 6.688 kB / 4.191 GB, free: 25.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.005714/15.14, allocations: 2.358 MB / 4.193 GB, free: 24.98 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008608/15.15, allocations: 0.9322 MB / 4.194 GB, free: 24.95 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0238/15.17, allocations: 7.681 MB / 4.202 GB, free: 23.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003301/15.18, allocations: 2.315 MB / 4.204 GB, free: 22.8 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01009/15.19, allocations: 2.869 MB / 4.207 GB, free: 22.75 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002913/15.19, allocations: 1.313 MB / 4.208 GB, free: 22.75 MB / 0.573 GB Notification: Performance of SimCode: time 1.493e-06/15.19, allocations: 0 / 4.208 GB, free: 22.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7604/15.95, allocations: 121.2 MB / 4.326 GB, free: 70.63 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/15.95, allocations: 239 kB / 4.327 GB, free: 70.37 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.25/25.2, allocations: 3.938 kB / 4.327 GB, free: 70.36 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat does not exist to compare? outputFormat=mat