Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.conf.json 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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 182 kB / 13.23 MB, free: 2.086 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 221.4 MB / 235.1 MB, free: 14.38 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007997/0.0007997, allocations: 93.98 kB / 286.1 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05383/0.05383, allocations: 11.9 MB / 348.9 MB, free: 14.38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.769e-05/3.772e-05, allocations: 4 kB / 410.1 MB, free: 58.26 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1035, allocations: 53.35 MB / 463.5 MB, free: 4.887 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3998/0.5033, allocations: 87.45 MB / 0.538 GB, free: 11.88 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.5036, allocations: 77.7 kB / 0.5381 GB, free: 11.84 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0286/0.5322, allocations: 10.82 MB / 0.5486 GB, free: 2.668 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.5322, allocations: 4 kB / 0.5486 GB, free: 2.664 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.825e-05/0.5323, allocations: 15.94 kB / 0.5487 GB, free: 2.648 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getInteger1.pkgIn.pkg = unpackInt1.pkgOut[1].pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg getReal.pkgIn.pkg = uDPReceive2_1.pkgOut.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg addInteger1.pkgIn.pkg = packInt1.pkgOut[1].pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg Error: Too many equations, over-determined system. The model has 141 equation(s) and 138 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive2_1.initialized) then uDPReceive2_1.initialized = true uDPReceive2_1.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive2_1.port_recv, uDPReceive2_1.bufferSize, uDPReceive2_1.useRecvThread) getInteger1.pkgIn.pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive2_1.bufferSize) uDPReceive2_1.bufferSize = if uDPReceive2_1.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive2_1.pkgOut.autoPkgBitSize) else uDPReceive2_1.userBufferSize else uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) uDPReceive2_1.socket = previous(uDPReceive2_1.socket) uDPReceive2_1.bufferSize = previous(uDPReceive2_1.bufferSize) getInteger1.pkgIn.pkg = previous(getInteger1.pkgIn.pkg) end if has size size 4 but 3 variables (uDPReceive2_1.pkgOut.autoPkgBitSize, uDPReceive2_1.bufferSize, uDPReceive2_1.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 141 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002262/0.5345, allocations: 1.536 MB / 0.5502 GB, free: 1.211 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.5346, allocations: 12.59 kB / 0.5502 GB, free: 1.199 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001384/0.5347, allocations: 59.25 kB / 0.5502 GB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005433/0.5353, allocations: 376.3 kB / 0.5506 GB, free: 0.7734 MB / 362.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001242/0.5354, allocations: 105.4 kB / 0.5507 GB, free: 0.6797 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.5355, allocations: 52 kB / 0.5507 GB, free: 0.6445 MB / 362.7 MB Error: Too many equations, over-determined system. The model has 141 equation(s) and 138 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:162:5-174:11:writable] Error: Internal error if not previous(uDPReceive2_1.initialized) then uDPReceive2_1.initialized = true uDPReceive2_1.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive2_1.port_recv, uDPReceive2_1.bufferSize, uDPReceive2_1.useRecvThread) getInteger1.pkgIn.pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive2_1.bufferSize) uDPReceive2_1.bufferSize = if uDPReceive2_1.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive2_1.pkgOut.autoPkgBitSize) else uDPReceive2_1.userBufferSize else uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) uDPReceive2_1.socket = previous(uDPReceive2_1.socket) uDPReceive2_1.bufferSize = previous(uDPReceive2_1.bufferSize) getInteger1.pkgIn.pkg = previous(getInteger1.pkgIn.pkg) end if has size size 4 but 3 variables (uDPReceive2_1.pkgOut.autoPkgBitSize, uDPReceive2_1.bufferSize, uDPReceive2_1.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0006602/0.5362, allocations: 429.1 kB / 0.5511 GB, free: 344 kB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.