Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.457/2.457, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.828e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3961, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.173/8.569, allocations: 2.657 GB / 3.003 GB, free: 117.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/8.569, allocations: 76.47 kB / 3.004 GB, free: 117.4 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.69/13.26, allocations: 0.8532 GB / 3.857 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.334e-06/13.26, allocations: 0 / 3.857 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003353/13.26, allocations: 67.38 kB / 3.857 GB, free: 9.238 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.01743/13.28, allocations: 3.855 MB / 3.861 GB, free: 5.336 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/13.28, allocations: 12.03 kB / 3.861 GB, free: 5.324 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009043/13.29, allocations: 0.8399 MB / 3.861 GB, free: 4.48 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008463/13.29, allocations: 2.097 MB / 3.863 GB, free: 2.371 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002508/13.3, allocations: 91.98 kB / 3.864 GB, free: 2.281 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009588/13.3, allocations: 116 kB / 3.864 GB, free: 2.168 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007416/13.3, allocations: 2.53 MB / 3.866 GB, free: 15.63 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009659/13.31, allocations: 2.794 MB / 3.869 GB, free: 12.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.959e-05/13.31, allocations: 7.938 kB / 3.869 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004015/13.31, allocations: 11.95 kB / 3.869 GB, free: 12.62 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000397/13.31, allocations: 155.6 kB / 3.869 GB, free: 12.46 MB / 0.5105 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.7456/14.06, allocations: 78.62 MB / 3.946 GB, free: 19.08 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006203/14.07, allocations: 1.626 MB / 3.947 GB, free: 19.05 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003457/14.07, allocations: 0.9871 MB / 3.948 GB, free: 19.02 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05699/14.13, allocations: 17.44 MB / 3.965 GB, free: 23.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002694/14.13, allocations: 1.168 MB / 3.967 GB, free: 23.46 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=147): time 5.38e-06/14.13, allocations: 0 / 3.967 GB, free: 23.46 MB / 0.5417 GB Notification: Performance of matching and sorting (n=163): time 0.03436/14.16, allocations: 7.971 MB / 3.974 GB, free: 21.93 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002476/14.16, allocations: 382.2 kB / 3.975 GB, free: 21.49 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/14.17, allocations: 1.129 MB / 3.976 GB, free: 21.32 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0005584/14.17, allocations: 29.52 kB / 3.976 GB, free: 21.29 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.001143/14.17, allocations: 1.015 MB / 3.977 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009463/14.17, allocations: 0.5444 MB / 3.977 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000214/14.17, allocations: 0 / 3.977 GB, free: 20.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002169/14.17, allocations: 386.7 kB / 3.978 GB, free: 20.36 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/14.17, allocations: 1.013 MB / 3.979 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002786/14.17, allocations: 1.501 MB / 3.98 GB, free: 19.8 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02333/14.2, allocations: 3.307 MB / 3.983 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.827e-05/14.2, allocations: 5.625 kB / 3.983 GB, free: 19.72 MB / 0.5417 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.02878/14.23, allocations: 5.537 MB / 3.989 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002075/14.23, allocations: 5.258 MB / 3.994 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.142e-05/14.23, allocations: 14.84 kB / 3.994 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0127/14.24, allocations: 2.033 MB / 3.996 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002275/14.24, allocations: 313.5 kB / 3.996 GB, free: 14.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009423/14.25, allocations: 3.653 MB / 4 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004178/14.26, allocations: 262.6 kB / 4 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004463/14.26, allocations: 100.8 kB / 4 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/14.26, allocations: 2.719 kB / 4 GB, free: 13.39 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02683/14.29, allocations: 4.949 MB / 4.005 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.87e-05/14.29, allocations: 14.62 kB / 4.005 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01024/14.3, allocations: 1.54 MB / 4.006 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/14.3, allocations: 355.2 kB / 4.007 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005471/14.3, allocations: 2.685 MB / 4.009 GB, free: 12.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004251/14.31, allocations: 235.8 kB / 4.01 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004747/14.31, allocations: 96.64 kB / 4.01 GB, free: 12.64 MB / 0.5417 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.0007919/14.31, allocations: 199.9 kB / 4.01 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00965/14.32, allocations: 2.498 MB / 4.012 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008276/14.32, allocations: 185.9 kB / 4.013 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01474/14.34, allocations: 6.826 MB / 4.019 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.637e-05/14.34, allocations: 81.42 kB / 4.019 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.594e-05/14.34, allocations: 6.438 kB / 4.019 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01158/14.35, allocations: 5.648 MB / 4.025 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02069/14.37, allocations: 9.247 MB / 4.034 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-05/14.37, allocations: 3.969 kB / 4.034 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003091/14.37, allocations: 356.4 kB / 4.034 GB, free: 10.4 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/14.37, allocations: 338.5 kB / 4.035 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000482/14.37, allocations: 39.25 kB / 4.035 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/14.38, allocations: 2.689 MB / 4.037 GB, free: 24.26 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/14.38, allocations: 0 / 4.037 GB, free: 24.26 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/14.39, allocations: 6.407 MB / 4.043 GB, free: 23.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002323/14.39, allocations: 0.6879 MB / 4.044 GB, free: 23.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008345/14.39, allocations: 21.59 kB / 4.044 GB, free: 23.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002969/14.4, allocations: 166.2 kB / 4.044 GB, free: 23.35 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/14.4, allocations: 139.9 kB / 4.044 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002272/14.4, allocations: 64.42 kB / 4.044 GB, free: 23.34 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.00223/14.4, allocations: 1.024 MB / 4.045 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of sort global known variables: time 9.62e-07/14.4, allocations: 1.531 kB / 4.045 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0127/14.41, allocations: 2.633 MB / 4.048 GB, free: 23.11 MB / 0.5573 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.02979/14.44, allocations: 10.08 MB / 4.058 GB, free: 17.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01222/14.45, allocations: 4.777 MB / 4.063 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.061e-05/14.45, allocations: 4 kB / 4.063 GB, free: 14.93 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.005272/14.46, allocations: 2.168 MB / 4.065 GB, free: 13.83 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007641/14.47, allocations: 0.7742 MB / 4.065 GB, free: 13.41 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02416/14.49, allocations: 7.02 MB / 4.072 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003383/14.5, allocations: 2.225 MB / 4.074 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.007671/14.5, allocations: 1.929 MB / 4.076 GB, free: 5.734 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002731/14.51, allocations: 1.188 MB / 4.078 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of SimCode: time 1.372e-06/14.51, allocations: 0 / 4.078 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6984/15.2, allocations: 109.6 MB / 4.185 GB, free: 75.42 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002114/15.2, allocations: 189.4 kB / 4.185 GB, free: 75.21 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.559/23.76, allocations: 4 kB / 4.185 GB, free: 75.21 MB / 0.5573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat does not exist to compare? outputFormat=mat