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.0011/0.0011, allocations: 106.2 kB / 16.45 MB, free: 6.395 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.001102/0.001102, allocations: 186.1 kB / 17.38 MB, free: 5.676 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.323/1.323, allocations: 222.9 MB / 241.1 MB, free: 15.1 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.05943/0.05943, allocations: 12.05 MB / 303.3 MB, free: 3.102 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001139/0.001139, allocations: 59.91 kB / 419.6 MB, free: 17.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.08023, allocations: 52.32 MB / 471.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004018/0.08429, allocations: 2.915 MB / 474.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001445/0.08575, allocations: 0.9184 MB / 475.7 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001129/0.08587, allocations: 7.938 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002397/0.08612, allocations: 79.2 kB / 475.8 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001924/0.08633, allocations: 67.39 kB / 475.9 MB, free: 9.344 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.0006197/0.08697, allocations: 279.3 kB / 476.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.08736, allocations: 407 kB / 476.6 MB, free: 8.672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003347/0.08771, allocations: 249.8 kB / 476.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.08788, allocations: 199.3 kB / 477 MB, free: 8.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002556/0.08814, allocations: 234.9 kB / 477.2 MB, free: 8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.08822, allocations: 44 kB / 477.3 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.08848, allocations: 199.8 kB / 477.5 MB, free: 7.762 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.08862, allocations: 151.5 kB / 477.6 MB, free: 7.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001666/0.08879, allocations: 210.8 kB / 477.8 MB, free: 7.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005845/0.08939, allocations: 0.6783 MB / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.0894, allocations: 0 / 478.5 MB, free: 6.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.08941, allocations: 7.938 kB / 478.5 MB, free: 6.719 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.08942, 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.001402/0.09082, allocations: 1.148 MB / 479.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.09087, allocations: 12.03 kB / 479.7 MB, free: 5.457 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.129e-05/0.09095, allocations: 82.7 kB / 479.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.893e-05/0.09105, allocations: 52.36 kB / 479.8 MB, free: 5.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003567/0.09141, allocations: 331.8 kB / 480.1 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.293e-05/0.09145, allocations: 29.38 kB / 480.1 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.645e-05/0.09152, allocations: 44.36 kB / 480.2 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007247/0.09225, allocations: 0.4902 MB / 480.7 MB, free: 4.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.09227, allocations: 3.938 kB / 480.7 MB, free: 4.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.09232, allocations: 20 kB / 480.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.09233, allocations: 12 kB / 480.7 MB, free: 4.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004425/0.09278, allocations: 266 kB / 481 MB, free: 4.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.09424, allocations: 1.432 MB / 482.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005014/0.09475, allocations: 313 kB / 482.7 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000224/0.09499, allocations: 168.2 kB / 482.9 MB, free: 2.035 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.811e-05/0.09503, allocations: 16.05 kB / 482.9 MB, free: 2.02 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.09539, allocations: 267.6 kB / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of pre-optimization done (n=44): time 2.044e-06/0.0954, allocations: 0 / 483.1 MB, free: 1.727 MB / 350.1 MB Notification: Performance of matching and sorting (n=44): time 0.001067/0.09647, allocations: 0.5985 MB / 483.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.09658, allocations: 194.3 kB / 483.9 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002062/0.0968, allocations: 238.9 kB / 484.2 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.508e-05/0.09685, allocations: 45.69 kB / 484.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.09697, allocations: 208.9 kB / 484.4 MB, free: 404 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.007e-05/0.09707, allocations: 110.7 kB / 484.5 MB, free: 292 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.09721, allocations: 126.1 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001328/0.09735, allocations: 346.8 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.09757, allocations: 129 kB / 485.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000358/0.09794, allocations: 346.7 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006149/0.09856, allocations: 0.5193 MB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.09858, allocations: 4 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007588/0.09934, allocations: 0.5004 MB / 486.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.337e-05/0.09937, allocations: 12.89 kB / 486.5 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/0.0994, allocations: 8 kB / 486.5 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.09942, allocations: 12 kB / 486.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002602/0.09969, allocations: 87.77 kB / 486.6 MB, free: 13.99 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.09971, allocations: 19.88 kB / 486.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.0999, allocations: 47.53 kB / 486.7 MB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.571e-05/0.09994, allocations: 27.98 kB / 486.7 MB, free: 13.9 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.0002607/0.1002, allocations: 238.4 kB / 486.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.69e-05/0.1003, allocations: 27.72 kB / 486.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005919/0.1009, allocations: 388.9 kB / 487.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.1009, allocations: 4 kB / 487.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1009, allocations: 7.938 kB / 487.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.1009, allocations: 3.984 kB / 487.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.1022, allocations: 0.9527 MB / 488.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.1022, allocations: 7.938 kB / 488.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.1022, allocations: 15.98 kB / 488.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.1022, allocations: 0 / 488.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.785e-05/0.1023, allocations: 15.98 kB / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.1023, allocations: 0 / 488.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.1023, allocations: 8.062 kB / 488.3 MB, free: 12.17 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007877/0.1031, allocations: 0.612 MB / 489 MB, free: 11.53 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.593e-05/0.1032, allocations: 104.7 kB / 489.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.1032, allocations: 11.97 kB / 489.1 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001215/0.1033, allocations: 11.98 kB / 489.1 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.087e-05/0.1034, allocations: 23.84 kB / 489.1 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.646e-05/0.1034, allocations: 19.98 kB / 489.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.1035, allocations: 143 kB / 489.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1035, allocations: 0 / 489.3 MB, free: 11.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005764/0.1041, allocations: 155.5 kB / 489.4 MB, free: 11.05 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.001622/0.1058, allocations: 1.375 MB / 490.8 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005934/0.1064, allocations: 395.2 kB / 491.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1064, allocations: 1.812 kB / 491.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002678/0.1067, allocations: 171.8 kB / 491.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005108/0.1072, allocations: 74.86 kB / 491.4 MB, free: 9.066 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.1113, allocations: 3.474 MB / 494.9 MB, free: 5.289 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003711/0.1117, allocations: 0.8192 MB / 495.7 MB, free: 4.441 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001346/0.1118, allocations: 46.95 kB / 495.8 MB, free: 4.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.112, allocations: 126.4 kB / 495.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.112, allocations: 0 / 495.9 MB, free: 4.277 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0237/0.1357, allocations: 8.508 MB / 0.4926 GB, free: 11.99 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.852/7.987, allocations: 2.969 kB / 0.4926 GB, free: 11.99 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)