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.001284/0.001284, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001335/0.001335, allocations: 189.4 kB / 17.35 MB, free: 5.711 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.247/1.247, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009237/0.009237, allocations: 1.943 MB / 272.5 MB, free: 10.04 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.001589/0.001589, allocations: 69.53 kB / 379 MB, free: 51.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06709/0.06869, allocations: 47.13 MB / 426.1 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Simulations.LinearControl.Scenario3): time 0.005116/0.07383, allocations: 6.234 MB / 432.3 MB, free: 13.62 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002305/0.07616, allocations: 1.485 MB / 433.8 MB, free: 12.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004313/0.07661, allocations: 12 kB / 433.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.07691, allocations: 146.5 kB / 434 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005103/0.07743, allocations: 349.1 kB / 434.3 MB, free: 11.63 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.07797, allocations: 335.4 kB / 434.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003664/0.08164, allocations: 7.672 MB / 442.3 MB, free: 3.598 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.08344, allocations: 2.429 MB / 444.7 MB, free: 1.102 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.08597, allocations: 2.925 MB / 447.6 MB, free: 14.17 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003357/0.08934, allocations: 3.167 MB / 450.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009193/0.09027, allocations: 0.625 MB / 451.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.09154, allocations: 0.6679 MB / 452.1 MB, free: 9.695 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.09271, allocations: 1.417 MB / 453.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003937/0.09666, allocations: 3.166 MB / 456.7 MB, free: 5.094 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006643/0.1033, allocations: 7.525 MB / 464.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1033, allocations: 0 / 464.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1033, allocations: 0 / 464.2 MB, free: 13.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001097/0.1035, allocations: 0 / 464.2 MB, free: 13.54 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.01589/0.1194, allocations: 7.317 MB / 471.5 MB, free: 6.125 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.085e-05/0.1194, allocations: 11.89 kB / 471.5 MB, free: 6.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009997/0.1204, allocations: 0.6027 MB / 472.1 MB, free: 5.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004135/0.1246, allocations: 2.655 MB / 474.8 MB, free: 2.789 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004602/0.125, allocations: 0.6357 MB / 475.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006877/0.1257, allocations: 479.8 kB / 475.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009458/0.1352, allocations: 5.97 MB / 481.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.71e-05/0.1353, allocations: 7.984 kB / 481.9 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003953/0.1357, allocations: 176 kB / 482.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.695e-05/0.1358, allocations: 104 kB / 482.2 MB, free: 11.31 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009543/0.1453, allocations: 5.873 MB / 488 MB, free: 5.422 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.02753/0.1729, allocations: 17.21 MB / 0.4934 GB, free: 4.035 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009564/0.1824, allocations: 6.84 MB / 0.5001 GB, free: 13.28 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004532/0.187, allocations: 3.33 MB / 0.5033 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002366/0.1873, allocations: 71.92 kB / 0.5034 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004685/0.1919, allocations: 3.343 MB / 0.5067 GB, free: 6.508 MB / 398.1 MB Notification: Performance of pre-optimization done (n=478): time 6.372e-06/0.192, allocations: 0 / 0.5067 GB, free: 6.508 MB / 398.1 MB Notification: Performance of matching and sorting (n=503): time 0.2514/0.4434, allocations: 35.68 MB / 0.5415 GB, free: 94.39 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.397e-05/0.4435, allocations: 141.9 kB / 0.5416 GB, free: 94.32 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003322/0.4468, allocations: 3.71 MB / 0.5453 GB, free: 93.15 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002926/0.4471, allocations: 149.8 kB / 0.5454 GB, free: 93.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008477/0.448, allocations: 1.679 MB / 0.547 GB, free: 91.78 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000802/0.4488, allocations: 1.751 MB / 0.5488 GB, free: 90.31 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.4498, allocations: 0.9068 MB / 0.5496 GB, free: 89.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.133e-05/0.4499, allocations: 312.9 kB / 0.5499 GB, free: 89.5 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003422/0.4533, allocations: 2.777 MB / 0.5527 GB, free: 87.29 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003623/0.4569, allocations: 3.452 MB / 0.556 GB, free: 83.64 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007102/0.4641, allocations: 6.387 MB / 0.5623 GB, free: 77.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.4641, allocations: 4 kB / 0.5623 GB, free: 77.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization): time 0.0115/0.4756, allocations: 8.92 MB / 0.571 GB, free: 68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.605e-05/0.4756, allocations: 11.94 kB / 0.571 GB, free: 67.99 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.257e-05/0.4757, allocations: 17.42 kB / 0.571 GB, free: 67.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02848/0.5041, allocations: 7.137 MB / 0.578 GB, free: 60.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003338/0.5075, allocations: 0.8508 MB / 0.5788 GB, free: 59.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0105/0.518, allocations: 12.46 MB / 0.591 GB, free: 47.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003482/0.5215, allocations: 455.4 kB / 0.5914 GB, free: 46.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002828/0.5218, allocations: 175.8 kB / 0.5916 GB, free: 46.6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004819/0.5266, allocations: 3.917 MB / 0.5954 GB, free: 42.67 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003412/0.5301, allocations: 3.198 MB / 0.5985 GB, free: 39.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006629/0.5367, allocations: 5.89 MB / 0.6043 GB, free: 33.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.048e-05/0.5367, allocations: 4 kB / 0.6043 GB, free: 33.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=637) (initialization_lambda0): time 0.01508/0.5518, allocations: 9.416 MB / 0.6135 GB, free: 23.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.5519, allocations: 12 kB / 0.6135 GB, free: 23.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.5519, allocations: 16 kB / 0.6135 GB, free: 23.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00918/0.5611, allocations: 3.742 MB / 0.6172 GB, free: 19.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002997/0.5641, allocations: 0.8581 MB / 0.618 GB, free: 18.88 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04023/0.6043, allocations: 36.82 MB / 0.6539 GB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003885/0.6082, allocations: 428.2 kB / 0.6544 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003363/0.6086, allocations: 164 kB / 0.6545 GB, free: 12.15 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.0009867/0.6096, allocations: 0.4915 MB / 0.655 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006218/0.6102, allocations: 473 kB / 0.6554 GB, free: 11.19 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/0.6246, allocations: 8.432 MB / 0.6637 GB, free: 2.625 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.805e-05/0.6247, allocations: 27.84 kB / 0.6637 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.6247, allocations: 0 / 0.6637 GB, free: 2.598 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002447/0.6272, allocations: 1.29 MB / 0.665 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006407/0.6278, allocations: 147.9 kB / 0.6651 GB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002526/0.6304, allocations: 383.5 kB / 0.6655 GB, free: 0.7656 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/0.6315, allocations: 0.6484 MB / 0.6661 GB, free: 116 kB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02306/0.6546, allocations: 11.14 MB / 0.677 GB, free: 4.945 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01489/0.6695, allocations: 10.56 MB / 0.6873 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004208/0.6737, allocations: 3.159 MB / 0.6904 GB, free: 7.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003345/0.6771, allocations: 2.587 MB / 0.6929 GB, free: 4.469 MB / 478.1 MB Notification: Performance of Backend: time 6.11e-07/0.6771, allocations: 0 / 0.6929 GB, free: 4.469 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02307/0.7002, allocations: 11.95 MB / 0.7046 GB, free: 8.367 MB / 494.1 MB Notification: Performance of SimCode: time 0.1677/0.8679, allocations: 14.32 MB / 0.7186 GB, free: 159.2 MB / 494.1 MB Notification: Performance of Templates: time 0.1129/0.9808, allocations: 107.2 MB / 0.8232 GB, free: 71.26 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)