Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Simulations.LinearControl.Scenario5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(MEV.Simulations.LinearControl.Scenario5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.LinearControl.Scenario5") translateModel(MEV.Simulations.LinearControl.Scenario5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.LinearControl.Scenario5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 107.4 kB / 16.41 MB, free: 6.453 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001287, allocations: 192.3 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.206/1.206, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008136/0.008136, allocations: 1.932 MB / 272.5 MB, free: 10.09 MB / 222.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.95 kB / 378.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06139/0.06274, allocations: 47.14 MB / 426.1 MB, free: 19.96 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Simulations.LinearControl.Scenario5): time 0.004736/0.0675, allocations: 6.231 MB / 432.3 MB, free: 13.7 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002189/0.06972, allocations: 1.466 MB / 433.8 MB, free: 12.22 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005447/0.07028, allocations: 19.94 kB / 433.8 MB, free: 12.2 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.07067, allocations: 142.6 kB / 433.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006401/0.07132, allocations: 329 kB / 434.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.07193, allocations: 327.5 kB / 434.6 MB, free: 11.42 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003677/0.07561, allocations: 7.602 MB / 442.2 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001785/0.07741, allocations: 2.433 MB / 444.6 MB, free: 1.285 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/0.08003, allocations: 2.901 MB / 447.5 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003579/0.08362, allocations: 3.101 MB / 450.6 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001057/0.08469, allocations: 0.625 MB / 451.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.08609, allocations: 0.6757 MB / 451.9 MB, free: 9.961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.08714, allocations: 1.421 MB / 453.3 MB, free: 8.535 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003359/0.09051, allocations: 3.158 MB / 456.5 MB, free: 5.363 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006489/0.09701, allocations: 7.49 MB / 464 MB, free: 13.85 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.09704, allocations: 4 kB / 464 MB, free: 13.85 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.09705, allocations: 0 / 464 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001604/0.09722, allocations: 4 kB / 464 MB, free: 13.84 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1114 * Number of variables: 1114 Notification: Performance of Generate backend data structure: time 0.01504/0.1123, allocations: 7.167 MB / 471.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1123, allocations: 15.89 kB / 471.2 MB, free: 6.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008886/0.1132, allocations: 0.5723 MB / 471.7 MB, free: 5.988 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003661/0.1169, allocations: 2.633 MB / 474.4 MB, free: 3.289 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004337/0.1173, allocations: 0.6317 MB / 475 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007014/0.118, allocations: 487.7 kB / 475.5 MB, free: 2.113 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/0.1269, allocations: 5.97 MB / 481.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.444e-05/0.1269, allocations: 3.938 kB / 481.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000404/0.1274, allocations: 184 kB / 481.6 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.3e-05/0.1274, allocations: 104 kB / 481.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008987/0.1364, allocations: 5.869 MB / 487.6 MB, free: 5.918 MB / 366.1 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.0274/0.1638, allocations: 17.17 MB / 0.4929 GB, free: 4.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009649/0.1735, allocations: 6.84 MB / 0.4996 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004555/0.1781, allocations: 3.326 MB / 0.5029 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001998/0.1783, allocations: 75.45 kB / 0.5029 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004702/0.183, allocations: 3.339 MB / 0.5062 GB, free: 7.047 MB / 398.1 MB Notification: Performance of pre-optimization done (n=478): time 6.653e-06/0.183, allocations: 0 / 0.5062 GB, free: 7.047 MB / 398.1 MB Notification: Performance of matching and sorting (n=503): time 0.2512/0.4343, allocations: 35.6 MB / 0.541 GB, free: 94.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.49e-05/0.4343, allocations: 138.1 kB / 0.5411 GB, free: 94.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003612/0.438, allocations: 3.711 MB / 0.5447 GB, free: 93.16 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004854/0.4385, allocations: 147.4 kB / 0.5449 GB, free: 93.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000934/0.4394, allocations: 1.646 MB / 0.5465 GB, free: 91.8 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009078/0.4403, allocations: 1.665 MB / 0.5481 GB, free: 90.5 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/0.4413, allocations: 0.9115 MB / 0.549 GB, free: 90 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.245e-05/0.4414, allocations: 305.1 kB / 0.5493 GB, free: 89.7 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003412/0.4448, allocations: 2.779 MB / 0.552 GB, free: 88.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003591/0.4484, allocations: 3.456 MB / 0.5554 GB, free: 84.39 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006935/0.4553, allocations: 6.384 MB / 0.5616 GB, free: 77.78 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.4554, allocations: 8.766 kB / 0.5616 GB, free: 77.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01133/0.4667, allocations: 8.9 MB / 0.5703 GB, free: 68.76 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/0.4667, allocations: 16.88 kB / 0.5703 GB, free: 68.74 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.101e-05/0.4668, allocations: 12 kB / 0.5703 GB, free: 68.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02867/0.4954, allocations: 7.129 MB / 0.5773 GB, free: 61.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003375/0.4988, allocations: 0.8541 MB / 0.5781 GB, free: 60.71 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01087/0.5097, allocations: 12.45 MB / 0.5903 GB, free: 47.98 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003909/0.5137, allocations: 454.2 kB / 0.5907 GB, free: 47.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006295/0.5143, allocations: 176 kB / 0.5909 GB, free: 47.37 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005563/0.5199, allocations: 3.913 MB / 0.5947 GB, free: 43.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003739/0.5236, allocations: 3.202 MB / 0.5978 GB, free: 40.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007066/0.5307, allocations: 5.894 MB / 0.6036 GB, free: 33.85 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-05/0.5307, allocations: 4 kB / 0.6036 GB, free: 33.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.0158/0.5466, allocations: 9.399 MB / 0.6128 GB, free: 24.32 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.5466, allocations: 12 kB / 0.6128 GB, free: 24.31 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.5466, allocations: 12 kB / 0.6128 GB, free: 24.3 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009169/0.5558, allocations: 3.743 MB / 0.6164 GB, free: 20.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003307/0.5591, allocations: 0.8581 MB / 0.6173 GB, free: 19.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04089/0.6, allocations: 36.8 MB / 0.6532 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003979/0.604, allocations: 431.4 kB / 0.6536 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006705/0.6047, allocations: 160 kB / 0.6538 GB, free: 12.97 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 94 (linearController.useOnOffControl.y,patientControllers[10].active,$PRE.patientControllers[10].active,patientControllers[10].t_off,$PRE.patientControllers[10].t_off,patientControllers[10].t_on,$PRE.patientControllers[10].t_on,patientControllers[9].active,$PRE.patientControllers[9].active,patientControllers[9].t_off,$PRE.patientControllers[9].t_off,patientControllers[9].t_on,$PRE.patientControllers[9].t_on,patientControllers[8].active,$PRE.patientControllers[8].active,patientControllers[8].t_off,$PRE.patientControllers[8].t_off,patientControllers[8].t_on,$PRE.patientControllers[8].t_on,patientControllers[7].active,$PRE.patientControllers[7].active,patientControllers[7].t_off,$PRE.patientControllers[7].t_off,patientControllers[7].t_on,$PRE.patientControllers[7].t_on,patientControllers[6].active,$PRE.patientControllers[6].active,patientControllers[6].t_off,$PRE.patientControllers[6].t_off,patientControllers[6].t_on,$PRE.patientControllers[6].t_on,patientControllers[5].active,$PRE.patientControllers[5].active,patientControllers[5].t_off,$PRE.patientControllers[5].t_off,patientControllers[5].t_on,$PRE.patientControllers[5].t_on,patientControllers[4].active,$PRE.patientControllers[4].active,patientControllers[4].t_off,$PRE.patientControllers[4].t_off,patientControllers[4].t_on,$PRE.patientControllers[4].t_on,patientControllers[3].active,$PRE.patientControllers[3].active,patientControllers[3].t_off,$PRE.patientControllers[3].t_off,patientControllers[3].t_on,$PRE.patientControllers[3].t_on,patientControllers[2].active,$PRE.patientControllers[2].active,patientControllers[2].t_off,$PRE.patientControllers[2].t_off,patientControllers[2].t_on,$PRE.patientControllers[2].t_on,patientControllers[1].active,$PRE.patientControllers[1].active,patientControllers[1].t_off,$PRE.patientControllers[1].t_off,patientControllers[1].t_on,$PRE.patientControllers[1].t_on,onOffControllerWithHysteresis.on,$PRE.onOffControllerWithHysteresis.on,$whenCondition1,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition6,$whenCondition5,$whenCondition7,$whenCondition9,$whenCondition8,$whenCondition10,$whenCondition12,$whenCondition11,$whenCondition13,$whenCondition15,$whenCondition14,$whenCondition16,$whenCondition18,$whenCondition17,$whenCondition19,$whenCondition21,$whenCondition20,$whenCondition22,$whenCondition24,$whenCondition23,$whenCondition25,$whenCondition27,$whenCondition26,$whenCondition28,$whenCondition30,$whenCondition29,$whenCondition31) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (422): * Single equations (assignments): 411 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 10 systems {(3,20), (3,20), (3,20), (3,20), (3,20), (3,20), (3,20), (3,20), (3,20), (1,17)} Notification: Performance of prepare postOptimizeDAE: time 0.001358/0.6061, allocations: 498 kB / 0.6543 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009916/0.6071, allocations: 450.5 kB / 0.6547 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01537/0.6225, allocations: 8.425 MB / 0.6629 GB, free: 3.473 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.919e-05/0.6226, allocations: 27.89 kB / 0.6629 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.6226, allocations: 4 kB / 0.6629 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002664/0.6252, allocations: 1.268 MB / 0.6642 GB, free: 2.148 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001006/0.6263, allocations: 151.9 kB / 0.6643 GB, free: 2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002917/0.6292, allocations: 371.5 kB / 0.6647 GB, free: 1.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001213/0.6304, allocations: 0.6554 MB / 0.6653 GB, free: 0.9766 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02503/0.6554, allocations: 11.12 MB / 0.6762 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01561/0.6711, allocations: 10.52 MB / 0.6865 GB, free: 11.15 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004508/0.6756, allocations: 3.171 MB / 0.6895 GB, free: 7.949 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003838/0.6795, allocations: 2.575 MB / 0.6921 GB, free: 5.391 MB / 478.1 MB Notification: Performance of Backend: time 5.41e-07/0.6795, allocations: 3.938 kB / 0.6921 GB, free: 5.387 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02501/0.7045, allocations: 11.93 MB / 0.7037 GB, free: 9.305 MB / 494.1 MB Notification: Performance of SimCode: time 0.1634/0.8679, allocations: 14.09 MB / 0.7175 GB, free: 159.9 MB / 494.1 MB Notification: Performance of Templates: time 0.1145/0.9825, allocations: 110.2 MB / 0.8251 GB, free: 69.6 MB / 494.1 MB make -j1 -f MEV_MEV.Simulations.LinearControl.Scenario5.makefile (rm -f MEV_MEV.Simulations.LinearControl.Scenario5.pipe ; mkfifo MEV_MEV.Simulations.LinearControl.Scenario5.pipe ; head -c 1048576 < MEV_MEV.Simulations.LinearControl.Scenario5.pipe >> ../files/MEV_MEV.Simulations.LinearControl.Scenario5.sim & ./MEV_MEV.Simulations.LinearControl.Scenario5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Simulations.LinearControl.Scenario5.pipe 2>&1)