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.001163/0.001163, allocations: 102.9 kB / 16.31 MB, free: 6.359 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.00118/0.00118, allocations: 189.8 kB / 17.24 MB, free: 5.875 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.19 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.05833/0.05833, allocations: 12.05 MB / 303.1 MB, free: 3.176 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 63.91 kB / 366.6 MB, free: 3.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2119, allocations: 52.33 MB / 418.9 MB, free: 21.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.004512/0.2164, allocations: 2.88 MB / 421.8 MB, free: 18.18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.2179, allocations: 0.9028 MB / 422.7 MB, free: 17.27 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002873/0.2182, allocations: 7.938 kB / 422.7 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003265/0.2186, allocations: 79.2 kB / 422.8 MB, free: 17.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003166/0.2189, allocations: 59.45 kB / 422.8 MB, free: 17.13 MB / 302.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.0009451/0.2199, allocations: 295.2 kB / 423.1 MB, free: 16.84 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005161/0.2204, allocations: 395.1 kB / 423.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003802/0.2208, allocations: 246.1 kB / 423.7 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002307/0.2211, allocations: 199.2 kB / 423.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003157/0.2214, allocations: 231 kB / 424.2 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.815e-05/0.2215, allocations: 48 kB / 424.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003362/0.2218, allocations: 195.8 kB / 424.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.222, allocations: 147.6 kB / 424.5 MB, free: 15.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001473/0.2221, allocations: 214.8 kB / 424.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005722/0.2227, allocations: 0.6465 MB / 425.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2227, allocations: 4 kB / 425.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.2227, allocations: 0 / 425.4 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.215e-05/0.2227, allocations: 0 / 425.4 MB, free: 14.55 MB / 302.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.00131/0.2241, allocations: 1.13 MB / 426.5 MB, free: 13.31 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.2241, allocations: 8.031 kB / 426.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.052e-05/0.2242, allocations: 82.7 kB / 426.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.109e-05/0.2243, allocations: 48.38 kB / 426.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000273/0.2246, allocations: 323.5 kB / 427 MB, free: 12.81 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.2246, allocations: 41.36 kB / 427 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.174e-05/0.2246, allocations: 32.38 kB / 427.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005984/0.2253, allocations: 491.9 kB / 427.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.2253, allocations: 7.938 kB / 427.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.382e-05/0.2253, allocations: 20 kB / 427.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.2253, allocations: 8 kB / 427.6 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003533/0.2257, allocations: 259.8 kB / 427.8 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.2268, allocations: 1.374 MB / 429.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000426/0.2273, allocations: 306.3 kB / 429.5 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001762/0.2275, allocations: 155.4 kB / 429.7 MB, free: 10.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.2275, allocations: 8.062 kB / 429.7 MB, free: 10 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002749/0.2278, allocations: 267.3 kB / 429.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.2278, allocations: 0 / 429.9 MB, free: 9.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.0008299/0.2286, allocations: 0.5985 MB / 430.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/0.2287, allocations: 152.5 kB / 430.7 MB, free: 8.926 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.2288, allocations: 238.9 kB / 430.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.821e-05/0.2289, allocations: 41.7 kB / 430.9 MB, free: 8.637 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.541e-05/0.229, allocations: 204.2 kB / 431.1 MB, free: 8.434 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.888e-05/0.229, allocations: 110.7 kB / 431.2 MB, free: 8.324 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.2291, allocations: 118.2 kB / 431.4 MB, free: 8.203 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.971e-05/0.2292, allocations: 350.7 kB / 431.7 MB, free: 7.852 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.2294, allocations: 121 kB / 431.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002273/0.2296, allocations: 332.1 kB / 432.1 MB, free: 7.312 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004494/0.2301, allocations: 0.4981 MB / 432.6 MB, free: 6.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.2301, allocations: 4 kB / 432.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0006071/0.2307, allocations: 0.4973 MB / 433.1 MB, free: 6.211 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.2307, allocations: 8 kB / 433.2 MB, free: 6.203 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.2307, allocations: 8 kB / 433.2 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.2308, allocations: 8 kB / 433.2 MB, free: 6.188 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.231, allocations: 87.89 kB / 433.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/0.231, allocations: 11.94 kB / 433.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.2312, allocations: 47.52 kB / 433.3 MB, free: 6.043 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.721e-05/0.2312, allocations: 24 kB / 433.3 MB, free: 6.02 MB / 302.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.0001971/0.2314, allocations: 241.9 kB / 433.6 MB, free: 5.773 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.2315, allocations: 27.7 kB / 433.6 MB, free: 5.746 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003286/0.2318, allocations: 246 kB / 433.8 MB, free: 5.504 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.2318, allocations: 4 kB / 433.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.2318, allocations: 0 / 433.8 MB, free: 5.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.2319, allocations: 7.984 kB / 433.9 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009712/0.2328, allocations: 1.028 MB / 434.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2328, allocations: 0 / 434.9 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.167e-05/0.2329, allocations: 15.92 kB / 434.9 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2329, allocations: 4 kB / 434.9 MB, free: 4.387 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.2329, allocations: 15.92 kB / 434.9 MB, free: 4.371 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.2329, allocations: 4 kB / 434.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.233, allocations: 0 / 434.9 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006229/0.2336, allocations: 0.6617 MB / 435.6 MB, free: 3.68 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.727e-05/0.2336, allocations: 104.7 kB / 435.7 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.147e-05/0.2337, allocations: 19.86 kB / 435.7 MB, free: 3.539 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001431/0.2338, allocations: 7.984 kB / 435.7 MB, free: 3.531 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2339, allocations: 19.98 kB / 435.7 MB, free: 3.512 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.2339, allocations: 19.98 kB / 435.8 MB, free: 3.492 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.762e-05/0.234, allocations: 139 kB / 435.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.234, allocations: 0 / 435.9 MB, free: 3.355 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005457/0.2346, allocations: 151.6 kB / 436 MB, free: 3.207 MB / 302.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.001273/0.2358, allocations: 1.456 MB / 437.5 MB, free: 1.777 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005286/0.2364, allocations: 385.1 kB / 437.9 MB, free: 1.402 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.2364, allocations: 4 kB / 437.9 MB, free: 1.398 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002137/0.2366, allocations: 171.8 kB / 438 MB, free: 1.23 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005637/0.2372, allocations: 70.38 kB / 438.1 MB, free: 1.164 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.2409, allocations: 3.528 MB / 441.6 MB, free: 13.36 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.2412, allocations: 0.8112 MB / 442.4 MB, free: 12.52 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000137/0.2414, allocations: 51.31 kB / 442.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001422/0.2415, allocations: 119.4 kB / 442.6 MB, free: 12.35 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.2416, allocations: 7.875 kB / 442.6 MB, free: 12.34 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02457/0.2661, allocations: 8.285 MB / 450.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.834/8.1, allocations: 6.391 kB / 450.9 MB, free: 4.258 MB / 318.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)