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.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.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") translateModel(MEV.Test.TestPatientController2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="MEV_MEV.Test.TestPatientController2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 104.6 kB / 16.42 MB, free: 6.5 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.001332/0.001332, allocations: 192.9 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.573/1.573, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.01327/0.01327, allocations: 1.942 MB / 272.5 MB, free: 10.07 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.591e-05/2.592e-05, allocations: 2.281 kB / 378.9 MB, free: 51.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestPatientController2): time 0.002358/0.002392, allocations: 1.518 MB / 380.4 MB, free: 51.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001194/0.003599, allocations: 0.7411 MB / 381.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.601e-05/0.003686, allocations: 4.531 kB / 381.1 MB, free: 51.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000154/0.003846, allocations: 61.58 kB / 381.2 MB, free: 51.04 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.003983, allocations: 70.12 kB / 381.3 MB, free: 51.03 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.004587, allocations: 170.6 kB / 381.4 MB, free: 51.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002756/0.004872, allocations: 185.8 kB / 381.6 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.97e-05/0.004979, allocations: 16.94 kB / 381.6 MB, free: 51.01 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.005111, allocations: 80.67 kB / 381.7 MB, free: 51 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001861/0.005303, allocations: 97.95 kB / 381.8 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.00534, allocations: 10.44 kB / 381.8 MB, free: 50.98 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000234/0.005579, allocations: 154.1 kB / 381.9 MB, free: 50.98 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0001523/0.005738, allocations: 164.3 kB / 382.1 MB, free: 50.91 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 4.172e-05/0.005786, allocations: 92.25 kB / 382.2 MB, free: 50.84 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.473e-05/0.005837, allocations: 19.66 kB / 382.2 MB, free: 50.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.748e-05/0.00586, allocations: 5.969 kB / 382.2 MB, free: 50.84 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 Bindings: time 0.0006414/0.006506, allocations: 0.5943 MB / 382.8 MB, free: 50.48 MB / 318.1 MB Notification: Performance of FunctionAlias: time 1.937e-05/0.006532, allocations: 10.8 kB / 382.8 MB, free: 50.48 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003168/0.006853, allocations: 336.5 kB / 383.2 MB, free: 50.41 MB / 318.1 MB Notification: Performance of simplify1: time 2.186e-05/0.006882, allocations: 8.969 kB / 383.2 MB, free: 50.41 MB / 318.1 MB Notification: Performance of Alias: time 0.0005209/0.007408, allocations: 343.3 kB / 383.5 MB, free: 50.24 MB / 318.1 MB Notification: Performance of simplify2: time 1.184e-05/0.00743, allocations: 4.875 kB / 383.5 MB, free: 50.24 MB / 318.1 MB Notification: Performance of Events: time 0.0002364/0.007673, allocations: 113.2 kB / 383.6 MB, free: 50.21 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003266/0.008007, allocations: 186.1 kB / 383.8 MB, free: 50.16 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001763/0.008192, allocations: 117.9 kB / 383.9 MB, free: 50.14 MB / 318.1 MB Notification: Performance of Causalize: time 0.0005735/0.008772, allocations: 344.6 kB / 384.3 MB, free: 50.08 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004014/0.009182, allocations: 359.7 kB / 384.6 MB, free: 50 MB / 318.1 MB Notification: Performance of Inline: time 0.0006672/0.009858, allocations: 0.5445 MB / 385.1 MB, free: 49.74 MB / 318.1 MB Notification: Performance of Partitioning: time 3.14e-05/0.009898, allocations: 38.81 kB / 385.2 MB, free: 49.71 MB / 318.1 MB Notification: Performance of Cleanup: time 4.535e-05/0.009949, allocations: 32.42 kB / 385.2 MB, free: 49.7 MB / 318.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) dutyCycle.nextEventScaled = $START.dutyCycle.nextEventScaled ($RES_SRT_27) slice: {}; [SCAL] (1) RR.nextEventScaled = $START.RR.nextEventScaled ($RES_SRT_25) slice: {}; Notification: Performance of Causalize: time 0.001129/0.01108, allocations: 0.9253 MB / 386.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of Tearing: time 7.053e-06/0.0111, allocations: 2.625 kB / 386.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of Initialization: time 3.11e-07/0.01111, allocations: 0 / 386.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of Tearing: time 3.126e-06/0.01111, allocations: 1 kB / 386.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of Categorize: time 1.119e-05/0.01113, allocations: 1.672 kB / 386.1 MB, free: 49.33 MB / 318.1 MB Notification: Performance of Solve: time 0.0001805/0.01132, allocations: 116.9 kB / 386.3 MB, free: 49.27 MB / 318.1 MB Notification: Performance of Jacobian: time 3.757e-06/0.01133, allocations: 3.938 kB / 386.3 MB, free: 49.27 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {RR.a, RR.b, RR.last, RR.nextEvent, RR.nextEventScaled, dutyCycle.a, dutyCycle.b, dutyCycle.last, dutyCycle.nextEvent, dutyCycle.nextEventScaled, $SEV_11, $SEV_10, $SEV_9, $SEV_0, $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] 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: ............ 5 (algorithm:2, 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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:2, 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 9.035e-05/0.01142, allocations: 27.53 kB / 386.3 MB, free: 49.25 MB / 318.1 MB Notification: Performance of SimCode: time 0.00109/0.01252, allocations: 1.231 MB / 387.5 MB, free: 48.34 MB / 318.1 MB Notification: Performance of Templates: time 0.005409/0.01794, allocations: 1.992 MB / 389.5 MB, free: 48.2 MB / 318.1 MB make -j1 -f MEV_MEV.Test.TestPatientController2.makefile (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)