Running command: "" <> buildModelFMU(MEV.Simulations.OnOffControl.Scenario4,fileNamePrefix="MEV_MEV_Simulations_OnOffControl_Scenario4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(MEV): time 2.015/2.015, allocations: 207.6 MB / 219.7 MB, free: 8.047 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/3.005e-05, allocations: 4 kB / 270.8 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0998/0.09986, allocations: 48.05 MB / 318.9 MB, free: 4.223 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4103/0.5102, allocations: 82.01 MB / 400.9 MB, free: 1.312 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002758/0.5105, allocations: 78.45 kB / 400.9 MB, free: 1.273 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.9304/1.441, allocations: 147.3 MB / 0.5353 GB, free: 108.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.555e-06/1.441, allocations: 0 / 0.5353 GB, free: 108.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004805/1.442, allocations: 96.31 kB / 0.5354 GB, free: 108.9 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: 1084 * Number of variables: 1084 Notification: Performance of Generate backend data structure: time 0.02466/1.466, allocations: 5.084 MB / 0.5404 GB, free: 107.1 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/1.466, allocations: 12.2 kB / 0.5404 GB, free: 107.1 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002112/1.468, allocations: 0.5857 MB / 0.541 GB, free: 107 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00199/1.47, allocations: 0.5357 MB / 0.5415 GB, free: 106.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00755/1.478, allocations: 2.418 MB / 0.5439 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004499/1.479, allocations: 332.5 kB / 0.5442 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001741/1.48, allocations: 439.1 kB / 0.5446 GB, free: 106 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0155/1.496, allocations: 5.284 MB / 0.5498 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001294/1.496, allocations: 4 kB / 0.5498 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007185/1.497, allocations: 169.1 kB / 0.5499 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-05/1.497, allocations: 103.2 kB / 0.55 GB, free: 105.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01554/1.512, allocations: 5.186 MB / 0.5551 GB, free: 105.8 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.05361/1.566, allocations: 16.72 MB / 0.5714 GB, free: 100.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01638/1.582, allocations: 6.135 MB / 0.5774 GB, free: 97.24 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007208/1.59, allocations: 3.007 MB / 0.5803 GB, free: 94.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004766/1.59, allocations: 66.14 kB / 0.5804 GB, free: 94.58 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007283/1.598, allocations: 2.797 MB / 0.5831 GB, free: 92.25 MB / 426.7 MB Notification: Performance of pre-optimization done (n=420): time 9.638e-06/1.598, allocations: 0 / 0.5831 GB, free: 92.25 MB / 426.7 MB Notification: Performance of matching and sorting (n=445): time 0.08519/1.683, allocations: 19.29 MB / 0.602 GB, free: 72.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.639e-05/1.683, allocations: 118.8 kB / 0.6021 GB, free: 72.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006807/1.69, allocations: 3.097 MB / 0.6051 GB, free: 69.69 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/1.691, allocations: 113.7 kB / 0.6052 GB, free: 69.57 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001892/1.693, allocations: 1.678 MB / 0.6069 GB, free: 67.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002137/1.695, allocations: 1.496 MB / 0.6083 GB, free: 66.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004883/1.696, allocations: 88 kB / 0.6084 GB, free: 66.31 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003271/1.696, allocations: 487.1 kB / 0.6089 GB, free: 65.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/1.702, allocations: 2.085 MB / 0.6109 GB, free: 63.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009777/1.711, allocations: 2.738 MB / 0.6136 GB, free: 60.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009604/1.721, allocations: 2.58 MB / 0.6161 GB, free: 58.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.964e-05/1.721, allocations: 4 kB / 0.6161 GB, free: 58.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=548) (initialization): time 0.0214/1.743, allocations: 7.346 MB / 0.6233 GB, free: 50.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001455/1.744, allocations: 7.146 MB / 0.6303 GB, free: 42.94 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.098e-05/1.744, allocations: 16 kB / 0.6303 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04531/1.79, allocations: 6.052 MB / 0.6362 GB, free: 36.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006119/1.796, allocations: 0.7645 MB / 0.6369 GB, free: 36.08 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0209/1.817, allocations: 12.47 MB / 0.6491 GB, free: 23.32 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006739/1.823, allocations: 403.5 kB / 0.6495 GB, free: 22.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001005/1.824, allocations: 160 kB / 0.6497 GB, free: 22.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/1.824, allocations: 7.953 kB / 0.6497 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02625/1.851, allocations: 7.927 MB / 0.6574 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.777e-05/1.851, allocations: 19.94 kB / 0.6574 GB, free: 14.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01786/1.869, allocations: 3.647 MB / 0.661 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00628/1.875, allocations: 0.7801 MB / 0.6617 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3645/2.24, allocations: 33.73 MB / 0.6947 GB, free: 94.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006049/2.246, allocations: 368.7 kB / 0.695 GB, free: 94.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009688/2.247, allocations: 147.5 kB / 0.6952 GB, free: 94.17 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.001277/2.248, allocations: 348.6 kB / 0.6955 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001118/2.249, allocations: 413.7 kB / 0.6959 GB, free: 94.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02247/2.272, allocations: 7.589 MB / 0.7033 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/2.272, allocations: 44.66 kB / 0.7034 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-05/2.272, allocations: 7.641 kB / 0.7034 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001216/2.272, allocations: 22.83 kB / 0.7034 GB, free: 93.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/2.308, allocations: 12.67 MB / 0.7158 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.52e-05/2.308, allocations: 0 / 0.7158 GB, free: 92.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005947/2.314, allocations: 0.6196 MB / 0.7164 GB, free: 92.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04148/2.355, allocations: 5.948 MB / 0.7222 GB, free: 91.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/2.357, allocations: 117.9 kB / 0.7223 GB, free: 91.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01977/2.376, allocations: 12.22 MB / 0.7342 GB, free: 84.33 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/2.376, allocations: 7.109 kB / 0.7342 GB, free: 84.33 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02796/2.404, allocations: 10.83 MB / 0.7448 GB, free: 78.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004143/2.409, allocations: 1.119 MB / 0.7459 GB, free: 77.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0018/2.411, allocations: 105.4 kB / 0.746 GB, free: 77.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007068/2.418, allocations: 345.7 kB / 0.7463 GB, free: 77.39 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002034/2.42, allocations: 369.2 kB / 0.7467 GB, free: 77.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008183/2.421, allocations: 115.1 kB / 0.7468 GB, free: 77.09 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008034/2.429, allocations: 2.414 MB / 0.7491 GB, free: 75.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.142e-06/2.429, allocations: 3.469 kB / 0.7491 GB, free: 75.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01421/2.443, allocations: 2.136 MB / 0.7512 GB, free: 72.88 MB / 426.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.0401/2.483, allocations: 11.78 MB / 0.7627 GB, free: 62.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.04419/2.527, allocations: 12.18 MB / 0.7746 GB, free: 51.37 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/2.527, allocations: 0 / 0.7746 GB, free: 51.37 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01388/2.541, allocations: 3.745 MB / 0.7783 GB, free: 47.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004431/2.546, allocations: 489 kB / 0.7788 GB, free: 47.21 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04083/2.587, allocations: 13.17 MB / 0.7916 GB, free: 34.27 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00859/2.595, allocations: 3.634 MB / 0.7952 GB, free: 30.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.01514/2.61, allocations: 2.116 MB / 0.7972 GB, free: 28.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005143/2.616, allocations: 1.62 MB / 0.7988 GB, free: 26.91 MB / 426.7 MB Notification: Performance of SimCode: time 1.624e-06/2.616, allocations: 0 / 0.7988 GB, free: 26.91 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5938/3.21, allocations: 123.9 MB / 0.9198 GB, free: 76.58 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002576/3.21, allocations: 156.8 kB / 0.92 GB, free: 76.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.307/11.52, allocations: 0 / 0.92 GB, free: 76.35 MB / 442.7 MB