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.385/2.385, allocations: 235 MB / 247.2 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/4.012e-05, allocations: 0 / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4802/0.4803, allocations: 54.85 MB / 359.9 MB, free: 2.789 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.366/8.846, allocations: 2.658 GB / 3.01 GB, free: 100.7 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/8.847, allocations: 79.52 kB / 3.01 GB, free: 100.6 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.756/13.6, allocations: 0.7984 GB / 3.808 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.434e-06/13.6, allocations: 0 / 3.808 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0003349/13.6, allocations: 70.25 kB / 3.808 GB, free: 26.94 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.01829/13.62, allocations: 3.86 MB / 3.812 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/13.62, allocations: 10.81 kB / 3.812 GB, free: 25.02 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001191/13.62, allocations: 287.9 kB / 3.812 GB, free: 24.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/13.64, allocations: 0.848 MB / 3.813 GB, free: 24.83 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/13.65, allocations: 2.087 MB / 3.815 GB, free: 24.31 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004643/13.65, allocations: 182.8 kB / 3.815 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001304/13.65, allocations: 202.8 kB / 3.815 GB, free: 24.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01696/13.67, allocations: 3.534 MB / 3.819 GB, free: 23.72 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001201/13.67, allocations: 11.72 kB / 3.819 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006977/13.67, allocations: 89.48 kB / 3.819 GB, free: 23.71 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004563/13.67, allocations: 169.3 kB / 3.819 GB, free: 23.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01786/13.69, allocations: 3.123 MB / 3.822 GB, free: 23.05 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.04529/13.73, allocations: 15.04 MB / 3.837 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01064/13.75, allocations: 2.2 MB / 3.839 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/13.75, allocations: 1.045 MB / 3.84 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06574/13.81, allocations: 18.89 MB / 3.858 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006125/13.82, allocations: 1.637 MB / 3.86 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=155): time 6.011e-06/13.82, allocations: 4 kB / 3.86 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=171): time 0.02736/13.85, allocations: 6.939 MB / 3.867 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002086/13.85, allocations: 285.7 kB / 3.867 GB, free: 4.707 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003521/13.85, allocations: 1.4 MB / 3.868 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005848/13.85, allocations: 57.7 kB / 3.868 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001317/13.85, allocations: 0.978 MB / 3.869 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001018/13.86, allocations: 0.5811 MB / 3.87 GB, free: 1.969 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002338/13.86, allocations: 40 kB / 3.87 GB, free: 1.93 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002418/13.86, allocations: 388.3 kB / 3.87 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003893/13.86, allocations: 1.042 MB / 3.871 GB, free: 0.6406 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007855/13.87, allocations: 1.636 MB / 3.873 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005213/13.87, allocations: 1.288 MB / 3.874 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/13.87, allocations: 0 / 3.874 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.01466/13.89, allocations: 3.61 MB / 3.878 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.003256/13.89, allocations: 5.324 MB / 3.883 GB, free: 5.242 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.971e-05/13.89, allocations: 20 kB / 3.883 GB, free: 5.223 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03468/13.93, allocations: 2.749 MB / 3.886 GB, free: 3.141 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003815/13.93, allocations: 313.6 kB / 3.886 GB, free: 2.875 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01347/13.94, allocations: 3.307 MB / 3.889 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.4517/14.4, allocations: 262.1 kB / 3.889 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007984/14.4, allocations: 102.1 kB / 3.89 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/14.4, allocations: 4.641 kB / 3.89 GB, free: 57.98 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/14.41, allocations: 3.209 MB / 3.893 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.462e-05/14.41, allocations: 19.47 kB / 3.893 GB, free: 57.92 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01171/14.42, allocations: 1.623 MB / 3.894 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002889/14.42, allocations: 359.8 kB / 3.895 GB, free: 57.89 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006093/14.43, allocations: 2.568 MB / 3.897 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004154/14.43, allocations: 257.2 kB / 3.897 GB, free: 57.36 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006209/14.43, allocations: 104.7 kB / 3.898 GB, free: 57.36 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,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 (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.0008024/14.43, allocations: 262.8 kB / 3.898 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006429/14.43, allocations: 203.8 kB / 3.898 GB, free: 57.22 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01756/14.45, allocations: 7.683 MB / 3.905 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001278/14.45, allocations: 92.92 kB / 3.906 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/14.45, allocations: 4.906 kB / 3.906 GB, free: 56.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01195/14.46, allocations: 6.592 MB / 3.912 GB, free: 55.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0205/14.48, allocations: 10.81 MB / 3.923 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/14.48, allocations: 3.25 kB / 3.923 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003359/14.49, allocations: 403.4 kB / 3.923 GB, free: 55.18 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/14.49, allocations: 351.4 kB / 3.923 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005407/14.49, allocations: 65.8 kB / 3.923 GB, free: 55.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/14.49, allocations: 2.568 MB / 3.926 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/14.49, allocations: 2.906 kB / 3.926 GB, free: 53.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01357/14.51, allocations: 6.903 MB / 3.933 GB, free: 52.46 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002516/14.51, allocations: 0.7489 MB / 3.933 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009363/14.51, allocations: 48.33 kB / 3.933 GB, free: 52.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003558/14.51, allocations: 198.2 kB / 3.934 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005087/14.51, allocations: 149.3 kB / 3.934 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002419/14.52, allocations: 63.41 kB / 3.934 GB, free: 52.18 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00284/14.52, allocations: 1.17 MB / 3.935 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.212e-06/14.52, allocations: 5.156 kB / 3.935 GB, free: 52.02 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01391/14.53, allocations: 2.763 MB / 3.938 GB, free: 52 MB / 0.5261 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 (197): * Single equations (assignments): 167 * 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.02982/14.56, allocations: 10.2 MB / 3.948 GB, free: 50.65 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01566/14.58, allocations: 5.053 MB / 3.953 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/14.58, allocations: 0 / 3.953 GB, free: 50.34 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01158/14.59, allocations: 2.366 MB / 3.955 GB, free: 50.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02253/14.61, allocations: 0.8682 MB / 3.956 GB, free: 50.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4352/15.05, allocations: 129.4 MB / 4.082 GB, free: 0.6875 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004122/15.05, allocations: 2.31 MB / 4.084 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0103/15.06, allocations: 1.91 MB / 4.086 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.4853/15.55, allocations: 1.283 MB / 4.087 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of SimCode: time 2.886e-06/15.55, allocations: 0.7812 kB / 4.087 GB, free: 69.51 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3228/15.87, allocations: 128.9 MB / 4.213 GB, free: 53.16 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/15.87, allocations: 230.4 kB / 4.213 GB, free: 52.93 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.248/25.12, allocations: 0 / 4.213 GB, free: 52.93 MB / 0.5417 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