Running command: "" <> buildModelFMU(MEV.Simulations.LinearControl.Scenario8,fileNamePrefix="MEV_MEV_Simulations_LinearControl_Scenario8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.998/1.998, allocations: 207.6 MB / 219.8 MB, free: 8.043 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.585e-05, allocations: 0 / 270.8 MB, free: 4.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1059, allocations: 48.05 MB / 318.9 MB, free: 4.23 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4066/0.5125, allocations: 81.97 MB / 400.8 MB, free: 1.359 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002416/0.5128, allocations: 78.95 kB / 400.9 MB, free: 1.32 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.046/1.559, allocations: 173 MB / 0.5605 GB, free: 74.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.559, allocations: 0 / 0.5605 GB, free: 74.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007059/1.56, allocations: 179.4 kB / 0.5606 GB, free: 74.11 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.0426/1.603, allocations: 9.893 MB / 0.5703 GB, free: 70.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/1.603, allocations: 10.34 kB / 0.5703 GB, free: 70.54 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004554/1.607, allocations: 1.09 MB / 0.5714 GB, free: 70.45 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00524/1.613, allocations: 1.016 MB / 0.5724 GB, free: 69.93 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01494/1.628, allocations: 4.494 MB / 0.5768 GB, free: 68.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009703/1.629, allocations: 0.6244 MB / 0.5774 GB, free: 68.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003979/1.633, allocations: 0.8202 MB / 0.5782 GB, free: 68.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03567/1.668, allocations: 10.26 MB / 0.5882 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004987/1.669, allocations: 3.906 kB / 0.5882 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003009/1.672, allocations: 326.7 kB / 0.5885 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/1.672, allocations: 197 kB / 0.5887 GB, free: 68.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03185/1.704, allocations: 10.17 MB / 0.5986 GB, free: 66.49 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.1088/1.813, allocations: 32.36 MB / 0.6302 GB, free: 40.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0336/1.847, allocations: 12.36 MB / 0.6423 GB, free: 28.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01486/1.861, allocations: 5.992 MB / 0.6481 GB, free: 22.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/1.863, allocations: 118.3 kB / 0.6483 GB, free: 22.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01537/1.878, allocations: 5.446 MB / 0.6536 GB, free: 16.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=810): time 1.426e-05/1.878, allocations: 0 / 0.6536 GB, free: 16.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=855): time 0.8595/2.738, allocations: 42.05 MB / 0.6946 GB, free: 64.22 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001523/2.738, allocations: 165.2 kB / 0.6948 GB, free: 64.15 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01473/2.753, allocations: 5.837 MB / 0.7005 GB, free: 63.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001911/2.755, allocations: 189 kB / 0.7007 GB, free: 63.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004219/2.759, allocations: 3.177 MB / 0.7038 GB, free: 63.04 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004439/2.763, allocations: 2.878 MB / 0.7066 GB, free: 61.22 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001722/2.765, allocations: 164.8 kB / 0.7068 GB, free: 61.22 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0007423/2.766, allocations: 0.6331 MB / 0.7074 GB, free: 60.9 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01158/2.777, allocations: 4.081 MB / 0.7114 GB, free: 60.88 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/2.79, allocations: 5.354 MB / 0.7166 GB, free: 59.65 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01363/2.804, allocations: 5.043 MB / 0.7215 GB, free: 59.55 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.031e-05/2.804, allocations: 11.66 kB / 0.7215 GB, free: 59.55 MB / 426.8 MB Notification: Performance of matching and sorting (n=1048) (initialization): time 0.04624/2.85, allocations: 14.49 MB / 0.7357 GB, free: 57.27 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.003023/2.853, allocations: 15.66 MB / 0.751 GB, free: 41.13 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001305/2.854, allocations: 37.75 kB / 0.751 GB, free: 41.13 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.09707/2.951, allocations: 12.75 MB / 0.7635 GB, free: 39.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01109/2.962, allocations: 1.382 MB / 0.7648 GB, free: 39.46 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04458/3.006, allocations: 24.68 MB / 0.7889 GB, free: 23.5 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/3.021, allocations: 0.8116 MB / 0.7897 GB, free: 22.93 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/3.023, allocations: 307.5 kB / 0.79 GB, free: 22.64 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/3.023, allocations: 4 kB / 0.79 GB, free: 22.64 MB / 426.8 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05891/3.082, allocations: 15.92 MB / 0.8055 GB, free: 10.1 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001526/3.082, allocations: 32 kB / 0.8056 GB, free: 10.07 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04391/3.126, allocations: 7.676 MB / 0.8131 GB, free: 4.582 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01173/3.138, allocations: 1.471 MB / 0.8145 GB, free: 3.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4616/3.599, allocations: 68.68 MB / 0.8816 GB, free: 56.7 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01263/3.612, allocations: 0.7495 MB / 0.8823 GB, free: 56.7 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002096/3.614, allocations: 273.6 kB / 0.8826 GB, free: 56.7 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.004137/3.618, allocations: 0.5581 MB / 0.8831 GB, free: 56.57 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003657/3.622, allocations: 0.7527 MB / 0.8839 GB, free: 56.57 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04746/3.67, allocations: 14.81 MB / 0.8983 GB, free: 56 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.543e-05/3.67, allocations: 85.16 kB / 0.8984 GB, free: 56 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-05/3.67, allocations: 0 / 0.8984 GB, free: 56 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002773/3.67, allocations: 45.5 kB / 0.8984 GB, free: 56 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07863/3.749, allocations: 24.73 MB / 0.9226 GB, free: 50.48 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001166/3.749, allocations: 2.906 kB / 0.9226 GB, free: 50.48 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01076/3.76, allocations: 1.109 MB / 0.9237 GB, free: 50.42 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.08888/3.849, allocations: 12.53 MB / 0.9359 GB, free: 48.79 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00217/3.851, allocations: 217.1 kB / 0.9361 GB, free: 48.67 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04063/3.891, allocations: 24.23 MB / 0.9598 GB, free: 28.26 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/3.892, allocations: 11.56 kB / 0.9598 GB, free: 28.25 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05967/3.951, allocations: 21.11 MB / 0.9804 GB, free: 9.613 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008714/3.96, allocations: 2.082 MB / 0.9825 GB, free: 7.508 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004064/3.964, allocations: 184 kB / 0.9826 GB, free: 7.328 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0125/3.977, allocations: 0.7062 MB / 0.9833 GB, free: 6.621 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003576/3.98, allocations: 0.8297 MB / 0.9841 GB, free: 5.789 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001687/3.982, allocations: 231.9 kB / 0.9844 GB, free: 5.562 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.0112/3.993, allocations: 4.538 MB / 0.9888 GB, free: 1.035 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.263e-06/3.993, allocations: 0 / 0.9888 GB, free: 1.035 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.02386/4.017, allocations: 4.1 MB / 0.9928 GB, free: 12.94 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.3917/4.409, allocations: 22.15 MB / 1.014 GB, free: 82.77 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.08454/4.494, allocations: 24.43 MB / 1.038 GB, free: 80.11 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.078e-05/4.494, allocations: 0 / 1.038 GB, free: 80.11 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02927/4.523, allocations: 7.606 MB / 1.046 GB, free: 79.91 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009871/4.533, allocations: 0.9056 MB / 1.047 GB, free: 79.86 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08228/4.615, allocations: 25.7 MB / 1.072 GB, free: 74.4 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01043/4.626, allocations: 6.422 MB / 1.078 GB, free: 73.33 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.02278/4.648, allocations: 4.575 MB / 1.082 GB, free: 72.7 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007073/4.656, allocations: 3.204 MB / 1.086 GB, free: 72.25 MB / 458.8 MB Notification: Performance of SimCode: time 2.204e-06/4.656, allocations: 0 / 1.086 GB, free: 72.25 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8399/5.495, allocations: 240.7 MB / 1.321 GB, free: 11.87 MB / 474.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/5.496, allocations: 158 kB / 1.321 GB, free: 11.64 MB / 474.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.95/20.44, allocations: 0 / 1.321 GB, free: 11.64 MB / 474.8 MB