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.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.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") translateModel(MEV.Controls.PatientController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Controls.PatientController") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 108.2 kB / 16.42 MB, free: 6.512 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.001244/0.001244, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.616/1.616, 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.00911/0.00911, allocations: 1.942 MB / 272.5 MB, free: 10.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.618e-05, allocations: 2.281 kB / 378.8 MB, free: 51.54 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Controls.PatientController): time 0.002055/0.002098, allocations: 1.282 MB / 380.1 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001575/0.002267, allocations: 27.86 kB / 380.1 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.566e-05/0.002312, allocations: 0.5312 kB / 380.1 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.00235, allocations: 3.25 kB / 380.1 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.845e-05/0.002384, allocations: 1.812 kB / 380.1 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001344/0.002523, allocations: 14.12 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.00261, allocations: 23.94 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.655e-05/0.002673, allocations: 5.312 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.972e-05/0.002717, allocations: 12.16 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.389e-05/0.002775, allocations: 16.75 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.002801, allocations: 2.219 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.349e-05/0.002819, allocations: 2.312 kB / 380.2 MB, free: 51.38 MB / 318.1 MB Notification: Performance of combineBinaries: time 6.969e-05/0.002893, allocations: 41.42 kB / 380.3 MB, free: 51.37 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 8.076e-06/0.002905, allocations: 19.97 kB / 380.3 MB, free: 51.35 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.613e-05/0.002947, allocations: 5.969 kB / 380.3 MB, free: 51.35 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.037e-05/0.002961, allocations: 1.125 kB / 380.3 MB, free: 51.35 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 Bindings: time 0.0002987/0.003264, allocations: 235.5 kB / 380.5 MB, free: 51.12 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.539e-05/0.003286, allocations: 7.344 kB / 380.5 MB, free: 51.12 MB / 318.1 MB Notification: Performance of Early Inline: time 9.772e-05/0.003388, allocations: 118 kB / 380.6 MB, free: 51.05 MB / 318.1 MB Notification: Performance of simplify1: time 9.938e-06/0.003405, allocations: 11.58 kB / 380.7 MB, free: 51.05 MB / 318.1 MB Notification: Performance of Alias: time 5.605e-05/0.003465, allocations: 59.52 kB / 380.7 MB, free: 50.97 MB / 318.1 MB Notification: Performance of simplify2: time 3.347e-06/0.003474, allocations: 2.062 kB / 380.7 MB, free: 50.97 MB / 318.1 MB Notification: Performance of Events: time 0.0001047/0.003583, allocations: 40.72 kB / 380.8 MB, free: 50.96 MB / 318.1 MB Notification: Performance of Detect States: time 0.0001256/0.003715, allocations: 80.06 kB / 380.8 MB, free: 50.93 MB / 318.1 MB Notification: Performance of Partitioning: time 7.125e-05/0.003794, allocations: 45.31 kB / 380.9 MB, free: 50.91 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002498/0.004049, allocations: 131.5 kB / 381 MB, free: 50.89 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001187/0.004177, allocations: 140.3 kB / 381.1 MB, free: 50.83 MB / 318.1 MB Notification: Performance of Inline: time 0.0001767/0.00436, allocations: 180.6 kB / 381.3 MB, free: 50.75 MB / 318.1 MB Notification: Performance of Partitioning: time 1.542e-05/0.004382, allocations: 13.2 kB / 381.3 MB, free: 50.74 MB / 318.1 MB Notification: Performance of Cleanup: time 1.833e-05/0.004405, allocations: 10.41 kB / 381.3 MB, free: 50.74 MB / 318.1 MB Notification: Performance of Causalize: time 0.0002547/0.004664, allocations: 199.4 kB / 381.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of Tearing: time 5.61e-06/0.004678, allocations: 0 / 381.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of Initialization: time 9.52e-07/0.004685, allocations: 1.406 kB / 381.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of Tearing: time 8.12e-07/0.004691, allocations: 4 kB / 381.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of Categorize: time 7.794e-06/0.004703, allocations: 3.062 kB / 381.5 MB, free: 50.7 MB / 318.1 MB Notification: Performance of Solve: time 0.0001239/0.004831, allocations: 77.78 kB / 381.6 MB, free: 50.67 MB / 318.1 MB Notification: Performance of Jacobian: time 4.458e-06/0.004844, allocations: 3.125 kB / 381.6 MB, free: 50.67 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_on, t_off, active} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_3, $SEV_2, $SEV_1, $SEV_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 (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: ........... 9 (scalar:9, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:0, if:1, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.883e-05/0.004877, allocations: 34.72 kB / 381.7 MB, free: 50.64 MB / 318.1 MB Notification: Performance of SimCode: time 0.00039/0.005273, allocations: 0.7843 MB / 382.4 MB, free: 49.89 MB / 318.1 MB Notification: Performance of Templates: time 0.003014/0.008298, allocations: 0.5939 MB / 383 MB, free: 49.85 MB / 318.1 MB make -j1 -f MEV_MEV.Controls.PatientController.makefile (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)