Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestPatientController2.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.001404/0.001404, 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.001637/0.001637, allocations: 215.3 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.493/1.493, allocations: 207.7 MB / 233.9 MB, free: 9.762 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.01033/0.01033, allocations: 1.974 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.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") translateModel(MEV.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.559e-05, allocations: 4.531 kB / 403.1 MB, free: 50.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.002532/0.002557, allocations: 1.501 MB / 404.6 MB, free: 49.53 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.003738, allocations: 0.6955 MB / 405.3 MB, free: 49.08 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.003802, allocations: 0 / 405.3 MB, free: 49.08 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.003966, allocations: 63.95 kB / 405.4 MB, free: 49.07 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001356/0.004101, allocations: 70.66 kB / 405.4 MB, free: 49.05 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005707/0.004672, allocations: 165.3 kB / 405.6 MB, free: 48.98 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.004916, allocations: 182.6 kB / 405.8 MB, free: 48.91 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.005017, allocations: 16.97 kB / 405.8 MB, free: 48.9 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.005138, allocations: 90.59 kB / 405.9 MB, free: 48.87 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001932/0.005331, allocations: 95.41 kB / 406 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.382e-05/0.005365, allocations: 9.625 kB / 406 MB, free: 48.85 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002513/0.005616, allocations: 150.4 kB / 406.1 MB, free: 48.81 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001955/0.005812, allocations: 200.2 kB / 406.3 MB, free: 48.69 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 5.719e-05/0.005869, allocations: 111 kB / 406.4 MB, free: 48.62 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.005913, allocations: 7.781 kB / 406.4 MB, free: 48.62 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.499e-05/0.005928, allocations: 2.125 kB / 406.4 MB, free: 48.62 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.0007679/0.006696, allocations: 0.6281 MB / 407.1 MB, free: 48.09 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 6.981e-05/0.006765, allocations: 65.27 kB / 407.1 MB, free: 48.04 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003257/0.007091, allocations: 352.5 kB / 407.5 MB, free: 47.84 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001573/0.007248, allocations: 126.2 kB / 407.6 MB, free: 47.71 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.0005918/0.00784, allocations: 403.1 kB / 408 MB, free: 47.41 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001124/0.007953, allocations: 105.2 kB / 408.1 MB, free: 47.3 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 7.662e-05/0.008029, allocations: 82.28 kB / 408.2 MB, free: 47.22 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.000247/0.008276, allocations: 200 kB / 408.4 MB, free: 47.05 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0001482/0.008424, allocations: 75.08 kB / 408.4 MB, free: 47 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0002474/0.008672, allocations: 183.2 kB / 408.6 MB, free: 46.92 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0003853/0.009057, allocations: 252.7 kB / 408.9 MB, free: 46.85 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000325/0.009382, allocations: 330.2 kB / 409.2 MB, free: 46.7 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.0003595/0.009742, allocations: 255.7 kB / 409.4 MB, free: 46.49 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0003886/0.01013, allocations: 468.3 kB / 409.9 MB, free: 46.2 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 2.003e-05/0.01015, allocations: 21.08 kB / 409.9 MB, free: 46.18 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 0.0001129/0.01026, allocations: 126.3 kB / 410 MB, free: 46.09 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0006071/0.01087, allocations: 449.7 kB / 410.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.43e-05/0.01088, allocations: 6.781 kB / 410.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 1.263e-06/0.01089, allocations: 1.438 kB / 410.5 MB, free: 45.94 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 5.261e-05/0.01094, allocations: 34.83 kB / 410.5 MB, free: 45.91 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.178e-06/0.01094, allocations: 4 kB / 410.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 4.288e-06/0.01095, allocations: 7.906 kB / 410.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 7.874e-06/0.01095, allocations: 1.219 kB / 410.5 MB, free: 45.9 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 0.0001783/0.01113, allocations: 125.6 kB / 410.6 MB, free: 45.84 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 0.0001182/0.01125, allocations: 185.1 kB / 410.8 MB, free: 45.64 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.0001091/0.01136, allocations: 33.53 kB / 410.9 MB, free: 45.61 MB / 318.1 MB Notification: Performance of SimCode: time 0.0009725/0.01233, allocations: 0.6563 MB / 411.5 MB, free: 45.18 MB / 318.1 MB Notification: Performance of Templates: time 0.004553/0.01689, allocations: 1.837 MB / 413.4 MB, free: 44.24 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Test.TestPatientController2.makefile [Timeout 660] (rm -f MEV_MEV.Test.TestPatientController2.pipe ; mkfifo MEV_MEV.Test.TestPatientController2.pipe ; head -c 1048576 < MEV_MEV.Test.TestPatientController2.pipe >> ../files/MEV_MEV.Test.TestPatientController2.sim & ./MEV_MEV.Test.TestPatientController2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Test.TestPatientController2.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.475568998022936] Failed to read output from testmodel.py, exit status != 0: 0.023689988011028618 0.032792464 0.024774979000000003 Calling exit ...