Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestPipesAndValves_SeriesPipes13",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.061e-05/5.08e-05, allocations: 4 kB / 348.5 MB, free: 2.637 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4773/0.4774, allocations: 61.88 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.053/9.531, allocations: 2.832 GB / 3.233 GB, free: 70.59 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/9.531, allocations: 79.39 kB / 3.233 GB, free: 70.55 MB / 0.5261 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Fluid/Interfaces.mo:714:9-719:39:writable] Notification: From here: [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/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.027/14.56, allocations: 0.875 GB / 4.108 GB, free: 40.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/14.56, allocations: 0 / 4.108 GB, free: 40.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003518/14.56, allocations: 64.08 kB / 4.108 GB, free: 40.48 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.01835/14.58, allocations: 3.866 MB / 4.112 GB, free: 37.59 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/14.58, allocations: 8.031 kB / 4.112 GB, free: 37.58 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001267/14.58, allocations: 292.8 kB / 4.112 GB, free: 37.34 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00885/14.59, allocations: 0.8459 MB / 4.113 GB, free: 36.66 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008231/14.59, allocations: 2.077 MB / 4.115 GB, free: 34.95 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003131/14.6, allocations: 182.8 kB / 4.115 GB, free: 34.78 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009645/14.6, allocations: 207.2 kB / 4.115 GB, free: 34.58 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01124/14.61, allocations: 3.548 MB / 4.119 GB, free: 31.48 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.791e-05/14.61, allocations: 7.938 kB / 4.119 GB, free: 31.47 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004263/14.61, allocations: 87.97 kB / 4.119 GB, free: 31.38 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002971/14.61, allocations: 163 kB / 4.119 GB, free: 31.25 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01076/14.62, allocations: 3.133 MB / 4.122 GB, free: 28.59 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.03022/14.65, allocations: 15.2 MB / 4.137 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007418/14.66, allocations: 2.239 MB / 4.139 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002444/14.66, allocations: 1.067 MB / 4.14 GB, free: 9.734 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5813/15.24, allocations: 24.53 MB / 4.164 GB, free: 56.72 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007219/15.25, allocations: 1.662 MB / 4.166 GB, free: 56.64 MB / 0.573 GB Notification: Performance of pre-optimization done (n=155): time 6.202e-06/15.25, allocations: 0 / 4.166 GB, free: 56.64 MB / 0.573 GB Notification: Performance of matching and sorting (n=171): time 0.02625/15.27, allocations: 7.028 MB / 4.173 GB, free: 55.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/15.27, allocations: 284.4 kB / 4.173 GB, free: 55.65 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003199/15.28, allocations: 1.443 MB / 4.174 GB, free: 55.48 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0005818/15.28, allocations: 59.92 kB / 4.174 GB, free: 55.45 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001037/15.28, allocations: 0.9664 MB / 4.175 GB, free: 55.15 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009426/15.28, allocations: 0.5807 MB / 4.176 GB, free: 54.86 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002298/15.28, allocations: 40.22 kB / 4.176 GB, free: 54.86 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001662/15.28, allocations: 392.4 kB / 4.176 GB, free: 54.55 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002662/15.28, allocations: 1.048 MB / 4.177 GB, free: 54.55 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002923/15.29, allocations: 1.495 MB / 4.179 GB, free: 54.05 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/15.29, allocations: 1.276 MB / 4.18 GB, free: 54 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.617e-05/15.29, allocations: 5.406 kB / 4.18 GB, free: 54 MB / 0.573 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.009335/15.3, allocations: 3.644 MB / 4.184 GB, free: 53.77 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.00102/15.3, allocations: 4.814 MB / 4.188 GB, free: 48.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-05/15.3, allocations: 17.42 kB / 4.188 GB, free: 48.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02695/15.33, allocations: 3.018 MB / 4.191 GB, free: 48.71 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/15.33, allocations: 309.2 kB / 4.192 GB, free: 48.71 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007269/15.34, allocations: 3.308 MB / 4.195 GB, free: 48.15 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004353/15.34, allocations: 259.4 kB / 4.195 GB, free: 48.14 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006146/15.34, allocations: 102.2 kB / 4.195 GB, free: 48.14 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/15.34, allocations: 3.281 kB / 4.195 GB, free: 48.14 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01016/15.35, allocations: 3.246 MB / 4.198 GB, free: 48.05 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.287e-05/15.35, allocations: 12.41 kB / 4.198 GB, free: 48.05 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01485/15.37, allocations: 1.626 MB / 4.2 GB, free: 48.02 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003459/15.37, allocations: 348.8 kB / 4.2 GB, free: 48.02 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007035/15.38, allocations: 2.579 MB / 4.203 GB, free: 47.46 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005335/15.38, allocations: 260.4 kB / 4.203 GB, free: 47.46 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005682/15.38, allocations: 96.27 kB / 4.203 GB, free: 47.46 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.0009695/15.38, allocations: 262.6 kB / 4.203 GB, free: 47.32 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008643/15.39, allocations: 204.4 kB / 4.204 GB, free: 47.21 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02031/15.41, allocations: 7.748 MB / 4.211 GB, free: 46.5 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/15.41, allocations: 90.8 kB / 4.211 GB, free: 46.5 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.515e-05/15.41, allocations: 3.75 kB / 4.211 GB, free: 46.5 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01521/15.42, allocations: 6.654 MB / 4.218 GB, free: 45.64 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/15.45, allocations: 10.94 MB / 4.228 GB, free: 44.95 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.812e-05/15.45, allocations: 0 / 4.228 GB, free: 44.95 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003538/15.45, allocations: 406.9 kB / 4.229 GB, free: 44.95 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001958/15.46, allocations: 356.1 kB / 4.229 GB, free: 44.91 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004154/15.46, allocations: 61.42 kB / 4.229 GB, free: 44.91 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/15.46, allocations: 2.572 MB / 4.232 GB, free: 42.84 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/15.46, allocations: 0 / 4.232 GB, free: 42.84 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01305/15.47, allocations: 6.968 MB / 4.239 GB, free: 42.2 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002351/15.47, allocations: 0.7719 MB / 4.239 GB, free: 41.88 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006941/15.47, allocations: 55.03 kB / 4.239 GB, free: 41.88 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003067/15.48, allocations: 204.3 kB / 4.24 GB, free: 41.87 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004328/15.48, allocations: 148.5 kB / 4.24 GB, free: 41.87 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002299/15.48, allocations: 67.84 kB / 4.24 GB, free: 41.87 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.002615/15.48, allocations: 1.292 MB / 4.241 GB, free: 41.71 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.82e-07/15.48, allocations: 0.5625 kB / 4.241 GB, free: 41.71 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01243/15.49, allocations: 2.802 MB / 4.244 GB, free: 41.59 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.03365/15.53, allocations: 10.28 MB / 4.254 GB, free: 40.21 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01935/15.55, allocations: 5.051 MB / 4.259 GB, free: 39.91 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/15.55, allocations: 3.5 kB / 4.259 GB, free: 39.91 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00768/15.55, allocations: 2.369 MB / 4.261 GB, free: 39.84 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01307/15.57, allocations: 0.9253 MB / 4.262 GB, free: 39.81 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03308/15.6, allocations: 7.67 MB / 4.269 GB, free: 38.45 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002605/15.6, allocations: 2.31 MB / 4.272 GB, free: 37.68 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007246/15.61, allocations: 1.959 MB / 4.274 GB, free: 37.65 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002622/15.61, allocations: 1.289 MB / 4.275 GB, free: 37.64 MB / 0.573 GB Notification: Performance of SimCode: time 1.793e-06/15.61, allocations: 0 / 4.275 GB, free: 37.64 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8036/16.42, allocations: 131.1 MB / 4.403 GB, free: 68.85 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/16.42, allocations: 233 kB / 4.403 GB, free: 68.59 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.736/26.15, allocations: 3.938 kB / 4.403 GB, free: 68.58 MB / 0.5886 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat does not exist to compare? outputFormat=mat