Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",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.001368/0.001368, allocations: 104.5 kB / 16.44 MB, free: 5.914 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.001125/0.001125, allocations: 195.5 kB / 17.38 MB, free: 5.539 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.33/1.33, allocations: 222.9 MB / 241.1 MB, free: 15.09 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.05765/0.05765, allocations: 12.05 MB / 303.3 MB, free: 3.105 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001227, allocations: 63.91 kB / 419.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1012/0.1025, allocations: 52.32 MB / 471.9 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004626/0.1071, allocations: 2.91 MB / 474.8 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.1089, allocations: 0.9223 MB / 475.7 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.1091, allocations: 11.94 kB / 475.7 MB, free: 9.5 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002776/0.1093, allocations: 79.22 kB / 475.8 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1096, allocations: 59.44 kB / 475.9 MB, free: 9.363 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.0007084/0.1103, allocations: 291.2 kB / 476.2 MB, free: 9.078 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004624/0.1108, allocations: 407 kB / 476.5 MB, free: 8.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003693/0.1112, allocations: 251.2 kB / 476.8 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002183/0.1114, allocations: 199.3 kB / 477 MB, free: 8.234 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002759/0.1117, allocations: 242.8 kB / 477.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.706e-05/0.1118, allocations: 44 kB / 477.3 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.1121, allocations: 191.8 kB / 477.5 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.1123, allocations: 151.6 kB / 477.6 MB, free: 7.617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001869/0.1124, allocations: 214.8 kB / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007504/0.1132, allocations: 0.673 MB / 478.5 MB, free: 6.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1132, allocations: 4 kB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.1132, allocations: 7.922 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.1132, allocations: 0 / 478.5 MB, free: 6.719 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: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001629/0.1149, allocations: 1.162 MB / 479.7 MB, free: 5.453 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.1149, allocations: 12.03 kB / 479.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.557e-05/0.115, allocations: 82.7 kB / 479.8 MB, free: 5.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.773e-05/0.1151, allocations: 56.55 kB / 479.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003797/0.1155, allocations: 328 kB / 480.1 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.1156, allocations: 37.3 kB / 480.2 MB, free: 4.902 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/0.1156, allocations: 44.36 kB / 480.2 MB, free: 4.859 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007412/0.1164, allocations: 494 kB / 480.7 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.86e-05/0.1164, allocations: 7.875 kB / 480.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.1164, allocations: 15.98 kB / 480.7 MB, free: 4.328 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.1165, allocations: 12 kB / 480.7 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.1169, allocations: 266 kB / 481 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.1186, allocations: 1.436 MB / 482.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005865/0.1192, allocations: 317 kB / 482.7 MB, free: 2.191 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002552/0.1195, allocations: 168.2 kB / 482.9 MB, free: 2.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.7e-05/0.1195, allocations: 4.078 kB / 482.9 MB, free: 2.008 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004187/0.1199, allocations: 275.6 kB / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.805e-06/0.12, allocations: 0 / 483.2 MB, free: 1.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001136/0.1211, allocations: 0.6027 MB / 483.8 MB, free: 1.098 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001192/0.1212, allocations: 190.1 kB / 484 MB, free: 0.875 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002667/0.1215, allocations: 246.9 kB / 484.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.1216, allocations: 41.7 kB / 484.2 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1217, allocations: 205.7 kB / 484.4 MB, free: 384 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.735e-05/0.1218, allocations: 119.2 kB / 484.6 MB, free: 264 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001702/0.122, allocations: 126.2 kB / 484.7 MB, free: 132 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1221, allocations: 338.8 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002287/0.1224, allocations: 137 kB / 485.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.1227, allocations: 346.7 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006488/0.1234, allocations: 0.5193 MB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.774e-06/0.1234, allocations: 8 kB / 486 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000853/0.1243, allocations: 0.5088 MB / 486.5 MB, free: 14.07 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.639e-05/0.1243, allocations: 8 kB / 486.5 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.1243, allocations: 8 kB / 486.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.414e-05/0.1244, allocations: 8 kB / 486.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002922/0.1247, allocations: 87.77 kB / 486.6 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.95e-05/0.1247, allocations: 15.94 kB / 486.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1249, allocations: 52.06 kB / 486.7 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.125, allocations: 28 kB / 486.7 MB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 61 (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,addFloat.pkgOut[1].dummy,$PRE.addFloat.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,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,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,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 (69): * Single equations (assignments): 69 * 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.0003677/0.1253, allocations: 246.1 kB / 487 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.181e-05/0.1254, allocations: 31.81 kB / 487 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006975/0.1261, allocations: 389 kB / 487.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.1262, allocations: 8 kB / 487.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/0.1262, allocations: 3.938 kB / 487.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.1262, allocations: 0 / 487.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.1277, allocations: 0.9474 MB / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.341e-06/0.1277, allocations: 3.938 kB / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.841e-05/0.1278, allocations: 19.94 kB / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.1278, allocations: 0 / 488.4 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.1278, allocations: 19.97 kB / 488.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1278, allocations: 0 / 488.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.1278, allocations: 4 kB / 488.4 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008152/0.1287, allocations: 0.6083 MB / 489 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.973e-05/0.1287, allocations: 112.8 kB / 489.1 MB, free: 11.37 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.771e-05/0.1288, allocations: 12.08 kB / 489.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.1289, allocations: 11.94 kB / 489.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.129, allocations: 27.83 kB / 489.1 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.966e-05/0.129, allocations: 19.98 kB / 489.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001061/0.1291, allocations: 135 kB / 489.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1291, allocations: 0 / 489.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006527/0.1298, allocations: 159.5 kB / 489.5 MB, free: 11.01 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],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,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * 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.001753/0.1316, allocations: 1.395 MB / 490.9 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006958/0.1323, allocations: 388.4 kB / 491.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1323, allocations: 0 / 491.2 MB, free: 9.258 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002669/0.1326, allocations: 171.8 kB / 491.4 MB, free: 9.09 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005331/0.1331, allocations: 78.08 kB / 491.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004102/0.1372, allocations: 3.497 MB / 495 MB, free: 5.219 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003825/0.1376, allocations: 0.8151 MB / 495.8 MB, free: 4.375 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001624/0.1378, allocations: 51.09 kB / 495.8 MB, free: 4.328 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/0.138, allocations: 119.4 kB / 496 MB, free: 4.211 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.138, allocations: 0 / 496 MB, free: 4.211 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.1663, allocations: 8.508 MB / 0.4926 GB, free: 11.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.192/8.358, allocations: 4.5 kB / 0.4926 GB, free: 11.92 MB / 382.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_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_UDPWithoutReceiveThread.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe 2>&1)