Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Simulations.LinearControl.Scenario3.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.Scenario3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.LinearControl.Scenario3") translateModel(MEV.Simulations.LinearControl.Scenario3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=6000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.LinearControl.Scenario3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 112.4 kB / 16.42 MB, free: 6.504 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.001186/0.001186, allocations: 190.6 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.186/1.186, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.00811/0.00811, allocations: 1.932 MB / 272.5 MB, free: 10.07 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.001341/0.001341, allocations: 66.58 kB / 378.9 MB, free: 51.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06176/0.06311, allocations: 47.13 MB / 426.1 MB, free: 19.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Simulations.LinearControl.Scenario3): time 0.004502/0.06764, allocations: 6.23 MB / 432.3 MB, free: 13.66 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.06938, allocations: 1.466 MB / 433.8 MB, free: 12.19 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002561/0.06965, allocations: 12 kB / 433.8 MB, free: 12.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.06992, allocations: 150.5 kB / 433.9 MB, free: 12.03 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004388/0.07036, allocations: 337 kB / 434.3 MB, free: 11.7 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00049/0.07086, allocations: 335.5 kB / 434.6 MB, free: 11.37 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003615/0.07448, allocations: 7.668 MB / 442.3 MB, free: 3.672 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001754/0.07625, allocations: 2.436 MB / 444.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002645/0.0789, allocations: 2.917 MB / 447.6 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003656/0.08257, allocations: 3.171 MB / 450.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009615/0.08354, allocations: 0.625 MB / 451.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001272/0.08482, allocations: 0.6757 MB / 452.1 MB, free: 9.758 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001016/0.08585, allocations: 1.417 MB / 453.5 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00321/0.08906, allocations: 3.166 MB / 456.7 MB, free: 5.156 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006086/0.09516, allocations: 7.49 MB / 464.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.09518, allocations: 0 / 464.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.09519, allocations: 0 / 464.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001581/0.09535, allocations: 0 / 464.2 MB, free: 13.64 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.01489/0.1102, allocations: 7.166 MB / 471.3 MB, free: 6.383 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.1103, allocations: 19.83 kB / 471.3 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008909/0.1112, allocations: 0.5684 MB / 471.9 MB, free: 5.789 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003726/0.1149, allocations: 2.636 MB / 474.5 MB, free: 3.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004404/0.1154, allocations: 0.6357 MB / 475.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007178/0.1161, allocations: 479.7 kB / 475.6 MB, free: 1.914 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009142/0.1253, allocations: 5.974 MB / 481.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.521e-05/0.1253, allocations: 0 / 481.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004145/0.1258, allocations: 180 kB / 481.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.1258, allocations: 104 kB / 481.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008837/0.1347, allocations: 5.873 MB / 487.8 MB, free: 5.719 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.02667/0.1614, allocations: 17.17 MB / 0.4931 GB, free: 4.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009548/0.1709, allocations: 6.836 MB / 0.4998 GB, free: 13.62 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004481/0.1754, allocations: 3.337 MB / 0.503 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002009/0.1757, allocations: 71.61 kB / 0.5031 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004605/0.1803, allocations: 3.332 MB / 0.5064 GB, free: 6.852 MB / 398.1 MB Notification: Performance of pre-optimization done (n=478): time 6.703e-06/0.1803, allocations: 0 / 0.5064 GB, free: 6.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=503): time 0.2455/0.4258, allocations: 35.59 MB / 0.5411 GB, free: 94.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.668e-05/0.4259, allocations: 142.8 kB / 0.5413 GB, free: 94.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003522/0.4294, allocations: 3.711 MB / 0.5449 GB, free: 93.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00054/0.43, allocations: 158.5 kB / 0.545 GB, free: 93.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009012/0.4309, allocations: 1.645 MB / 0.5466 GB, free: 91.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009551/0.4318, allocations: 1.653 MB / 0.5482 GB, free: 90.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001045/0.4329, allocations: 0.9136 MB / 0.5491 GB, free: 89.96 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.301e-05/0.4329, allocations: 308.9 kB / 0.5494 GB, free: 89.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003456/0.4364, allocations: 2.777 MB / 0.5521 GB, free: 87.83 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003696/0.4401, allocations: 3.455 MB / 0.5555 GB, free: 84.18 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007131/0.4472, allocations: 6.392 MB / 0.5618 GB, free: 77.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.28e-05/0.4473, allocations: 4 kB / 0.5618 GB, free: 77.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.01148/0.4588, allocations: 8.898 MB / 0.5705 GB, free: 68.55 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.678e-05/0.4588, allocations: 15.94 kB / 0.5705 GB, free: 68.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.501e-05/0.4588, allocations: 16 kB / 0.5705 GB, free: 68.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02794/0.4868, allocations: 7.134 MB / 0.5775 GB, free: 61.37 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.4902, allocations: 0.8464 MB / 0.5783 GB, free: 60.52 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01061/0.5008, allocations: 12.45 MB / 0.5904 GB, free: 47.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00371/0.5046, allocations: 447.5 kB / 0.5909 GB, free: 47.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003965/0.505, allocations: 172 kB / 0.591 GB, free: 47.18 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00488/0.5098, allocations: 3.921 MB / 0.5949 GB, free: 43.24 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003313/0.5132, allocations: 3.206 MB / 0.598 GB, free: 39.82 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006421/0.5196, allocations: 5.882 MB / 0.6037 GB, free: 33.66 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.166e-05/0.5196, allocations: 4 kB / 0.6037 GB, free: 33.66 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.01434/0.534, allocations: 9.404 MB / 0.6129 GB, free: 24.13 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.534, allocations: 12 kB / 0.6129 GB, free: 24.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.534, allocations: 16 kB / 0.613 GB, free: 24.11 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008579/0.5426, allocations: 3.743 MB / 0.6166 GB, free: 20.33 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003012/0.5457, allocations: 0.8619 MB / 0.6174 GB, free: 19.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0406/0.5863, allocations: 36.8 MB / 0.6534 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003894/0.5902, allocations: 431.3 kB / 0.6538 GB, free: 12.92 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000479/0.5907, allocations: 160 kB / 0.6539 GB, free: 12.77 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.001032/0.5917, allocations: 499.7 kB / 0.6544 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007743/0.5925, allocations: 450.5 kB / 0.6549 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01468/0.6072, allocations: 8.42 MB / 0.6631 GB, free: 3.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.66e-05/0.6073, allocations: 27.89 kB / 0.6631 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/0.6073, allocations: 0 / 0.6631 GB, free: 3.242 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002493/0.6098, allocations: 1.26 MB / 0.6643 GB, free: 1.957 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000739/0.6105, allocations: 155.9 kB / 0.6645 GB, free: 1.805 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002564/0.6131, allocations: 375.5 kB / 0.6648 GB, free: 1.438 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001135/0.6142, allocations: 0.6554 MB / 0.6655 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02369/0.6379, allocations: 11.12 MB / 0.6763 GB, free: 5.633 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01464/0.6526, allocations: 10.53 MB / 0.6866 GB, free: 10.95 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004292/0.6569, allocations: 3.163 MB / 0.6897 GB, free: 7.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003432/0.6604, allocations: 2.583 MB / 0.6922 GB, free: 5.184 MB / 478.1 MB Notification: Performance of Backend: time 4.61e-07/0.6604, allocations: 0 / 0.6922 GB, free: 5.184 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02367/0.6841, allocations: 11.92 MB / 0.7039 GB, free: 9.105 MB / 494.1 MB Notification: Performance of SimCode: time 0.1659/0.85, allocations: 14.1 MB / 0.7176 GB, free: 160 MB / 494.1 MB Notification: Performance of Templates: time 0.115/0.9651, allocations: 110.2 MB / 0.8252 GB, free: 69.57 MB / 494.1 MB make -j1 -f MEV_MEV.Simulations.LinearControl.Scenario3.makefile (rm -f MEV_MEV.Simulations.LinearControl.Scenario3.pipe ; mkfifo MEV_MEV.Simulations.LinearControl.Scenario3.pipe ; head -c 1048576 < MEV_MEV.Simulations.LinearControl.Scenario3.pipe >> ../files/MEV_MEV.Simulations.LinearControl.Scenario3.sim & ./MEV_MEV.Simulations.LinearControl.Scenario3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Simulations.LinearControl.Scenario3.pipe 2>&1)