Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPExternalTrigger",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.00188/0.00188, allocations: 106.3 kB / 16.31 MB, free: 5.879 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.002302/0.002302, allocations: 191.2 kB / 17.24 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.327/1.327, allocations: 222.9 MB / 240.9 MB, free: 15.17 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.05895/0.05895, allocations: 12.05 MB / 303.1 MB, free: 3.156 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001386/0.001386, allocations: 71.88 kB / 366.6 MB, free: 3.668 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2222, allocations: 52.33 MB / 418.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.003725/0.2259, allocations: 2.923 MB / 421.8 MB, free: 18.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.2276, allocations: 1.208 MB / 423 MB, free: 16.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.2278, allocations: 11.94 kB / 423.1 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.228, allocations: 83.2 kB / 423.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.2283, allocations: 55.45 kB / 423.2 MB, free: 16.75 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.0005822/0.2288, allocations: 283.2 kB / 423.5 MB, free: 16.47 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.2292, allocations: 411 kB / 423.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002879/0.2295, allocations: 245.2 kB / 424.1 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.2296, allocations: 199.3 kB / 424.3 MB, free: 15.63 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001913/0.2298, allocations: 238.8 kB / 424.5 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.256e-05/0.2299, allocations: 44 kB / 424.6 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.2301, allocations: 207.8 kB / 424.8 MB, free: 15.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.2302, allocations: 155.6 kB / 424.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.2303, allocations: 218.8 kB / 425.1 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004453/0.2308, allocations: 0.6465 MB / 425.8 MB, free: 14.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2308, allocations: 4 kB / 425.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2308, allocations: 0 / 425.8 MB, free: 14.13 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.733e-06/0.2308, allocations: 0 / 425.8 MB, free: 14.13 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001172/0.232, allocations: 1.143 MB / 426.9 MB, free: 12.89 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.232, allocations: 11.97 kB / 427 MB, free: 12.88 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.39e-05/0.2321, allocations: 86.7 kB / 427 MB, free: 12.79 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.2322, allocations: 48.38 kB / 427.1 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003016/0.2325, allocations: 320.5 kB / 427.4 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.08e-05/0.2325, allocations: 33.36 kB / 427.4 MB, free: 12.36 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.147e-05/0.2326, allocations: 40.38 kB / 427.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/0.2332, allocations: 0.4937 MB / 428 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.2332, allocations: 4 kB / 428 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/0.2333, allocations: 15.98 kB / 428 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.2333, allocations: 11.98 kB / 428 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003776/0.2337, allocations: 266 kB / 428.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001194/0.2349, allocations: 1.463 MB / 429.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004433/0.2353, allocations: 313.3 kB / 430 MB, free: 9.621 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2355, allocations: 172.4 kB / 430.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.2355, allocations: 4 kB / 430.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002977/0.2359, allocations: 268.1 kB / 430.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of pre-optimization done (n=43): time 2.655e-06/0.2359, allocations: 7.922 kB / 430.5 MB, free: 9.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=43): time 0.0008604/0.2367, allocations: 0.5969 MB / 431.1 MB, free: 8.531 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.281e-05/0.2368, allocations: 182.2 kB / 431.2 MB, free: 8.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.237, allocations: 251.8 kB / 431.5 MB, free: 8.055 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.237, allocations: 41.95 kB / 431.5 MB, free: 8.008 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.722e-05/0.2371, allocations: 205 kB / 431.7 MB, free: 7.805 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.396e-05/0.2372, allocations: 110.6 kB / 431.8 MB, free: 7.695 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.2373, allocations: 130.1 kB / 432 MB, free: 7.562 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.493e-05/0.2374, allocations: 342.8 kB / 432.3 MB, free: 7.219 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001737/0.2376, allocations: 121 kB / 432.4 MB, free: 7.098 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002249/0.2378, allocations: 337 kB / 432.7 MB, free: 6.672 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004362/0.2382, allocations: 0.5145 MB / 433.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.2383, allocations: 0 / 433.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006247/0.2389, allocations: 0.4969 MB / 433.8 MB, free: 5.555 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.2389, allocations: 8 kB / 433.8 MB, free: 5.547 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2389, allocations: 11.94 kB / 433.8 MB, free: 5.535 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.239, allocations: 8 kB / 433.8 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.2392, allocations: 87.77 kB / 433.9 MB, free: 5.441 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.37e-05/0.2392, allocations: 20.48 kB / 433.9 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.2394, allocations: 43.66 kB / 433.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.88e-05/0.2394, allocations: 28 kB / 434 MB, free: 5.352 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],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 (67): * Single equations (assignments): 67 * 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.0002116/0.2397, allocations: 241.8 kB / 434.2 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.129e-05/0.2397, allocations: 23.72 kB / 434.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005/0.2402, allocations: 400.5 kB / 434.6 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.372e-06/0.2402, allocations: 4 kB / 434.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2403, allocations: 0 / 434.6 MB, free: 4.68 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2403, allocations: 7.984 kB / 434.6 MB, free: 4.672 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.2413, allocations: 0.9554 MB / 435.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.2413, allocations: 0 / 435.6 MB, free: 3.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.333e-05/0.2414, allocations: 15.98 kB / 435.6 MB, free: 3.645 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2414, allocations: 8 kB / 435.6 MB, free: 3.637 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.409e-05/0.2414, allocations: 15.92 kB / 435.6 MB, free: 3.621 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.2414, allocations: 4 kB / 435.6 MB, free: 3.617 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.2414, allocations: 3.938 kB / 435.6 MB, free: 3.613 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000622/0.242, allocations: 0.5962 MB / 436.2 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.849e-05/0.2421, allocations: 108.7 kB / 436.3 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.164e-05/0.2421, allocations: 15.92 kB / 436.3 MB, free: 2.848 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2423, allocations: 4 kB / 436.3 MB, free: 2.844 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.2423, allocations: 27.91 kB / 436.4 MB, free: 2.816 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2424, allocations: 15.98 kB / 436.4 MB, free: 2.801 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.486e-05/0.2424, allocations: 143.2 kB / 436.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2424, allocations: 0 / 436.5 MB, free: 2.66 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004995/0.2429, allocations: 155.6 kB / 436.7 MB, free: 2.508 MB / 302.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: 38 (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,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 (35): * Single equations (assignments): 12 * 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.001256/0.2442, allocations: 1.385 MB / 438.1 MB, free: 1.145 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005816/0.2448, allocations: 416.2 kB / 438.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2448, allocations: 0 / 438.5 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002275/0.245, allocations: 167.8 kB / 438.6 MB, free: 0.5742 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2456, allocations: 80.09 kB / 438.7 MB, free: 0.5039 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004125/0.2497, allocations: 3.518 MB / 442.2 MB, free: 12.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.2501, allocations: 0.8153 MB / 443 MB, free: 11.85 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.2503, allocations: 51.09 kB / 443.1 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.2505, allocations: 127.3 kB / 443.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2505, allocations: 0 / 443.2 MB, free: 11.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02612/0.2766, allocations: 8.39 MB / 451.6 MB, free: 3.484 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.712/7.989, allocations: 7.672 kB / 451.6 MB, free: 3.48 MB / 318.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger_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_UDPExternalTrigger.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe 2>&1)