Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.49/2.49, allocations: 249.5 MB / 261.6 MB, free: 2.152 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.465e-05/3.476e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4228, allocations: 58.83 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.042/9.465, allocations: 2.827 GB / 3.201 GB, free: 93.33 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/9.465, allocations: 78.33 kB / 3.201 GB, free: 93.29 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/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.537/14, allocations: 0.8031 GB / 4.004 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.844e-06/14, allocations: 0 / 4.004 GB, free: 38.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000242/14, allocations: 62.73 kB / 4.004 GB, free: 38.01 MB / 0.5261 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.01667/14.02, allocations: 3.86 MB / 4.008 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/14.02, allocations: 10.28 kB / 4.008 GB, free: 36.16 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001068/14.02, allocations: 286.7 kB / 4.008 GB, free: 36.11 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008568/14.03, allocations: 0.8481 MB / 4.009 GB, free: 35.97 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007769/14.04, allocations: 2.086 MB / 4.011 GB, free: 35.5 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002204/14.04, allocations: 173.2 kB / 4.011 GB, free: 35.49 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005624/14.04, allocations: 208.9 kB / 4.011 GB, free: 35.48 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009947/14.05, allocations: 3.552 MB / 4.015 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.52e-05/14.05, allocations: 6.781 kB / 4.015 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003786/14.05, allocations: 88 kB / 4.015 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002885/14.05, allocations: 160.6 kB / 4.015 GB, free: 34.91 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009618/14.06, allocations: 3.14 MB / 4.018 GB, free: 34.87 MB / 0.5261 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.02774/14.09, allocations: 15.21 MB / 4.033 GB, free: 25.74 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007442/14.09, allocations: 2.227 MB / 4.035 GB, free: 25.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002598/14.1, allocations: 1.064 MB / 4.036 GB, free: 25.43 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07631/14.17, allocations: 24.53 MB / 4.06 GB, free: 25.38 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006011/14.18, allocations: 1.662 MB / 4.062 GB, free: 24.85 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=155): time 5.611e-06/14.18, allocations: 0 / 4.062 GB, free: 24.85 MB / 0.5418 GB Notification: Performance of matching and sorting (n=171): time 0.02586/14.2, allocations: 7.04 MB / 4.069 GB, free: 21.98 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000164/14.2, allocations: 278.3 kB / 4.069 GB, free: 21.65 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003007/14.21, allocations: 1.449 MB / 4.07 GB, free: 20.35 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0005463/14.21, allocations: 57.7 kB / 4.07 GB, free: 20.29 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009947/14.21, allocations: 0.9636 MB / 4.071 GB, free: 19.41 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009207/14.21, allocations: 0.588 MB / 4.072 GB, free: 18.88 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002374/14.21, allocations: 36 kB / 4.072 GB, free: 18.84 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002293/14.21, allocations: 388 kB / 4.072 GB, free: 18.48 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002593/14.21, allocations: 1.045 MB / 4.073 GB, free: 17.55 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002846/14.22, allocations: 1.502 MB / 4.075 GB, free: 16 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003024/14.22, allocations: 1.273 MB / 4.076 GB, free: 14.91 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-05/14.22, allocations: 4 kB / 4.076 GB, free: 14.91 MB / 0.5418 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009288/14.23, allocations: 3.641 MB / 4.08 GB, free: 11.68 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.002044/14.23, allocations: 4.816 MB / 4.084 GB, free: 6.465 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.213e-05/14.23, allocations: 15.7 kB / 4.084 GB, free: 6.453 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02769/14.26, allocations: 3.016 MB / 4.087 GB, free: 4.188 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/14.26, allocations: 307.1 kB / 4.088 GB, free: 3.926 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008184/14.27, allocations: 3.295 MB / 4.091 GB, free: 1.047 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004531/14.27, allocations: 263 kB / 4.091 GB, free: 0.8438 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000922/14.27, allocations: 102.7 kB / 4.091 GB, free: 0.7539 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/14.27, allocations: 4 kB / 4.091 GB, free: 0.75 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01133/14.29, allocations: 3.326 MB / 4.094 GB, free: 14.09 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.522e-05/14.29, allocations: 12 kB / 4.094 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/14.3, allocations: 1.629 MB / 4.096 GB, free: 12.82 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/14.3, allocations: 355.2 kB / 4.096 GB, free: 12.52 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/14.31, allocations: 2.577 MB / 4.099 GB, free: 10.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/14.31, allocations: 259.7 kB / 4.099 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/14.31, allocations: 99.27 kB / 4.099 GB, free: 9.965 MB / 0.5574 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 (157): * Single equations (assignments): 153 * 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.0008138/14.31, allocations: 251.6 kB / 4.099 GB, free: 9.711 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006889/14.31, allocations: 213.4 kB / 4.1 GB, free: 9.5 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01662/14.33, allocations: 7.73 MB / 4.107 GB, free: 2.57 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001213/14.33, allocations: 99.8 kB / 4.107 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/14.33, allocations: 0 / 4.107 GB, free: 2.508 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.5078/14.84, allocations: 6.653 MB / 4.114 GB, free: 67.36 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02819/14.87, allocations: 10.93 MB / 4.124 GB, free: 66.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.779e-05/14.87, allocations: 0 / 4.124 GB, free: 66.77 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003542/14.87, allocations: 411.5 kB / 4.125 GB, free: 66.77 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002051/14.87, allocations: 350.4 kB / 4.125 GB, free: 66.74 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005116/14.87, allocations: 64.48 kB / 4.125 GB, free: 66.74 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/14.87, allocations: 2.569 MB / 4.128 GB, free: 64.68 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/14.87, allocations: 0 / 4.128 GB, free: 64.68 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01345/14.89, allocations: 6.973 MB / 4.135 GB, free: 64.23 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00234/14.89, allocations: 0.7729 MB / 4.135 GB, free: 64.06 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007646/14.89, allocations: 51.28 kB / 4.135 GB, free: 64.06 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/14.89, allocations: 202.8 kB / 4.136 GB, free: 64.05 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005374/14.89, allocations: 162.2 kB / 4.136 GB, free: 64.05 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002501/14.89, allocations: 71.61 kB / 4.136 GB, free: 64.05 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.002673/14.9, allocations: 1.287 MB / 4.137 GB, free: 63.89 MB / 0.5574 GB Notification: Performance of sort global known variables: time 7.62e-07/14.9, allocations: 0.7656 kB / 4.137 GB, free: 63.89 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01225/14.91, allocations: 2.798 MB / 4.14 GB, free: 63.89 MB / 0.5574 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.03128/14.94, allocations: 10.27 MB / 4.15 GB, free: 62.67 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01854/14.96, allocations: 5.057 MB / 4.155 GB, free: 62.36 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/14.96, allocations: 0 / 4.155 GB, free: 62.36 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.007187/14.97, allocations: 2.363 MB / 4.157 GB, free: 62.29 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01154/14.98, allocations: 0.9199 MB / 4.158 GB, free: 62.27 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/15, allocations: 7.674 MB / 4.165 GB, free: 60.82 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002529/15, allocations: 2.311 MB / 4.168 GB, free: 60.05 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.007455/15.01, allocations: 1.953 MB / 4.17 GB, free: 60.01 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002861/15.01, allocations: 1.289 MB / 4.171 GB, free: 60 MB / 0.5574 GB Notification: Performance of SimCode: time 1.774e-06/15.01, allocations: 0 / 4.171 GB, free: 60 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3468/15.36, allocations: 131 MB / 4.299 GB, free: 9.188 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002434/15.36, allocations: 230.5 kB / 4.299 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.858/24.22, allocations: 3.938 kB / 4.299 GB, free: 8.953 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes12_res.mat does not exist to compare? outputFormat=mat