Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Controls.PatientController.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.001367/0.001367, 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.00143/0.00143, 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.503/1.503, 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.01031/0.01031, allocations: 1.962 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.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.271e-05, allocations: 4.531 kB / 403.1 MB, free: 50.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.002161/0.002184, allocations: 1.28 MB / 404.3 MB, free: 49.64 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001751/0.002359, allocations: 30.44 kB / 404.4 MB, free: 49.62 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.718e-05/0.002386, allocations: 1.344 kB / 404.4 MB, free: 49.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.721e-05/0.002413, allocations: 0 / 404.4 MB, free: 49.62 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 3.549e-05/0.002449, allocations: 4.781 kB / 404.4 MB, free: 49.62 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001507/0.002599, allocations: 15.98 kB / 404.4 MB, free: 49.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 8.392e-05/0.002683, allocations: 30.91 kB / 404.4 MB, free: 49.6 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.504e-05/0.002738, allocations: 3.344 kB / 404.4 MB, free: 49.6 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.002777, allocations: 14.5 kB / 404.4 MB, free: 49.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.167e-05/0.002829, allocations: 12.94 kB / 404.5 MB, free: 49.59 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.002845, allocations: 2.312 kB / 404.5 MB, free: 49.59 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.002856, allocations: 2.25 kB / 404.5 MB, free: 49.59 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.982e-05/0.002926, allocations: 47.78 kB / 404.5 MB, free: 49.56 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 1.187e-05/0.002938, allocations: 22.38 kB / 404.5 MB, free: 49.55 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.972e-05/0.002968, allocations: 5.344 kB / 404.5 MB, free: 49.54 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.034e-05/0.002978, allocations: 0.9375 kB / 404.5 MB, free: 49.54 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: 4 (4) * Number of variables: 4 (4) Notification: Performance of [SIM] Bindings: time 0.0004068/0.003385, allocations: 295.2 kB / 404.8 MB, free: 49.22 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 3.464e-05/0.003419, allocations: 28.36 kB / 404.9 MB, free: 49.19 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.0001214/0.003541, allocations: 128.8 kB / 405 MB, free: 49.1 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 8.928e-05/0.00363, allocations: 82.16 kB / 405.1 MB, free: 49 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 8.489e-05/0.003715, allocations: 116.8 kB / 405.2 MB, free: 48.87 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 5.034e-05/0.003765, allocations: 69.08 kB / 405.2 MB, free: 48.78 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 3.033e-05/0.003796, allocations: 49.28 kB / 405.3 MB, free: 48.71 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.0001695/0.003965, allocations: 124.8 kB / 405.4 MB, free: 48.57 MB / 318.1 MB Notification: Performance of [SIM] Events: time 8.307e-05/0.004048, allocations: 27.25 kB / 405.4 MB, free: 48.56 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.0001111/0.004159, allocations: 59.44 kB / 405.5 MB, free: 48.53 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.0002799/0.004439, allocations: 95.61 kB / 405.6 MB, free: 48.5 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001207/0.00456, allocations: 117.2 kB / 405.7 MB, free: 48.45 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.000147/0.004707, allocations: 139.8 kB / 405.8 MB, free: 48.29 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.0001251/0.004832, allocations: 144.6 kB / 406 MB, free: 48.22 MB / 318.1 MB Notification: Performance of [INI] Partitioning: time 1.268e-05/0.004845, allocations: 11.23 kB / 406 MB, free: 48.2 MB / 318.1 MB Notification: Performance of [INI] Cleanup: time 2.368e-05/0.004868, allocations: 20.39 kB / 406 MB, free: 48.2 MB / 318.1 MB Notification: Performance of [INI] Causalize: time 0.0002251/0.005093, allocations: 168.2 kB / 406.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of [INI] Tearing: time 1.7e-05/0.00511, allocations: 4 kB / 406.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of [SIM] Initialization: time 3.3e-07/0.005111, allocations: 0 / 406.2 MB, free: 48.14 MB / 318.1 MB Notification: Performance of [SIM] DAE-Mode: time 3.473e-05/0.005145, allocations: 24.58 kB / 406.2 MB, free: 48.12 MB / 318.1 MB Notification: Performance of [SIM] Remove Dummies: time 3.676e-06/0.005149, allocations: 0 / 406.2 MB, free: 48.12 MB / 318.1 MB Notification: Performance of [SIM] Tearing: time 2.535e-06/0.005152, allocations: 4 kB / 406.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of [SIM] Categorize: time 6.132e-06/0.005158, allocations: 3.062 kB / 406.2 MB, free: 48.11 MB / 318.1 MB Notification: Performance of [SIM] Solve: time 9.451e-05/0.005252, allocations: 46.48 kB / 406.3 MB, free: 48.1 MB / 318.1 MB Notification: Performance of [SIM] Jacobian: time 9.485e-05/0.005347, allocations: 172.3 kB / 406.4 MB, free: 47.91 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) {t_off, t_on, active} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 2 (2) {dutyCycle, RR} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 5 (scalar:5, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, 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: ........... 11 (scalar:11, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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 3.429e-05/0.005381, allocations: 34.45 kB / 406.5 MB, free: 47.88 MB / 318.1 MB Notification: Performance of SimCode: time 0.0002915/0.005673, allocations: 189.8 kB / 406.6 MB, free: 47.73 MB / 318.1 MB Notification: Performance of Templates: time 0.002739/0.008411, allocations: 0.5111 MB / 407.2 MB, free: 47.67 MB / 318.1 MB " [Timeout remaining time 660] make -j1 -f MEV_MEV.Controls.PatientController.makefile [Timeout 660] (rm -f MEV_MEV.Controls.PatientController.pipe ; mkfifo MEV_MEV.Controls.PatientController.pipe ; head -c 1048576 < MEV_MEV.Controls.PatientController.pipe >> ../files/MEV_MEV.Controls.PatientController.sim & ./MEV_MEV.Controls.PatientController -abortSlowSimulation -alarm=480 -lv LOG_STATS > MEV_MEV.Controls.PatientController.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.393130160984583] Failed to read output from testmodel.py, exit status != 0: 0.015296015015337616 0.026704828000000003 0.021602370000000003 Calling exit ...