Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario8,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.925/1.925, allocations: 207.6 MB / 219.7 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.474e-05/3.485e-05, allocations: 7.984 kB / 270.8 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.09837, allocations: 48.05 MB / 318.9 MB, free: 4.219 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4136/0.512, allocations: 82 MB / 400.9 MB, free: 1.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.5124, allocations: 73.84 kB / 400.9 MB, free: 1.289 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/MEV 1.0.1/package.mo:393:7-394:74:writable] Warning: connect(inlet, inlet) connects the same connector instance! The connect equation will be ignored. Notification: Performance of FrontEnd - DAE generated: time 1.06/1.572, allocations: 173.2 MB / 0.5607 GB, free: 74.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/1.572, allocations: 3.938 kB / 0.5607 GB, free: 74.1 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000703/1.573, allocations: 175.2 kB / 0.5609 GB, free: 74.1 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2074 * Number of variables: 2074 Notification: Performance of Generate backend data structure: time 0.04144/1.615, allocations: 9.902 MB / 0.5705 GB, free: 70.55 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.615, allocations: 11.47 kB / 0.5705 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004432/1.619, allocations: 1.092 MB / 0.5716 GB, free: 70.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00505/1.624, allocations: 1.016 MB / 0.5726 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01459/1.639, allocations: 4.504 MB / 0.577 GB, free: 68.78 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008978/1.64, allocations: 0.6199 MB / 0.5776 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003712/1.643, allocations: 0.8156 MB / 0.5784 GB, free: 68.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03353/1.677, allocations: 10.27 MB / 0.5884 GB, free: 68.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004382/1.678, allocations: 3.906 kB / 0.5884 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002923/1.68, allocations: 323.4 kB / 0.5887 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001703/1.681, allocations: 192.7 kB / 0.5889 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03103/1.712, allocations: 10.17 MB / 0.5988 GB, free: 66.41 MB / 426.7 MB 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.102/1.814, allocations: 32.36 MB / 0.6304 GB, free: 40.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03115/1.845, allocations: 12.36 MB / 0.6425 GB, free: 28.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01412/1.859, allocations: 5.984 MB / 0.6484 GB, free: 22.07 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001031/1.86, allocations: 123.2 kB / 0.6485 GB, free: 21.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01425/1.875, allocations: 5.445 MB / 0.6538 GB, free: 16.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=810): time 1.368e-05/1.875, allocations: 0 / 0.6538 GB, free: 16.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=855): time 0.8279/2.703, allocations: 42.05 MB / 0.6949 GB, free: 64.07 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001576/2.703, allocations: 164.9 kB / 0.695 GB, free: 64 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01474/2.717, allocations: 5.839 MB / 0.7007 GB, free: 63.62 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001894/2.719, allocations: 187.9 kB / 0.7009 GB, free: 63.59 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004277/2.724, allocations: 3.179 MB / 0.704 GB, free: 62.89 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004309/2.728, allocations: 2.874 MB / 0.7068 GB, free: 61.07 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001656/2.73, allocations: 162.8 kB / 0.707 GB, free: 61.07 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007271/2.731, allocations: 0.6335 MB / 0.7076 GB, free: 60.75 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01138/2.742, allocations: 4.081 MB / 0.7116 GB, free: 60.72 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01282/2.755, allocations: 5.352 MB / 0.7168 GB, free: 59.5 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/2.769, allocations: 5.05 MB / 0.7217 GB, free: 59.39 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.769e-05/2.769, allocations: 11.56 kB / 0.7217 GB, free: 59.39 MB / 426.8 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.04441/2.813, allocations: 14.49 MB / 0.7359 GB, free: 57.12 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.003011/2.816, allocations: 15.68 MB / 0.7512 GB, free: 40.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/2.816, allocations: 29.31 kB / 0.7512 GB, free: 40.97 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09478/2.911, allocations: 12.74 MB / 0.7637 GB, free: 39.46 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01066/2.922, allocations: 1.382 MB / 0.765 GB, free: 39.33 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04323/2.965, allocations: 24.69 MB / 0.7891 GB, free: 23.27 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01343/2.979, allocations: 0.8192 MB / 0.7899 GB, free: 22.7 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002129/2.981, allocations: 302.9 kB / 0.7902 GB, free: 22.42 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/2.981, allocations: 4 kB / 0.7902 GB, free: 22.41 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05787/3.039, allocations: 15.92 MB / 0.8058 GB, free: 9.875 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001484/3.039, allocations: 36 kB / 0.8058 GB, free: 9.84 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03777/3.077, allocations: 7.677 MB / 0.8133 GB, free: 4.352 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01138/3.088, allocations: 1.464 MB / 0.8147 GB, free: 3.117 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.462/3.55, allocations: 68.69 MB / 0.8818 GB, free: 56.55 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01208/3.562, allocations: 0.7508 MB / 0.8825 GB, free: 56.55 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001842/3.564, allocations: 272.9 kB / 0.8828 GB, free: 56.55 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 144 * Number of states: 0 () * Number of discrete variables: 64 ($whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.patientValveSequencer.generators[1].offTime,patientValveSequencer.generators[1].offTime,$PRE.patientValveSequencer.generators[2].offTime,patientValveSequencer.generators[2].offTime,$PRE.patientValveSequencer.generators[3].offTime,patientValveSequencer.generators[3].offTime,$PRE.patientValveSequencer.generators[4].offTime,patientValveSequencer.generators[4].offTime,$PRE.patientValveSequencer.generators[5].offTime,patientValveSequencer.generators[5].offTime,$PRE.patientValveSequencer.generators[6].offTime,patientValveSequencer.generators[6].offTime,$PRE.patientValveSequencer.generators[7].offTime,patientValveSequencer.generators[7].offTime,$PRE.patientValveSequencer.generators[8].offTime,patientValveSequencer.generators[8].offTime,$PRE.patientValveSequencer.generators[9].offTime,patientValveSequencer.generators[9].offTime,$PRE.patientValveSequencer.generators[10].offTime,patientValveSequencer.generators[10].offTime,$PRE.patientValveSequencer.generators[11].offTime,patientValveSequencer.generators[11].offTime,$PRE.patientValveSequencer.generators[12].offTime,patientValveSequencer.generators[12].offTime,$PRE.patientValveSequencer.generators[13].offTime,patientValveSequencer.generators[13].offTime,$PRE.patientValveSequencer.generators[14].offTime,patientValveSequencer.generators[14].offTime,$PRE.patientValveSequencer.generators[15].offTime,patientValveSequencer.generators[15].offTime,$PRE.patientValveSequencer.generators[16].offTime,patientValveSequencer.generators[16].offTime,$PRE.patientValveSequencer.generators[17].offTime,patientValveSequencer.generators[17].offTime,$PRE.patientValveSequencer.generators[18].offTime,patientValveSequencer.generators[18].offTime,$PRE.patientValveSequencer.generators[19].offTime,patientValveSequencer.generators[19].offTime,$PRE.patientValveSequencer.generators[20].offTime,patientValveSequencer.generators[20].offTime,$PRE.onOffControllerWithHysteresis.on,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (613): * Single equations (assignments): 592 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,3 20,2 16} Notification: Performance of prepare postOptimizeDAE: time 0.003935/3.568, allocations: 0.5538 MB / 0.8833 GB, free: 56.43 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002876/3.571, allocations: 0.761 MB / 0.8841 GB, free: 56.43 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04563/3.617, allocations: 14.81 MB / 0.8986 GB, free: 55.85 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.773e-05/3.617, allocations: 85.3 kB / 0.8986 GB, free: 55.85 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.687e-05/3.617, allocations: 3.469 kB / 0.8986 GB, free: 55.85 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002686/3.617, allocations: 47.34 kB / 0.8987 GB, free: 55.85 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0773/3.695, allocations: 24.73 MB / 0.9228 GB, free: 50.3 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001064/3.695, allocations: 2.75 kB / 0.9228 GB, free: 50.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01045/3.705, allocations: 1.118 MB / 0.9239 GB, free: 50.23 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08784/3.793, allocations: 12.52 MB / 0.9362 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002335/3.796, allocations: 216.2 kB / 0.9364 GB, free: 48.5 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03971/3.835, allocations: 24.24 MB / 0.96 GB, free: 28.05 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/3.835, allocations: 7.969 kB / 0.96 GB, free: 28.05 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05791/3.893, allocations: 21.11 MB / 0.9807 GB, free: 9.402 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008412/3.902, allocations: 2.087 MB / 0.9827 GB, free: 7.289 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003855/3.906, allocations: 184 kB / 0.9829 GB, free: 7.109 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01196/3.918, allocations: 0.7022 MB / 0.9836 GB, free: 6.406 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003513/3.921, allocations: 0.8297 MB / 0.9844 GB, free: 5.574 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001184/3.922, allocations: 223.9 kB / 0.9846 GB, free: 5.355 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01084/3.933, allocations: 4.549 MB / 0.989 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of sort global known variables: time 6.91e-07/3.933, allocations: 0 / 0.989 GB, free: 0.8164 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.02373/3.957, allocations: 4.104 MB / 0.993 GB, free: 12.71 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 64 (bellJar.cylinder.M,bellJar.damper.s_rel,bellJar.damper.v_rel,pipeSegments[1].p,pipeSegments[2].p,pipeSegments[3].p,pipeSegments[4].p,pipeSegments[5].p,pipeSegments[6].p,pipeSegments[7].p,pipeSegments[8].p,pipeSegments[9].p,pipeSegments[10].p,pipeSegments[11].p,pipeSegments[12].p,pipeSegments[13].p,pipeSegments[14].p,pipeSegments[15].p,pipeSegments[16].p,pipeSegments[17].p,pipeSegments[18].p,pipeSegments[19].p,pipeSegments[20].p,patients[1].compliance.p,patients[1].compliance.V,patients[2].compliance.p,patients[2].compliance.V,patients[3].compliance.p,patients[3].compliance.V,patients[4].compliance.p,patients[4].compliance.V,patients[5].compliance.p,patients[5].compliance.V,patients[6].compliance.p,patients[6].compliance.V,patients[7].compliance.p,patients[7].compliance.V,patients[8].compliance.p,patients[8].compliance.V,patients[9].compliance.p,patients[9].compliance.V,patients[10].compliance.p,patients[10].compliance.V,patients[11].compliance.p,patients[11].compliance.V,patients[12].compliance.p,patients[12].compliance.V,patients[13].compliance.p,patients[13].compliance.V,patients[14].compliance.p,patients[14].compliance.V,patients[15].compliance.p,patients[15].compliance.V,patients[16].compliance.p,patients[16].compliance.V,patients[17].compliance.p,patients[17].compliance.V,patients[18].compliance.p,patients[18].compliance.V,patients[19].compliance.p,patients[19].compliance.V,patients[20].compliance.p,patients[20].compliance.V,linearController.firstOrder.y) * Number of discrete variables: 43 ($whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,patientValveSequencer.generators[1].offTime,patientValveSequencer.generators[2].offTime,patientValveSequencer.generators[3].offTime,patientValveSequencer.generators[4].offTime,patientValveSequencer.generators[5].offTime,patientValveSequencer.generators[6].offTime,patientValveSequencer.generators[7].offTime,patientValveSequencer.generators[8].offTime,patientValveSequencer.generators[9].offTime,patientValveSequencer.generators[10].offTime,patientValveSequencer.generators[11].offTime,patientValveSequencer.generators[12].offTime,patientValveSequencer.generators[13].offTime,patientValveSequencer.generators[14].offTime,patientValveSequencer.generators[15].offTime,patientValveSequencer.generators[16].offTime,patientValveSequencer.generators[17].offTime,patientValveSequencer.generators[18].offTime,patientValveSequencer.generators[19].offTime,patientValveSequencer.generators[20].offTime,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (422): * Single equations (assignments): 380 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 20 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 20 {3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,3 22,1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.3887/4.346, allocations: 22.14 MB / 1.015 GB, free: 82.62 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.09231/4.438, allocations: 24.44 MB / 1.039 GB, free: 79.97 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 8.626e-06/4.438, allocations: 0 / 1.039 GB, free: 79.97 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02828/4.467, allocations: 7.605 MB / 1.046 GB, free: 79.77 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008714/4.475, allocations: 0.8996 MB / 1.047 GB, free: 79.73 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08399/4.559, allocations: 25.71 MB / 1.072 GB, free: 74.25 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009786/4.569, allocations: 6.418 MB / 1.078 GB, free: 73.18 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.0217/4.591, allocations: 4.579 MB / 1.083 GB, free: 72.55 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006924/4.598, allocations: 3.202 MB / 1.086 GB, free: 72.08 MB / 458.8 MB Notification: Performance of SimCode: time 1.382e-06/4.598, allocations: 0 / 1.086 GB, free: 72.08 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8945/5.493, allocations: 240.7 MB / 1.321 GB, free: 11.9 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003071/5.493, allocations: 156.9 kB / 1.321 GB, free: 11.67 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/20.88, allocations: 4 kB / 1.321 GB, free: 11.67 MB / 474.8 MB