Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001333/0.001333, allocations: 104.3 kB / 19.77 MB, free: 2.051 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 217.7 kB / 23.07 MB, free: 4.844 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 207.7 MB / 233.9 MB, free: 9.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.009545/0.009545, allocations: 1.966 MB / 288.2 MB, free: 3.629 MB / 222.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") translateModel(MEV.Test.TestPatientController1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController1") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.355e-05/2.355e-05, allocations: 4.531 kB / 403.1 MB, free: 50.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController1): time 0.002583/0.002606, allocations: 1.506 MB / 404.6 MB, free: 49.46 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001156/0.003763, allocations: 0.6948 MB / 405.3 MB, free: 49.01 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.143e-05/0.003824, allocations: 1.031 kB / 405.3 MB, free: 49.01 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001665/0.003991, allocations: 56.47 kB / 405.3 MB, free: 49 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001229/0.004114, allocations: 57.5 kB / 405.4 MB, free: 48.98 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006176/0.004731, allocations: 169.8 kB / 405.6 MB, free: 48.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.005045, allocations: 171.2 kB / 405.7 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.00516, allocations: 19.25 kB / 405.7 MB, free: 48.84 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001458/0.005305, allocations: 76.23 kB / 405.8 MB, free: 48.81 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.005503, allocations: 91.38 kB / 405.9 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.005533, allocations: 10.12 kB / 405.9 MB, free: 48.79 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002504/0.005784, allocations: 155.6 kB / 406.1 MB, free: 48.75 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0002261/0.00601, allocations: 198.6 kB / 406.3 MB, free: 48.63 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 6.503e-05/0.006075, allocations: 113.1 kB / 406.4 MB, free: 48.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.069e-05/0.006125, allocations: 8 kB / 406.4 MB, free: 48.55 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.876e-05/0.006144, allocations: 3.109 kB / 406.4 MB, free: 48.55 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 (12) * Number of variables: 20 (20) Notification: Performance of [SIM] Bindings: time 0.001136/0.00728, allocations: 0.626 MB / 407 MB, free: 48.03 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.83e-05/0.007368, allocations: 65.67 kB / 407.1 MB, free: 47.97 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003989/0.007767, allocations: 351.9 kB / 407.4 MB, free: 47.77 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001792/0.007946, allocations: 119.3 kB / 407.5 MB, free: 47.66 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0007107/0.008657, allocations: 405.8 kB / 407.9 MB, free: 47.34 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00014/0.008797, allocations: 109.5 kB / 408 MB, free: 47.23 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 9.946e-05/0.008896, allocations: 83.03 kB / 408.1 MB, free: 47.16 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0003394/0.009236, allocations: 202.6 kB / 408.3 MB, free: 46.98 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001814/0.009417, allocations: 80.5 kB / 408.4 MB, free: 46.93 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003186/0.009736, allocations: 174.5 kB / 408.6 MB, free: 46.85 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0005103/0.01025, allocations: 245.6 kB / 408.8 MB, free: 46.79 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003916/0.01064, allocations: 326.1 kB / 409.1 MB, free: 46.64 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0003837/0.01102, allocations: 262.8 kB / 409.4 MB, free: 46.43 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0004319/0.01145, allocations: 474.8 kB / 409.8 MB, free: 46.16 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.961e-05/0.01147, allocations: 13.84 kB / 409.9 MB, free: 46.14 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001217/0.01159, allocations: 129.6 kB / 410 MB, free: 46.05 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0005994/0.01219, allocations: 447.2 kB / 410.4 MB, free: 45.91 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.43e-05/0.01221, allocations: 6.156 kB / 410.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 8.22e-07/0.01221, allocations: 1.188 kB / 410.4 MB, free: 45.9 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.593e-05/0.01226, allocations: 31.33 kB / 410.5 MB, free: 45.88 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.66e-06/0.01227, allocations: 4 kB / 410.5 MB, free: 45.87 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 4.9e-06/0.01228, allocations: 6.688 kB / 410.5 MB, free: 45.87 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 7.184e-06/0.01228, allocations: 6.375 kB / 410.5 MB, free: 45.86 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001741/0.01246, allocations: 129.3 kB / 410.6 MB, free: 45.8 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 9.977e-05/0.01256, allocations: 184.3 kB / 410.8 MB, free: 45.6 MB / 318.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 3 (3) {patientController.t_off, patientController.t_on, patientController.active} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 18 (18) {RR.a, RR.b, RR.last, RR.nextEvent, RR.nextEventScaled, dutyCycle.a, dutyCycle.b, dutyCycle.last, dutyCycle.nextEvent, dutyCycle.nextEventScaled, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 5 (algorithm:2, when:3, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 0.0001348/0.01269, allocations: 31.56 kB / 410.8 MB, free: 45.57 MB / 318.1 MB Notification: Performance of SimCode: time 0.001106/0.0138, allocations: 0.6286 MB / 411.4 MB, free: 45.15 MB / 318.1 MB Notification: Performance of Templates: time 0.005021/0.01882, allocations: 1.838 MB / 413.3 MB, free: 44.21 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController1.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController1.pipe ; mkfifo MEV_MEV.Test.TestPatientController1.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController1.pipe >> ../files/MEV_MEV.Test.TestPatientController1.sim & ./MEV_MEV.Test.TestPatientController1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientController1.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.422663304954767] Failed to read output from testmodel.py, exit status != 0: 0.026011775014922023 0.03553149 0.027287601 Calling exit ...