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.578/2.578, allocations: 235 MB / 247.2 MB, free: 14.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.569e-05/5.586e-05, allocations: 4.938 kB / 305 MB, free: 5.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4425/0.4426, allocations: 54.85 MB / 359.9 MB, free: 3.098 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.167/8.609, allocations: 2.658 GB / 3.01 GB, free: 100.9 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/8.61, allocations: 83.95 kB / 3.01 GB, free: 100.9 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.699/13.31, allocations: 0.8605 GB / 3.87 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.094e-06/13.31, allocations: 0 / 3.87 GB, free: 13.37 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003252/13.31, allocations: 67.06 kB / 3.87 GB, free: 13.3 MB / 0.5105 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.01859/13.33, allocations: 3.854 MB / 3.874 GB, free: 9.414 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/13.33, allocations: 8.031 kB / 3.874 GB, free: 9.406 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/13.33, allocations: 289.2 kB / 3.874 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009222/13.34, allocations: 0.8469 MB / 3.875 GB, free: 8.273 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009158/13.35, allocations: 2.089 MB / 3.877 GB, free: 6.164 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003819/13.35, allocations: 175.7 kB / 3.877 GB, free: 6 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009991/13.35, allocations: 205.9 kB / 3.877 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0125/13.36, allocations: 3.555 MB / 3.881 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.927e-05/13.36, allocations: 11.94 kB / 3.881 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004255/13.36, allocations: 89.48 kB / 3.881 GB, free: 1.984 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003698/13.36, allocations: 167.5 kB / 3.881 GB, free: 1.82 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4363/13.8, allocations: 3.16 MB / 3.884 GB, free: 30.82 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.03862/13.84, allocations: 15.04 MB / 3.899 GB, free: 22 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008136/13.85, allocations: 2.218 MB / 3.901 GB, free: 21.96 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/13.85, allocations: 1.044 MB / 3.902 GB, free: 21.95 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06864/13.92, allocations: 18.87 MB / 3.921 GB, free: 26.23 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01716/13.93, allocations: 1.644 MB / 3.922 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=155): time 8.225e-06/13.93, allocations: 3.469 kB / 3.922 GB, free: 26.14 MB / 0.5261 GB Notification: Performance of matching and sorting (n=171): time 0.03317/13.97, allocations: 6.936 MB / 3.929 GB, free: 25.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/13.97, allocations: 279.5 kB / 3.929 GB, free: 24.98 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003151/13.97, allocations: 1.404 MB / 3.931 GB, free: 24.81 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006166/13.97, allocations: 54.58 kB / 3.931 GB, free: 24.78 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/13.97, allocations: 0.9824 MB / 3.932 GB, free: 24.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001081/13.97, allocations: 0.5856 MB / 3.932 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002815/13.97, allocations: 41.81 kB / 3.932 GB, free: 24.17 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002645/13.97, allocations: 386.3 kB / 3.933 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/13.98, allocations: 1.043 MB / 3.934 GB, free: 23.86 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003317/13.98, allocations: 1.538 MB / 3.935 GB, free: 23.31 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003144/13.98, allocations: 1.282 MB / 3.936 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.448e-05/13.98, allocations: 5.672 kB / 3.936 GB, free: 23.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=263) (initialization): time 0.009274/13.99, allocations: 3.644 MB / 3.94 GB, free: 23.03 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002255/14, allocations: 5.322 MB / 3.945 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.839e-05/14, allocations: 16.36 kB / 3.945 GB, free: 17.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02274/14.02, allocations: 2.768 MB / 3.948 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/14.02, allocations: 320.7 kB / 3.948 GB, free: 17.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007515/14.03, allocations: 3.295 MB / 3.951 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003999/14.03, allocations: 262 kB / 3.952 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005651/14.03, allocations: 101.7 kB / 3.952 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/14.03, allocations: 5.281 kB / 3.952 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008848/14.04, allocations: 3.251 MB / 3.955 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.106e-05/14.04, allocations: 15.02 kB / 3.955 GB, free: 16.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01075/14.05, allocations: 1.637 MB / 3.956 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002718/14.06, allocations: 357.2 kB / 3.957 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/14.06, allocations: 2.572 MB / 3.959 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/14.07, allocations: 260.9 kB / 3.96 GB, free: 16.14 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006702/14.07, allocations: 99.56 kB / 3.96 GB, free: 16.14 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.0008468/14.07, allocations: 272.7 kB / 3.96 GB, free: 16 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000649/14.07, allocations: 199 kB / 3.96 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0145/14.08, allocations: 7.692 MB / 3.968 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001048/14.08, allocations: 92.16 kB / 3.968 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.26e-05/14.08, allocations: 0 / 3.968 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01146/14.09, allocations: 6.595 MB / 3.974 GB, free: 14.32 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02121/14.11, allocations: 10.82 MB / 3.985 GB, free: 13.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.762e-05/14.11, allocations: 7.016 kB / 3.985 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003419/14.12, allocations: 396.9 kB / 3.985 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001919/14.12, allocations: 349.2 kB / 3.985 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003929/14.12, allocations: 66.47 kB / 3.986 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002174/14.12, allocations: 2.576 MB / 3.988 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/14.12, allocations: 2.25 kB / 3.988 GB, free: 11.46 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01351/14.14, allocations: 6.898 MB / 3.995 GB, free: 10.83 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002469/14.14, allocations: 0.7494 MB / 3.996 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006651/14.14, allocations: 54.41 kB / 3.996 GB, free: 10.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002996/14.14, allocations: 197 kB / 3.996 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005056/14.14, allocations: 149.7 kB / 3.996 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/14.14, allocations: 69.95 kB / 3.996 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00261/14.15, allocations: 1.167 MB / 3.997 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 8.32e-07/14.15, allocations: 2.281 kB / 3.997 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01298/14.16, allocations: 2.761 MB / 4 GB, free: 10.19 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.02912/14.19, allocations: 10.17 MB / 4.01 GB, free: 8.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01331/14.2, allocations: 5.111 MB / 4.015 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.828e-06/14.2, allocations: 6.516 kB / 4.015 GB, free: 8.523 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.005522/14.21, allocations: 2.372 MB / 4.017 GB, free: 7.645 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007878/14.22, allocations: 0.8731 MB / 4.018 GB, free: 7.461 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9155/15.13, allocations: 129.6 MB / 4.144 GB, free: 57.18 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002518/15.13, allocations: 2.308 MB / 4.147 GB, free: 56.37 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007067/15.14, allocations: 1.9 MB / 4.149 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00272/15.14, allocations: 1.288 MB / 4.15 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.124e-06/15.14, allocations: 0.9375 kB / 4.15 GB, free: 56.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2862/15.43, allocations: 128.9 MB / 4.276 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003454/15.43, allocations: 231.8 kB / 4.276 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.176/24.61, allocations: 0 / 4.276 GB, free: 11.57 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