Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.428/2.428, allocations: 235.1 MB / 242.2 MB, free: 15.84 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.634e-05/2.633e-05, allocations: 0 / 299.5 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3821, allocations: 54.84 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.898/8.28, allocations: 2.657 GB / 3.003 GB, free: 118.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002645/8.281, allocations: 83.64 kB / 3.004 GB, free: 118 MB / 490.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Fluid/Interfaces.mo:734:9-739:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.59/12.87, allocations: 0.7917 GB / 3.795 GB, free: 33.56 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.144e-06/12.87, allocations: 2.062 kB / 3.795 GB, free: 33.56 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003683/12.87, allocations: 65.73 kB / 3.795 GB, free: 33.55 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: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01878/12.89, allocations: 3.852 MB / 3.799 GB, free: 31.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.295e-05/12.89, allocations: 12.44 kB / 3.799 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009106/12.9, allocations: 0.8425 MB / 3.8 GB, free: 31.5 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009085/12.91, allocations: 2.089 MB / 3.802 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003187/12.91, allocations: 99.33 kB / 3.802 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001108/12.91, allocations: 111.5 kB / 3.802 GB, free: 31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007748/12.92, allocations: 2.53 MB / 3.805 GB, free: 30.98 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009078/12.93, allocations: 2.793 MB / 3.807 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/12.93, allocations: 10.41 kB / 3.807 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005405/12.93, allocations: 7.281 kB / 3.807 GB, free: 30.41 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003343/12.93, allocations: 169.2 kB / 3.807 GB, free: 30.39 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.2924/13.22, allocations: 78.65 MB / 3.884 GB, free: 4.473 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01542/13.24, allocations: 1.625 MB / 3.886 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00795/13.24, allocations: 0.973 MB / 3.887 GB, free: 1.855 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6096/13.85, allocations: 17.44 MB / 3.904 GB, free: 57.76 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00256/13.86, allocations: 1.162 MB / 3.905 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=147): time 4.668e-06/13.86, allocations: 0 / 3.905 GB, free: 57.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=163): time 0.03396/13.89, allocations: 7.968 MB / 3.913 GB, free: 56.2 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001886/13.89, allocations: 381.5 kB / 3.913 GB, free: 55.76 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004116/13.89, allocations: 1.127 MB / 3.914 GB, free: 55.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000766/13.89, allocations: 31.77 kB / 3.914 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/13.9, allocations: 1.013 MB / 3.915 GB, free: 55.21 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001462/13.9, allocations: 0.5375 MB / 3.916 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003411/13.9, allocations: 1.688 kB / 3.916 GB, free: 54.93 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002941/13.9, allocations: 392.2 kB / 3.916 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003605/13.9, allocations: 1.015 MB / 3.917 GB, free: 54.62 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00305/13.91, allocations: 1.502 MB / 3.919 GB, free: 54.08 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02313/13.93, allocations: 3.313 MB / 3.922 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-05/13.93, allocations: 3.438 kB / 3.922 GB, free: 54.06 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.02952/13.96, allocations: 5.522 MB / 3.927 GB, free: 53.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.001151/13.96, allocations: 5.262 MB / 3.932 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.404e-05/13.96, allocations: 18.55 kB / 3.932 GB, free: 48.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01303/13.97, allocations: 2.034 MB / 3.934 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/13.98, allocations: 310.6 kB / 3.935 GB, free: 48.48 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009679/13.99, allocations: 3.654 MB / 3.938 GB, free: 47.91 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004228/13.99, allocations: 259.8 kB / 3.938 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/13.99, allocations: 102.3 kB / 3.939 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/13.99, allocations: 5.844 kB / 3.939 GB, free: 47.9 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0284/14.02, allocations: 4.945 MB / 3.943 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/14.02, allocations: 16.53 kB / 3.943 GB, free: 47.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009947/14.03, allocations: 1.547 MB / 3.945 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002736/14.03, allocations: 360.9 kB / 3.945 GB, free: 47.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005472/14.04, allocations: 2.682 MB / 3.948 GB, free: 47.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00394/14.04, allocations: 228.8 kB / 3.948 GB, free: 47.24 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006673/14.04, allocations: 104.1 kB / 3.948 GB, free: 47.24 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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,pipe1.statesFM[2].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,source.medium.phase,sink.medium.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 (162): * Single equations (assignments): 158 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 86} Notification: Performance of prepare postOptimizeDAE: time 0.001045/14.04, allocations: 193.1 kB / 3.948 GB, free: 47.1 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009378/14.05, allocations: 2.498 MB / 3.951 GB, free: 46.9 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008275/14.05, allocations: 183.9 kB / 3.951 GB, free: 46.81 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/14.07, allocations: 6.819 MB / 3.958 GB, free: 46.24 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001017/14.07, allocations: 86.97 kB / 3.958 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.235e-05/14.07, allocations: 3.844 kB / 3.958 GB, free: 46.23 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01189/14.08, allocations: 5.646 MB / 3.963 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02062/14.1, allocations: 9.245 MB / 3.972 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.105e-05/14.1, allocations: 0 / 3.972 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003121/14.11, allocations: 360.9 kB / 3.973 GB, free: 44.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001431/14.11, allocations: 335.4 kB / 3.973 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004633/14.11, allocations: 43.2 kB / 3.973 GB, free: 44.93 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001917/14.11, allocations: 2.689 MB / 3.976 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.052e-06/14.11, allocations: 0 / 3.976 GB, free: 42.84 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/14.12, allocations: 6.408 MB / 3.982 GB, free: 42.25 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002225/14.13, allocations: 0.6934 MB / 3.983 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007172/14.13, allocations: 21.67 kB / 3.983 GB, free: 41.95 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002563/14.13, allocations: 162.2 kB / 3.983 GB, free: 41.94 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004197/14.13, allocations: 132.5 kB / 3.983 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002091/14.13, allocations: 70.89 kB / 3.983 GB, free: 41.93 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002095/14.13, allocations: 1.027 MB / 3.984 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5.51e-07/14.13, allocations: 2.656 kB / 3.984 GB, free: 41.82 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0123/14.14, allocations: 2.632 MB / 3.987 GB, free: 41.7 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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: 44 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse18.region3boundary,$cse19.region3boundary,$cse20.phase,$cse20.region,$cse21.region3boundary,$cse22.region3boundary,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse37.phase,$cse37.region,$whenCondition1,pipe1.statesFM[2].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 (183): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 21 * 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.02899/14.17, allocations: 10.09 MB / 3.996 GB, free: 40.12 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01234/14.18, allocations: 4.772 MB / 4.001 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.528e-06/14.18, allocations: 2.344 kB / 4.001 GB, free: 39.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005019/14.19, allocations: 2.173 MB / 4.003 GB, free: 39.77 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007421/14.2, allocations: 0.7647 MB / 4.004 GB, free: 39.76 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/14.22, allocations: 7.025 MB / 4.011 GB, free: 38.34 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002355/14.22, allocations: 2.216 MB / 4.013 GB, free: 37.57 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.007136/14.23, allocations: 1.928 MB / 4.015 GB, free: 37.55 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002656/14.23, allocations: 1.183 MB / 4.016 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of SimCode: time 1.884e-06/14.23, allocations: 3.5 kB / 4.016 GB, free: 37.54 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7073/14.94, allocations: 109.5 MB / 4.123 GB, free: 61.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002029/14.94, allocations: 173.5 kB / 4.123 GB, free: 61.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.086/23.03, allocations: 3.938 kB / 4.123 GB, free: 61.19 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat does not exist to compare? outputFormat=mat