Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario5,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 1.93/1.93, allocations: 207.6 MB / 219.8 MB, free: 8.039 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.914e-05/2.918e-05, allocations: 0 / 270.8 MB, free: 4.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1065, allocations: 48.06 MB / 318.9 MB, free: 4.215 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4356/0.5421, allocations: 82 MB / 400.9 MB, free: 1.348 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/0.5425, allocations: 76.84 kB / 400.9 MB, free: 1.312 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 0.4222/0.9647, allocations: 90.77 MB / 491.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.689e-06/0.9648, allocations: 4 kB / 491.7 MB, free: 13.8 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004657/0.9652, allocations: 95.98 kB / 491.8 MB, free: 13.7 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.02367/0.9889, allocations: 5.085 MB / 496.9 MB, free: 8.543 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.301e-05/0.989, allocations: 12.03 kB / 496.9 MB, free: 8.531 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002672/0.9917, allocations: 0.576 MB / 497.5 MB, free: 7.945 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00297/0.9947, allocations: 0.5327 MB / 498 MB, free: 7.406 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008744/1.003, allocations: 2.425 MB / 0.4887 GB, free: 4.914 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006535/1.004, allocations: 336.5 kB / 0.489 GB, free: 4.582 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002236/1.006, allocations: 439.9 kB / 0.4894 GB, free: 4.152 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02024/1.027, allocations: 5.284 MB / 0.4946 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002759/1.027, allocations: 0 / 0.4946 GB, free: 14.82 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00164/1.029, allocations: 172 kB / 0.4948 GB, free: 14.65 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001227/1.029, allocations: 104.4 kB / 0.4949 GB, free: 14.55 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01803/1.047, allocations: 5.185 MB / 0.4999 GB, free: 9.355 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.3607/1.408, allocations: 16.71 MB / 0.5163 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/1.425, allocations: 6.136 MB / 0.5222 GB, free: 85.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006855/1.432, allocations: 3.019 MB / 0.5252 GB, free: 85.53 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003934/1.432, allocations: 68.44 kB / 0.5253 GB, free: 85.52 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006264/1.439, allocations: 2.789 MB / 0.528 GB, free: 85.42 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 7.494e-06/1.439, allocations: 0 / 0.528 GB, free: 85.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08595/1.525, allocations: 19.3 MB / 0.5468 GB, free: 83.89 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/1.525, allocations: 114.2 kB / 0.5469 GB, free: 83.82 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006224/1.531, allocations: 3.096 MB / 0.55 GB, free: 83.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000936/1.532, allocations: 111.3 kB / 0.5501 GB, free: 83.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001703/1.534, allocations: 1.684 MB / 0.5517 GB, free: 83.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002085/1.536, allocations: 1.498 MB / 0.5532 GB, free: 82.36 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004125/1.536, allocations: 86.56 kB / 0.5533 GB, free: 82.36 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002662/1.537, allocations: 478.6 kB / 0.5537 GB, free: 82.05 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005176/1.542, allocations: 2.086 MB / 0.5558 GB, free: 82.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005979/1.548, allocations: 2.739 MB / 0.5584 GB, free: 81.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006382/1.554, allocations: 2.58 MB / 0.5609 GB, free: 81.34 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.56e-05/1.554, allocations: 3.688 kB / 0.5609 GB, free: 81.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.02117/1.575, allocations: 7.349 MB / 0.5681 GB, free: 79.19 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001459/1.577, allocations: 7.142 MB / 0.5751 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.253e-05/1.577, allocations: 20.12 kB / 0.5751 GB, free: 71.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04691/1.624, allocations: 6.046 MB / 0.581 GB, free: 70.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006152/1.63, allocations: 0.76 MB / 0.5818 GB, free: 70.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02127/1.651, allocations: 12.48 MB / 0.594 GB, free: 63.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006955/1.658, allocations: 400.7 kB / 0.5943 GB, free: 63.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001236/1.66, allocations: 155.5 kB / 0.5945 GB, free: 63.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/1.66, allocations: 6.906 kB / 0.5945 GB, free: 63.04 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02626/1.686, allocations: 7.928 MB / 0.6022 GB, free: 58.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-05/1.686, allocations: 16 kB / 0.6022 GB, free: 58.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01816/1.704, allocations: 3.651 MB / 0.6058 GB, free: 55.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006159/1.711, allocations: 0.7744 MB / 0.6066 GB, free: 54.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06644/1.777, allocations: 33.75 MB / 0.6395 GB, free: 24.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006064/1.783, allocations: 367.6 kB / 0.6399 GB, free: 23.87 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000713/1.784, allocations: 140 kB / 0.64 GB, free: 23.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 34 ($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.onOffControllerWithHysteresis.on,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (333): * Single equations (assignments): 322 * 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: 10 * 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: 10 {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.001236/1.785, allocations: 349.4 kB / 0.6403 GB, free: 23.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001035/1.786, allocations: 410.9 kB / 0.6407 GB, free: 22.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02158/1.808, allocations: 7.6 MB / 0.6482 GB, free: 15.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.494e-05/1.808, allocations: 44 kB / 0.6482 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.193e-05/1.808, allocations: 0 / 0.6482 GB, free: 15.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001218/1.808, allocations: 23.2 kB / 0.6482 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03544/1.843, allocations: 12.67 MB / 0.6606 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.224e-05/1.844, allocations: 2.438 kB / 0.6606 GB, free: 2.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006122/1.85, allocations: 0.6204 MB / 0.6612 GB, free: 1.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04466/1.894, allocations: 5.96 MB / 0.667 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001202/1.896, allocations: 111.9 kB / 0.6671 GB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3683/2.264, allocations: 12.22 MB / 0.6791 GB, free: 95.94 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/2.264, allocations: 1.094 kB / 0.6791 GB, free: 95.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03158/2.296, allocations: 10.84 MB / 0.6897 GB, free: 95.42 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004281/2.3, allocations: 1.121 MB / 0.6907 GB, free: 95.33 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/2.302, allocations: 100.3 kB / 0.6908 GB, free: 95.33 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006128/2.308, allocations: 341.4 kB / 0.6912 GB, free: 95.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001619/2.309, allocations: 362 kB / 0.6915 GB, free: 95.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004775/2.31, allocations: 123.5 kB / 0.6916 GB, free: 95.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.005898/2.316, allocations: 2.414 MB / 0.694 GB, free: 95.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.22e-07/2.316, allocations: 7.688 kB / 0.694 GB, free: 95.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01021/2.326, allocations: 2.132 MB / 0.6961 GB, free: 95.16 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 34 (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,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,linearController.firstOrder.y) * Number of discrete variables: 23 ($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,onOffControllerWithHysteresis.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (232): * Single equations (assignments): 210 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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: 10 {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.03042/2.357, allocations: 11.77 MB / 0.7076 GB, free: 93.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.04159/2.398, allocations: 12.18 MB / 0.7195 GB, free: 92.61 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/2.398, allocations: 3 kB / 0.7195 GB, free: 92.61 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01399/2.412, allocations: 3.747 MB / 0.7231 GB, free: 92.55 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004243/2.417, allocations: 487.5 kB / 0.7236 GB, free: 92.53 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03628/2.453, allocations: 13.18 MB / 0.7365 GB, free: 89.97 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004017/2.457, allocations: 3.625 MB / 0.74 GB, free: 89.11 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009814/2.467, allocations: 2.122 MB / 0.7421 GB, free: 88.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003195/2.47, allocations: 1.619 MB / 0.7436 GB, free: 88.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.674e-06/2.47, allocations: 3.938 kB / 0.7437 GB, free: 88.96 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5828/3.053, allocations: 123.9 MB / 0.8647 GB, free: 85.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/3.053, allocations: 159.8 kB / 0.8648 GB, free: 85.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/11.42, allocations: 0 / 0.8648 GB, free: 85.16 MB / 442.7 MB