Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 109.7 kB / 16.45 MB, free: 6.445 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.001132/0.001132, allocations: 186.4 kB / 17.39 MB, free: 5.668 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.332/1.332, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.05876/0.05876, allocations: 12.04 MB / 303.3 MB, free: 3.082 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001221/0.001221, allocations: 67.89 kB / 419.6 MB, free: 17.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08071/0.08194, allocations: 52.32 MB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.004583/0.08656, allocations: 2.877 MB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001685/0.08827, allocations: 0.9028 MB / 475.7 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001767/0.08847, allocations: 11.94 kB / 475.7 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002782/0.08875, allocations: 83.19 kB / 475.8 MB, free: 9.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.08898, allocations: 51.53 kB / 475.8 MB, free: 9.387 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.08984, allocations: 283.2 kB / 476.1 MB, free: 9.109 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000518/0.09037, allocations: 411 kB / 476.5 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.0908, allocations: 241.8 kB / 476.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003151/0.09112, allocations: 199.3 kB / 476.9 MB, free: 8.273 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.09143, allocations: 234.9 kB / 477.2 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.054e-05/0.09151, allocations: 44 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.09182, allocations: 195.8 kB / 477.4 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001577/0.09199, allocations: 151.5 kB / 477.5 MB, free: 7.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.0922, allocations: 218.8 kB / 477.7 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007162/0.09293, allocations: 0.6663 MB / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.09294, allocations: 0 / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.09295, allocations: 0 / 478.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.476e-05/0.09297, allocations: 3.984 kB / 478.4 MB, free: 6.773 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: 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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001684/0.09466, allocations: 1.139 MB / 479.6 MB, free: 5.535 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.0947, allocations: 8.031 kB / 479.6 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.48e-05/0.0948, allocations: 90.69 kB / 479.7 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.0949, allocations: 48.38 kB / 479.7 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004092/0.09532, allocations: 327.8 kB / 480 MB, free: 5.023 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.09537, allocations: 37.36 kB / 480.1 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.971e-05/0.09544, allocations: 32.38 kB / 480.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007662/0.09621, allocations: 488 kB / 480.6 MB, free: 4.461 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.09624, allocations: 3.938 kB / 480.6 MB, free: 4.457 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.146e-05/0.09628, allocations: 15.98 kB / 480.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.0963, allocations: 12 kB / 480.6 MB, free: 4.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004747/0.09678, allocations: 267.7 kB / 480.9 MB, free: 4.168 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001692/0.09848, allocations: 1.363 MB / 482.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.09905, allocations: 305.8 kB / 482.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.09929, allocations: 166.6 kB / 482.7 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.09933, allocations: 4 kB / 482.7 MB, free: 2.227 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003655/0.0997, allocations: 259.3 kB / 482.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.164e-06/0.09971, allocations: 3.938 kB / 482.9 MB, free: 1.941 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001067/0.1008, allocations: 0.587 MB / 483.5 MB, free: 1.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001938/0.101, allocations: 160.4 kB / 483.7 MB, free: 1.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.1013, allocations: 238.8 kB / 483.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.1014, allocations: 49.62 kB / 484 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001336/0.1015, allocations: 204.3 kB / 484.2 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.1016, allocations: 106.7 kB / 484.3 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.1018, allocations: 122.2 kB / 484.4 MB, free: 440 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1019, allocations: 346.7 kB / 484.7 MB, free: 84 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002307/0.1022, allocations: 125 kB / 484.9 MB, free: 15.96 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003484/0.1025, allocations: 336.1 kB / 485.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006303/0.1032, allocations: 0.4943 MB / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.1032, allocations: 0 / 485.7 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009491/0.1041, allocations: 0.5011 MB / 486.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.1042, allocations: 8 kB / 486.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/0.1042, allocations: 8 kB / 486.2 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/0.1042, allocations: 8 kB / 486.2 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002702/0.1045, allocations: 87.77 kB / 486.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/0.1045, allocations: 8 kB / 486.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.1048, allocations: 39.59 kB / 486.3 MB, free: 14.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.1048, allocations: 31.98 kB / 486.4 MB, free: 14.25 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getFloat.pkgOut[1].trigger,$whenCondition1,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003327/0.1052, allocations: 249.7 kB / 486.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.61e-05/0.1053, allocations: 31.7 kB / 486.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004059/0.1057, allocations: 227.5 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.1057, allocations: 4 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1057, allocations: 0 / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.1057, allocations: 3.984 kB / 486.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.1071, allocations: 1.046 MB / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.1071, allocations: 0 / 487.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.998e-05/0.1072, allocations: 16.05 kB / 487.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1072, allocations: 4.094 kB / 487.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.66e-05/0.1072, allocations: 15.86 kB / 487.9 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1072, allocations: 4 kB / 488 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1072, allocations: 0 / 488 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008985/0.1081, allocations: 0.6758 MB / 488.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.1082, allocations: 100.8 kB / 488.7 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.206e-05/0.1082, allocations: 15.92 kB / 488.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.1084, allocations: 0 / 488.7 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.43e-05/0.1084, allocations: 23.97 kB / 488.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.895e-05/0.1085, allocations: 23.98 kB / 488.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001107/0.1086, allocations: 139 kB / 488.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1086, allocations: 0 / 488.9 MB, free: 11.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005976/0.1092, allocations: 151.5 kB / 489.1 MB, free: 11.42 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001721/0.111, allocations: 1.447 MB / 490.5 MB, free: 10 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000732/0.1117, allocations: 371.4 kB / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1117, allocations: 1.75 kB / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002604/0.112, allocations: 162.7 kB / 491 MB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.1126, allocations: 88.98 kB / 491.1 MB, free: 9.398 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004631/0.1172, allocations: 3.52 MB / 494.6 MB, free: 5.598 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005389/0.1178, allocations: 0.8151 MB / 495.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001727/0.118, allocations: 50.92 kB / 495.5 MB, free: 4.703 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001748/0.1182, allocations: 115.4 kB / 495.6 MB, free: 4.59 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1182, allocations: 4 kB / 495.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02828/0.1465, allocations: 8.429 MB / 0.4922 GB, free: 12.38 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.772/7.919, allocations: 8.25 kB / 0.4923 GB, free: 12.37 MB / 382.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPAutoBufferSize.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe 2>&1)