Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.592/2.592, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 4.494e-05/4.513e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4379, allocations: 58.82 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.727/9.164, allocations: 2.828 GB / 3.201 GB, free: 94.74 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/9.165, allocations: 86.25 kB / 3.201 GB, free: 94.7 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.773/13.94, allocations: 0.8655 GB / 4.066 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.494e-06/13.94, allocations: 4 kB / 4.066 GB, free: 23.77 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.000339/13.94, allocations: 68.05 kB / 4.066 GB, free: 23.7 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.01832/13.96, allocations: 3.857 MB / 4.07 GB, free: 20.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/13.96, allocations: 8.031 kB / 4.07 GB, free: 20.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001209/13.96, allocations: 288.6 kB / 4.071 GB, free: 19.96 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009074/13.97, allocations: 0.8435 MB / 4.071 GB, free: 19.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00908/13.98, allocations: 2.084 MB / 4.073 GB, free: 17.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003364/13.98, allocations: 175.7 kB / 4.074 GB, free: 17.22 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001095/13.98, allocations: 196 kB / 4.074 GB, free: 17.03 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/13.99, allocations: 3.569 MB / 4.077 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.603e-05/13.99, allocations: 7.938 kB / 4.077 GB, free: 13.24 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004943/13.99, allocations: 83.97 kB / 4.077 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003103/13.99, allocations: 159.6 kB / 4.077 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01123/14, allocations: 3.138 MB / 4.081 GB, free: 9.863 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.03428/14.04, allocations: 15.2 MB / 4.095 GB, free: 9.426 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008575/14.05, allocations: 2.232 MB / 4.098 GB, free: 7.191 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003144/14.05, allocations: 1.056 MB / 4.099 GB, free: 6.133 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5526/14.6, allocations: 24.53 MB / 4.123 GB, free: 32.95 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009786/14.61, allocations: 1.668 MB / 4.124 GB, free: 32.86 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=155): time 8.035e-06/14.61, allocations: 0 / 4.124 GB, free: 32.86 MB / 0.5418 GB Notification: Performance of matching and sorting (n=171): time 0.02645/14.64, allocations: 7.041 MB / 4.131 GB, free: 32.2 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/14.64, allocations: 284 kB / 4.131 GB, free: 31.89 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003356/14.64, allocations: 1.446 MB / 4.133 GB, free: 31.71 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0006006/14.64, allocations: 56.08 kB / 4.133 GB, free: 31.68 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.00115/14.64, allocations: 0.9748 MB / 4.134 GB, free: 31.38 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.00115/14.64, allocations: 0.5771 MB / 4.134 GB, free: 31.09 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002983/14.64, allocations: 43.12 kB / 4.134 GB, free: 31.09 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001971/14.64, allocations: 381.6 kB / 4.135 GB, free: 30.79 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002911/14.65, allocations: 1.048 MB / 4.136 GB, free: 30.78 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00337/14.65, allocations: 1.501 MB / 4.137 GB, free: 30.29 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003337/14.65, allocations: 1.273 MB / 4.138 GB, free: 30.23 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-05/14.65, allocations: 3.688 kB / 4.138 GB, free: 30.23 MB / 0.5418 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.01057/14.66, allocations: 3.646 MB / 4.142 GB, free: 30.01 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.001131/14.67, allocations: 4.813 MB / 4.147 GB, free: 24.96 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.964e-05/14.67, allocations: 14.25 kB / 4.147 GB, free: 24.96 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02779/14.69, allocations: 3.014 MB / 4.15 GB, free: 24.95 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002346/14.7, allocations: 307.1 kB / 4.15 GB, free: 24.95 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007385/14.7, allocations: 3.305 MB / 4.153 GB, free: 24.38 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/14.71, allocations: 260.2 kB / 4.153 GB, free: 24.38 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005671/14.71, allocations: 104.8 kB / 4.154 GB, free: 24.38 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/14.71, allocations: 5.406 kB / 4.154 GB, free: 24.38 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008816/14.72, allocations: 3.239 MB / 4.157 GB, free: 24.28 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.746e-05/14.72, allocations: 12.94 kB / 4.157 GB, free: 24.28 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/14.73, allocations: 1.627 MB / 4.158 GB, free: 24.25 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002728/14.73, allocations: 353.2 kB / 4.159 GB, free: 24.25 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005164/14.74, allocations: 2.58 MB / 4.161 GB, free: 23.7 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004156/14.74, allocations: 256.1 kB / 4.161 GB, free: 23.69 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007535/14.74, allocations: 98.08 kB / 4.161 GB, free: 23.69 MB / 0.5418 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.0009325/14.74, allocations: 257.1 kB / 4.162 GB, free: 23.55 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007099/14.74, allocations: 212.8 kB / 4.162 GB, free: 23.44 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0147/14.76, allocations: 7.739 MB / 4.169 GB, free: 22.73 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-05/14.76, allocations: 93.45 kB / 4.17 GB, free: 22.72 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.209e-05/14.76, allocations: 0 / 4.17 GB, free: 22.72 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01109/14.77, allocations: 6.644 MB / 4.176 GB, free: 21.86 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0206/14.79, allocations: 10.93 MB / 4.187 GB, free: 21.18 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.485e-05/14.79, allocations: 2.75 kB / 4.187 GB, free: 21.18 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003467/14.79, allocations: 411 kB / 4.187 GB, free: 21.18 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001952/14.8, allocations: 353 kB / 4.187 GB, free: 21.14 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004851/14.8, allocations: 62.69 kB / 4.188 GB, free: 21.14 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/14.8, allocations: 2.567 MB / 4.19 GB, free: 19.06 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/14.8, allocations: 3.469 kB / 4.19 GB, free: 19.06 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/14.81, allocations: 6.967 MB / 4.197 GB, free: 18.43 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002377/14.81, allocations: 0.7735 MB / 4.198 GB, free: 18.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006831/14.81, allocations: 54.08 kB / 4.198 GB, free: 18.11 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004307/14.82, allocations: 206.5 kB / 4.198 GB, free: 18.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/14.82, allocations: 153.1 kB / 4.198 GB, free: 18.1 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005252/14.82, allocations: 70.53 kB / 4.198 GB, free: 18.1 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.004707/14.82, allocations: 1.292 MB / 4.199 GB, free: 17.94 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.685e-06/14.82, allocations: 0 / 4.199 GB, free: 17.94 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0137/14.84, allocations: 2.794 MB / 4.202 GB, free: 17.82 MB / 0.5418 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.02807/14.87, allocations: 10.27 MB / 4.212 GB, free: 16.45 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01238/14.88, allocations: 5.054 MB / 4.217 GB, free: 16.14 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/14.88, allocations: 0 / 4.217 GB, free: 16.14 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.005175/14.88, allocations: 2.367 MB / 4.219 GB, free: 16.07 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008324/14.89, allocations: 0.9326 MB / 4.22 GB, free: 16.04 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02192/14.91, allocations: 7.668 MB / 4.228 GB, free: 14.68 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/14.92, allocations: 2.306 MB / 4.23 GB, free: 13.91 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.007519/14.92, allocations: 1.954 MB / 4.232 GB, free: 13.87 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00334/14.93, allocations: 1.289 MB / 4.233 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of SimCode: time 2.565e-06/14.93, allocations: 2.781 kB / 4.233 GB, free: 13.49 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7811/15.71, allocations: 131 MB / 4.361 GB, free: 70.88 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002487/15.71, allocations: 223.5 kB / 4.361 GB, free: 70.66 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.438/25.15, allocations: 0 / 4.361 GB, free: 70.66 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat does not exist to compare? outputFormat=mat