Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 105.9 kB / 17.13 MB, free: 6.055 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.001276/0.001276, allocations: 193.4 kB / 18.07 MB, free: 5.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05171/0.05171, allocations: 12.05 MB / 304 MB, free: 3.066 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.418e-05/2.419e-05, allocations: 2.281 kB / 420.7 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestHardwareIOComedi): time 0.003159/0.003191, allocations: 3.012 MB / 423.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001038/0.004242, allocations: 0.9383 MB / 424.6 MB, free: 13.26 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.004353, allocations: 4 kB / 424.6 MB, free: 13.26 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/HardwareIO.mo:9:5-31:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.HardwareIO.Comedi.ComediConfig' contains a call to impure function 'Modelica_DeviceDrivers.HardwareIO.Comedi.constructor'. Notification: Performance of NFTyping.typeComponents: time 0.0002439/0.004603, allocations: 55.52 kB / 424.7 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.137e-05/0.004682, allocations: 39.53 kB / 424.7 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.005025, allocations: 195.4 kB / 424.9 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.00526, allocations: 335.6 kB / 425.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.005406, allocations: 99.67 kB / 425.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.005523, allocations: 123.5 kB / 425.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.005638, allocations: 155.2 kB / 425.6 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.861e-05/0.005682, allocations: 24 kB / 425.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001294/0.005817, allocations: 112 kB / 425.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.000196/0.006019, allocations: 470.3 kB / 426.2 MB, free: 11.67 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.474e-05/0.0061, allocations: 311.2 kB / 426.5 MB, free: 11.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.006149, allocations: 47.81 kB / 426.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.133e-05/0.006185, allocations: 11.88 kB / 426.6 MB, free: 11.3 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 (43) * Number of variables: 55 (55) Notification: Performance of Bindings: time 0.00081/0.007, allocations: 1.309 MB / 427.9 MB, free: 9.883 MB / 302.1 MB Notification: Performance of FunctionAlias: time 8.47e-05/0.007091, allocations: 53.03 kB / 427.9 MB, free: 9.832 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0004646/0.007563, allocations: 0.752 MB / 428.7 MB, free: 9.051 MB / 302.1 MB Notification: Performance of simplify1: time 3e-05/0.0076, allocations: 31.95 kB / 428.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of Alias: time 0.0007969/0.008402, allocations: 1.04 MB / 429.8 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simplify2: time 1.505e-05/0.008427, allocations: 15.98 kB / 429.8 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Events: time 0.0001267/0.008559, allocations: 123.8 kB / 429.9 MB, free: 7.703 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002459/0.008812, allocations: 336.9 kB / 430.2 MB, free: 7.355 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001918/0.009011, allocations: 258.1 kB / 430.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006278/0.009645, allocations: 0.7628 MB / 431.2 MB, free: 6.281 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000399/0.01005, allocations: 0.6645 MB / 431.9 MB, free: 5.59 MB / 302.1 MB Notification: Performance of Inline: time 0.0007403/0.0108, allocations: 1.139 MB / 433 MB, free: 4.418 MB / 302.1 MB Notification: Performance of Partitioning: time 4.133e-05/0.01085, allocations: 54.38 kB / 433.1 MB, free: 4.359 MB / 302.1 MB Notification: Performance of Cleanup: time 5.388e-05/0.01091, allocations: 63.94 kB / 433.2 MB, free: 4.297 MB / 302.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) dioRead.initialized = $START.dioRead.initialized ($RES_SRT_57) slice: {}; [SCAL] (1) dioWrite.initialized = $START.dioWrite.initialized ($RES_SRT_56) slice: {}; [SCAL] (1) dataRead1.initialized = $START.dataRead1.initialized ($RES_SRT_55) slice: {}; [SCAL] (1) dataWrite1.initialized = $START.dataWrite1.initialized ($RES_SRT_54) slice: {}; Notification: Performance of Causalize: time 0.001622/0.01254, allocations: 1.942 MB / 435.1 MB, free: 2.312 MB / 302.1 MB Notification: Performance of Tearing: time 6.903e-06/0.01255, allocations: 7.969 kB / 435.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of Initialization: time 3.21e-07/0.01256, allocations: 0 / 435.1 MB, free: 2.305 MB / 302.1 MB Notification: Performance of Tearing: time 2.465e-06/0.01256, allocations: 3.938 kB / 435.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of Categorize: time 9.448e-06/0.01258, allocations: 0 / 435.1 MB, free: 2.301 MB / 302.1 MB Notification: Performance of Solve: time 0.0001215/0.0127, allocations: 109.9 kB / 435.2 MB, free: 2.195 MB / 302.1 MB Notification: Performance of Jacobian: time 3.156e-06/0.01271, allocations: 0 / 435.2 MB, free: 2.195 MB / 302.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: ......... 4 * 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: .................... 7 (7) {assignClock3.y, dataRead1.rawData, assignClock2.u, assignClock2.y, dataWrite1.rawData, assignClock1.y, dataRead.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 21 (21) {realToInteger.y, synchronizeRealtime.procPrio.initialized, dataWrite1.converterUnit, dataWrite1.maxData, dataWrite1.cUnit, dataWrite1.initialized, dataRead1.converterUnit, dataRead1.maxData, dataRead1.cUnit, dataRead1.initialized, less.y, dioWrite.initialized, dioRead.initialized, dioRead.y, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $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: ........... 19 (scalar:19, array:0, record:0) * Number of multi strong components: ............ 13 (algorithm:6, when:7, 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: ........... 45 (scalar:36, array:0, record:9) * Number of multi strong components: ............ 6 (algorithm:6, when:0, 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: Performance of backend: time 3.632e-05/0.01275, allocations: 30.31 kB / 435.3 MB, free: 2.168 MB / 302.1 MB Error: Internal error NSimVar.SimVars.splitByType failed because of unhandled Variable dataWrite1.converterUnit.