Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Simulations.OnOffControl.Scenario6.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.OnOffControl.Scenario6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario6") translateModel(MEV.Simulations.OnOffControl.Scenario6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="MEV_MEV.Simulations.OnOffControl.Scenario6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 111.1 kB / 16.42 MB, free: 6.496 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.001528/0.001528, allocations: 188.3 kB / 17.35 MB, free: 5.762 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.302/1.302, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.008224/0.008224, allocations: 1.924 MB / 272.5 MB, free: 10.08 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.001432/0.001432, allocations: 67.88 kB / 379 MB, free: 51.56 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06674/0.06818, allocations: 47.14 MB / 426.1 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Simulations.OnOffControl.Scenario6): time 0.005191/0.0734, allocations: 6.258 MB / 432.4 MB, free: 13.61 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00248/0.07591, allocations: 1.473 MB / 433.8 MB, free: 12.12 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004081/0.07634, allocations: 11.94 kB / 433.8 MB, free: 12.11 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.07663, allocations: 146.5 kB / 434 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005381/0.07723, allocations: 361.1 kB / 434.3 MB, free: 11.61 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005579/0.0778, allocations: 327.4 kB / 434.7 MB, free: 11.29 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003747/0.08155, allocations: 7.68 MB / 442.3 MB, free: 3.582 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.08362, allocations: 2.429 MB / 444.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003013/0.08665, allocations: 2.929 MB / 447.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/0.0905, allocations: 3.167 MB / 450.9 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.09163, allocations: 0.6289 MB / 451.5 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.09305, allocations: 0.6679 MB / 452.2 MB, free: 9.672 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001217/0.09428, allocations: 1.417 MB / 453.6 MB, free: 8.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003762/0.09805, allocations: 3.166 MB / 456.7 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006137/0.1042, allocations: 7.494 MB / 464.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.1042, allocations: 0 / 464.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1042, allocations: 0 / 464.2 MB, free: 13.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.965e-05/0.1043, allocations: 0 / 464.2 MB, free: 13.55 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.01552/0.1199, allocations: 7.179 MB / 471.4 MB, free: 6.281 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.1199, allocations: 19.89 kB / 471.4 MB, free: 6.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009304/0.1208, allocations: 0.5723 MB / 472 MB, free: 5.684 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004725/0.1256, allocations: 2.629 MB / 474.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004627/0.1261, allocations: 0.6357 MB / 475.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007325/0.1268, allocations: 483.7 kB / 475.7 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009768/0.1366, allocations: 5.978 MB / 481.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.962e-05/0.1367, allocations: 0 / 481.7 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004462/0.1371, allocations: 176 kB / 481.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.671e-05/0.1372, allocations: 107.9 kB / 482 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009661/0.1469, allocations: 5.877 MB / 487.9 MB, free: 5.605 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.02999/0.1769, allocations: 17.15 MB / 0.4932 GB, free: 4.281 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01025/0.1871, allocations: 6.817 MB / 0.4998 GB, free: 13.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004834/0.192, allocations: 3.33 MB / 0.5031 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/0.1922, allocations: 79.45 kB / 0.5032 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005577/0.1978, allocations: 3.579 MB / 0.5067 GB, free: 6.531 MB / 398.1 MB Notification: Performance of pre-optimization done (n=481): time 7.253e-06/0.1978, allocations: 0 / 0.5067 GB, free: 6.531 MB / 398.1 MB Notification: Performance of matching and sorting (n=506): time 0.2662/0.4641, allocations: 36.7 MB / 0.5425 GB, free: 95.19 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.22e-05/0.4642, allocations: 162.9 kB / 0.5427 GB, free: 95.08 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003334/0.4675, allocations: 3.707 MB / 0.5463 GB, free: 93.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003049/0.4678, allocations: 156.1 kB / 0.5464 GB, free: 93.67 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000843/0.4687, allocations: 1.644 MB / 0.548 GB, free: 92.11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007848/0.4695, allocations: 1.673 MB / 0.5497 GB, free: 90.46 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001101/0.4706, allocations: 0.9109 MB / 0.5506 GB, free: 89.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 3.118e-05/0.4706, allocations: 301.1 kB / 0.5508 GB, free: 89.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003694/0.4743, allocations: 2.792 MB / 0.5536 GB, free: 86.43 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003938/0.4782, allocations: 3.473 MB / 0.557 GB, free: 82.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007729/0.486, allocations: 6.43 MB / 0.5632 GB, free: 76.09 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.486, allocations: 7.188 kB / 0.5632 GB, free: 76.09 MB / 414.1 MB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01243/0.4984, allocations: 9.003 MB / 0.572 GB, free: 66.99 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.4985, allocations: 12 kB / 0.5721 GB, free: 66.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.4985, allocations: 17.31 kB / 0.5721 GB, free: 66.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03026/0.5288, allocations: 7.329 MB / 0.5792 GB, free: 59.6 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003253/0.532, allocations: 0.8469 MB / 0.5801 GB, free: 58.75 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0119/0.544, allocations: 12.55 MB / 0.5923 GB, free: 45.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004199/0.5482, allocations: 459.4 kB / 0.5927 GB, free: 45.47 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006359/0.5489, allocations: 176 kB / 0.5929 GB, free: 45.3 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005799/0.5547, allocations: 3.932 MB / 0.5968 GB, free: 41.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004042/0.5587, allocations: 3.219 MB / 0.5999 GB, free: 37.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007605/0.5663, allocations: 5.915 MB / 0.6057 GB, free: 31.72 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.317e-05/0.5664, allocations: 4 kB / 0.6057 GB, free: 31.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01657/0.5829, allocations: 9.477 MB / 0.6149 GB, free: 22.11 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.583, allocations: 12 kB / 0.6149 GB, free: 22.1 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/0.583, allocations: 12.55 kB / 0.615 GB, free: 22.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009878/0.5929, allocations: 3.788 MB / 0.6187 GB, free: 18.27 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003419/0.5963, allocations: 0.8581 MB / 0.6195 GB, free: 17.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04529/0.6416, allocations: 37.07 MB / 0.6557 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004274/0.6459, allocations: 435.3 kB / 0.6561 GB, free: 10.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006659/0.6466, allocations: 160 kB / 0.6563 GB, free: 10.44 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 95 (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,$whenCondition32,$whenCondition31) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (420): * Single equations (assignments): 409 * 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,21)} Notification: Performance of prepare postOptimizeDAE: time 0.00133/0.648, allocations: 0.4913 MB / 0.6567 GB, free: 9.938 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009061/0.6489, allocations: 446.5 kB / 0.6572 GB, free: 9.496 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01578/0.6647, allocations: 8.421 MB / 0.6654 GB, free: 0.9414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.279e-05/0.6647, allocations: 27.91 kB / 0.6654 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.428e-06/0.6647, allocations: 0 / 0.6654 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002867/0.6676, allocations: 1.261 MB / 0.6666 GB, free: 15.63 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008574/0.6685, allocations: 155.9 kB / 0.6668 GB, free: 15.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/0.6716, allocations: 383.5 kB / 0.6672 GB, free: 15.1 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001246/0.6728, allocations: 0.6562 MB / 0.6678 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02633/0.6992, allocations: 11.31 MB / 0.6788 GB, free: 3.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01599/0.7152, allocations: 10.66 MB / 0.6893 GB, free: 8.293 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004722/0.7199, allocations: 3.221 MB / 0.6924 GB, free: 5.039 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003801/0.7237, allocations: 2.579 MB / 0.6949 GB, free: 2.477 MB / 478.1 MB Notification: Performance of Backend: time 5.11e-07/0.7237, allocations: 0 / 0.6949 GB, free: 2.477 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.02536/0.7491, allocations: 11.96 MB / 0.7066 GB, free: 6.363 MB / 494.1 MB Notification: Performance of SimCode: time 0.1669/0.916, allocations: 14.15 MB / 0.7204 GB, free: 158.6 MB / 494.1 MB Notification: Performance of Templates: time 0.1136/1.03, allocations: 107.9 MB / 0.8258 GB, free: 69.09 MB / 494.1 MB make -j1 -f MEV_MEV.Simulations.OnOffControl.Scenario6.makefile (rm -f MEV_MEV.Simulations.OnOffControl.Scenario6.pipe ; mkfifo MEV_MEV.Simulations.OnOffControl.Scenario6.pipe ; head -c 1048576 < MEV_MEV.Simulations.OnOffControl.Scenario6.pipe >> ../files/MEV_MEV.Simulations.OnOffControl.Scenario6.sim & ./MEV_MEV.Simulations.OnOffControl.Scenario6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Simulations.OnOffControl.Scenario6.pipe 2>&1)