Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.76/2.76, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.212e-05/5.222e-05, allocations: 4 kB / 348.5 MB, free: 10.72 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.329/9.472, allocations: 2.832 GB / 3.233 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/9.472, allocations: 79.11 kB / 3.233 GB, free: 11.81 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 4.0.0/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 5.382/14.85, allocations: 0.875 GB / 4.108 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.926e-06/14.85, allocations: 2.344 kB / 4.108 GB, free: 38.57 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.000339/14.85, allocations: 68.67 kB / 4.108 GB, free: 38.57 MB / 0.5573 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.01824/14.87, allocations: 3.867 MB / 4.112 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/14.87, allocations: 7.906 kB / 4.112 GB, free: 36.92 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001357/14.87, allocations: 287.3 kB / 4.112 GB, free: 36.87 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009067/14.88, allocations: 0.8442 MB / 4.113 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008379/14.89, allocations: 2.08 MB / 4.115 GB, free: 36.3 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002796/14.89, allocations: 181.6 kB / 4.115 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007797/14.89, allocations: 202.7 kB / 4.115 GB, free: 36.29 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01145/14.9, allocations: 3.553 MB / 4.119 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.98e-05/14.9, allocations: 8.547 kB / 4.119 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/14.9, allocations: 89.14 kB / 4.119 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003045/14.91, allocations: 163.7 kB / 4.119 GB, free: 35.74 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/14.92, allocations: 3.139 MB / 4.122 GB, free: 35.73 MB / 0.5573 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.03027/14.95, allocations: 15.21 MB / 4.137 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00764/14.95, allocations: 2.233 MB / 4.139 GB, free: 26.68 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002616/14.96, allocations: 1.065 MB / 4.14 GB, free: 26.66 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08499/15.04, allocations: 24.52 MB / 4.164 GB, free: 27.74 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006139/15.05, allocations: 1.669 MB / 4.166 GB, free: 27.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=155): time 5.65e-06/15.05, allocations: 3.938 kB / 4.166 GB, free: 27.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=171): time 0.02753/15.08, allocations: 7.045 MB / 4.173 GB, free: 26.71 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001713/15.08, allocations: 283.7 kB / 4.173 GB, free: 26.39 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003376/15.08, allocations: 1.443 MB / 4.174 GB, free: 26.21 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005772/15.08, allocations: 62.36 kB / 4.174 GB, free: 26.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/15.08, allocations: 0.9609 MB / 4.175 GB, free: 25.8 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009884/15.08, allocations: 0.5862 MB / 4.176 GB, free: 25.42 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002596/15.08, allocations: 42.31 kB / 4.176 GB, free: 25.42 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002262/15.08, allocations: 392.6 kB / 4.176 GB, free: 25.11 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/15.09, allocations: 1.047 MB / 4.177 GB, free: 25.11 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003077/15.09, allocations: 1.496 MB / 4.179 GB, free: 24.62 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/15.09, allocations: 1.28 MB / 4.18 GB, free: 24.55 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.775e-05/15.09, allocations: 3.75 kB / 4.18 GB, free: 24.55 MB / 0.573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.0101/15.1, allocations: 3.648 MB / 4.184 GB, free: 24.33 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001795/15.1, allocations: 4.798 MB / 4.188 GB, free: 19.29 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.937e-05/15.1, allocations: 17.17 kB / 4.188 GB, free: 19.29 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02702/15.13, allocations: 3.016 MB / 4.191 GB, free: 19.26 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002298/15.13, allocations: 316.2 kB / 4.192 GB, free: 19.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007791/15.14, allocations: 3.298 MB / 4.195 GB, free: 18.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004415/15.15, allocations: 258.2 kB / 4.195 GB, free: 18.68 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007451/15.15, allocations: 102.6 kB / 4.195 GB, free: 18.68 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/15.15, allocations: 4.469 kB / 4.195 GB, free: 18.68 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01051/15.16, allocations: 3.243 MB / 4.198 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.913e-05/15.16, allocations: 13.69 kB / 4.198 GB, free: 18.59 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/15.17, allocations: 1.633 MB / 4.2 GB, free: 18.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002703/15.17, allocations: 345.2 kB / 4.2 GB, free: 18.57 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005368/15.18, allocations: 2.577 MB / 4.203 GB, free: 18.01 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004005/15.18, allocations: 263 kB / 4.203 GB, free: 17.99 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006292/15.18, allocations: 99.56 kB / 4.203 GB, free: 17.99 MB / 0.573 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.001026/15.18, allocations: 264.3 kB / 4.203 GB, free: 17.84 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006846/15.18, allocations: 206.5 kB / 4.204 GB, free: 17.73 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01524/15.2, allocations: 7.748 MB / 4.211 GB, free: 16.94 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001051/15.2, allocations: 90.41 kB / 4.211 GB, free: 16.94 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.192e-05/15.2, allocations: 0 / 4.211 GB, free: 16.94 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01203/15.21, allocations: 6.649 MB / 4.218 GB, free: 16.08 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02225/15.23, allocations: 10.94 MB / 4.228 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/15.23, allocations: 4 kB / 4.228 GB, free: 15.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/15.24, allocations: 406.1 kB / 4.229 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002041/15.24, allocations: 356.8 kB / 4.229 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005401/15.24, allocations: 64.25 kB / 4.229 GB, free: 15.26 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002298/15.24, allocations: 2.56 MB / 4.232 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/15.24, allocations: 8.766 kB / 4.232 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01606/15.26, allocations: 6.963 MB / 4.239 GB, free: 11.61 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002492/15.26, allocations: 0.7852 MB / 4.239 GB, free: 11.12 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009716/15.26, allocations: 46.28 kB / 4.239 GB, free: 11.09 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003798/15.26, allocations: 199 kB / 4.24 GB, free: 11.05 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000785/15.27, allocations: 152.6 kB / 4.24 GB, free: 11.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/15.27, allocations: 66.28 kB / 4.24 GB, free: 11.02 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003419/15.27, allocations: 1.295 MB / 4.241 GB, free: 10.49 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.91e-07/15.27, allocations: 0 / 4.241 GB, free: 10.49 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01395/15.28, allocations: 2.801 MB / 4.244 GB, free: 9.898 MB / 0.573 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.03039/15.31, allocations: 10.27 MB / 4.254 GB, free: 5.633 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01421/15.33, allocations: 5.049 MB / 4.259 GB, free: 3.727 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.468e-06/15.33, allocations: 5.438 kB / 4.259 GB, free: 3.723 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.006119/15.33, allocations: 2.37 MB / 4.261 GB, free: 1.648 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009032/15.34, allocations: 0.9308 MB / 4.262 GB, free: 0.9688 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03111/15.37, allocations: 8.015 MB / 4.27 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003015/15.38, allocations: 2.31 MB / 4.272 GB, free: 9.336 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.007631/15.39, allocations: 1.955 MB / 4.274 GB, free: 8.176 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003191/15.39, allocations: 1.293 MB / 4.275 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of SimCode: time 1.603e-06/15.39, allocations: 0 / 4.275 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9649/16.35, allocations: 131.1 MB / 4.403 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/16.35, allocations: 230.4 kB / 4.403 GB, free: 65.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.573/25.93, allocations: 4.75 kB / 4.403 GB, free: 65.93 MB / 0.6042 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat does not exist to compare? outputFormat=mat