Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_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.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001069/0.001069, allocations: 181.9 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.337/1.337, allocations: 221.4 MB / 235.1 MB, free: 14.45 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.0009681/0.0009682, allocations: 88.55 kB / 286.1 MB, free: 13 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.05425/0.05425, allocations: 11.91 MB / 348.9 MB, free: 14.41 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.627e-05/2.629e-05, allocations: 0 / 410.1 MB, free: 58.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 53.35 MB / 463.5 MB, free: 4.91 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3485/0.4539, allocations: 88.28 MB / 0.5388 GB, free: 11.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001629/0.4541, allocations: 73.97 kB / 0.5389 GB, free: 11.01 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02865/0.4827, allocations: 11.07 MB / 0.5497 GB, free: 1.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.4828, allocations: 0 / 0.5497 GB, free: 1.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.451e-05/0.4828, allocations: 19.98 kB / 0.5497 GB, free: 1.617 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getFloat.pkgIn.pkg = getReal.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addFloat.pkgIn.pkg = addReal.pkgOut[1].pkg getReal.pkgIn.pkg = uDPReceive.pkgOut.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg Error: Too many equations, over-determined system. The model has 134 equation(s) and 131 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(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, uDPReceive.useRecvThread) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.002294/0.4851, allocations: 1.47 MB / 0.5511 GB, free: 264 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4852, allocations: 8.031 kB / 0.5512 GB, free: 256 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.4853, allocations: 63.25 kB / 0.5512 GB, free: 192 kB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006359/0.4859, allocations: 405.1 kB / 0.5516 GB, free: 15.79 MB / 378.7 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.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.0001013/0.486, allocations: 103.7 kB / 0.5517 GB, free: 15.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.718e-05/0.4861, allocations: 54.52 kB / 0.5518 GB, free: 15.65 MB / 378.7 MB Error: Too many equations, over-determined system. The model has 134 equation(s) and 131 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(uDPReceive.initialized) then uDPReceive.initialized = true uDPReceive.socket = Modelica_DeviceDrivers.Communication.UDPSocket.constructor(uDPReceive.port_recv, uDPReceive.bufferSize, uDPReceive.useRecvThread) getFloat.pkgOut[1].pkg = Modelica_DeviceDrivers.Packaging.SerialPackager.constructor(uDPReceive.bufferSize) uDPReceive.bufferSize = if uDPReceive.autoBufferSize then Modelica_DeviceDrivers.Packaging.alignAtByteBoundary(uDPReceive.pkgOut.autoPkgBitSize) else uDPReceive.userBufferSize else uDPReceive.initialized = previous(uDPReceive.initialized) uDPReceive.socket = previous(uDPReceive.socket) uDPReceive.bufferSize = previous(uDPReceive.bufferSize) getFloat.pkgOut[1].pkg = previous(getFloat.pkgOut[1].pkg) end if has size size 4 but 3 variables (uDPReceive.pkgOut.autoPkgBitSize, uDPReceive.bufferSize, uDPReceive.initialized) Notification: Performance of preOpt clockPartitioning (simulation) : time 0.0006019/0.4867, allocations: 432.7 kB / 0.5522 GB, free: 15.34 MB / 378.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.