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.001271/0.001271, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.00121/0.00121, allocations: 186.4 kB / 17.39 MB, free: 5.688 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.06 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.05676/0.05676, allocations: 12.04 MB / 303.3 MB, free: 3.078 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001926/0.001927, allocations: 63.89 kB / 419.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09898/0.1009, allocations: 52.31 MB / 471.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004586/0.1056, allocations: 2.939 MB / 474.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.1076, allocations: 1.218 MB / 476 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002095/0.1078, allocations: 11.94 kB / 476.1 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1082, allocations: 79.2 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.1085, allocations: 63.44 kB / 476.2 MB, free: 8.996 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.000823/0.1093, allocations: 283.2 kB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004667/0.1098, allocations: 414.9 kB / 476.9 MB, free: 8.312 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003679/0.1102, allocations: 243.2 kB / 477.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002467/0.1104, allocations: 211.2 kB / 477.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000325/0.1108, allocations: 239 kB / 477.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.483e-05/0.1108, allocations: 44 kB / 477.6 MB, free: 7.586 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003241/0.1112, allocations: 195.8 kB / 477.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1114, allocations: 151.6 kB / 477.9 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1116, allocations: 222.7 kB / 478.2 MB, free: 7.027 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000821/0.1124, allocations: 0.6769 MB / 478.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1124, allocations: 0 / 478.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.1124, allocations: 0 / 478.8 MB, free: 6.348 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.136e-05/0.1125, allocations: 0 / 478.8 MB, free: 6.348 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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001801/0.1143, allocations: 1.172 MB / 480 MB, free: 5.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1143, allocations: 8.031 kB / 480 MB, free: 5.07 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001033/0.1144, allocations: 82.7 kB / 480.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001328/0.1146, allocations: 56.59 kB / 480.2 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.115, allocations: 332.5 kB / 480.5 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.1151, allocations: 29.38 kB / 480.5 MB, free: 4.531 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-05/0.1151, allocations: 44.36 kB / 480.5 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008377/0.116, allocations: 493.5 kB / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.116, allocations: 0 / 481 MB, free: 3.98 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.58e-05/0.1161, allocations: 19.98 kB / 481.1 MB, free: 3.961 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.208e-05/0.1161, allocations: 12 kB / 481.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005238/0.1166, allocations: 270 kB / 481.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1184, allocations: 1.444 MB / 482.8 MB, free: 2.168 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005517/0.119, allocations: 321.2 kB / 483.1 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002374/0.1193, allocations: 174.4 kB / 483.3 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.153e-05/0.1193, allocations: 7.984 kB / 483.3 MB, free: 1.613 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003791/0.1197, allocations: 264.1 kB / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 2.575e-06/0.1197, allocations: 0 / 483.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.001138/0.1208, allocations: 0.5948 MB / 484.1 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001272/0.121, allocations: 190.1 kB / 484.3 MB, free: 0.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002746/0.1213, allocations: 244 kB / 484.5 MB, free: 256 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.082e-05/0.1213, allocations: 45.69 kB / 484.6 MB, free: 204 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001856/0.1215, allocations: 209.6 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001248/0.1217, allocations: 111.5 kB / 484.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001915/0.1219, allocations: 130.2 kB / 485 MB, free: 15.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.122, allocations: 346.7 kB / 485.4 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.1223, allocations: 125 kB / 485.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.1226, allocations: 341 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006249/0.1233, allocations: 0.5145 MB / 486.3 MB, free: 14.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.862e-06/0.1233, allocations: 4 kB / 486.3 MB, free: 14.22 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008368/0.1241, allocations: 0.5013 MB / 486.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1242, allocations: 8 kB / 486.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.392e-05/0.1242, allocations: 7.75 kB / 486.9 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.302e-05/0.1242, allocations: 12 kB / 486.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.1245, allocations: 79.83 kB / 486.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.1245, allocations: 15.94 kB / 487 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00021/0.1247, allocations: 39.73 kB / 487 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.1248, allocations: 31.98 kB / 487 MB, free: 13.53 MB / 366.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.0002644/0.125, allocations: 234.1 kB / 487.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.85e-05/0.1251, allocations: 43.67 kB / 487.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/0.1257, allocations: 377.5 kB / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.1257, allocations: 4 kB / 487.7 MB, free: 12.87 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.045e-05/0.1257, allocations: 11.98 kB / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1258, allocations: 0 / 487.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.1271, allocations: 0.965 MB / 488.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.1271, allocations: 0 / 488.6 MB, free: 11.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.1271, allocations: 12 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.1272, allocations: 3.938 kB / 488.7 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.205e-05/0.1272, allocations: 15.98 kB / 488.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.1272, allocations: 3.938 kB / 488.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1272, allocations: 4 kB / 488.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008585/0.1281, allocations: 0.608 MB / 489.3 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-05/0.1282, allocations: 100.9 kB / 489.4 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.1282, allocations: 16.05 kB / 489.4 MB, free: 11.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/0.1284, allocations: 23.86 kB / 489.4 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.949e-05/0.1284, allocations: 15.98 kB / 489.4 MB, free: 10.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.126e-05/0.1285, allocations: 16.08 kB / 489.5 MB, free: 10.97 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001367/0.1286, allocations: 151.1 kB / 489.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1286, allocations: 0 / 489.6 MB, free: 10.82 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000645/0.1293, allocations: 159.5 kB / 489.8 MB, free: 10.67 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: 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.001934/0.1312, allocations: 1.387 MB / 491.2 MB, free: 9.309 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007014/0.132, allocations: 381 kB / 491.5 MB, free: 8.938 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.259e-06/0.132, allocations: 4.125 kB / 491.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002898/0.1323, allocations: 167.8 kB / 491.7 MB, free: 8.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005602/0.1328, allocations: 72.42 kB / 491.8 MB, free: 8.703 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004595/0.1375, allocations: 3.515 MB / 495.3 MB, free: 4.898 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.1379, allocations: 0.819 MB / 496.1 MB, free: 4.051 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001445/0.138, allocations: 46.95 kB / 496.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001597/0.1382, allocations: 115.4 kB / 496.3 MB, free: 3.891 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1382, allocations: 4 kB / 496.3 MB, free: 3.887 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02562/0.1638, allocations: 8.539 MB / 0.493 GB, free: 11.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.972/8.136, allocations: 14.98 kB / 0.493 GB, free: 11.56 MB / 382.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)