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.001231/0.001231, allocations: 108.9 kB / 16.45 MB, free: 6.441 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.001677/0.001677, allocations: 188.9 kB / 17.39 MB, free: 5.691 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.318/1.318, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05777/0.05777, allocations: 12.05 MB / 303.3 MB, free: 3.121 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 63.89 kB / 419.6 MB, free: 17.84 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08119/0.08251, allocations: 52.32 MB / 471.9 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004672/0.08722, allocations: 2.924 MB / 474.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.08933, allocations: 1.215 MB / 476 MB, free: 9.316 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002328/0.08959, allocations: 11.94 kB / 476.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003153/0.08991, allocations: 87.19 kB / 476.1 MB, free: 9.219 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002565/0.0902, allocations: 51.47 kB / 476.2 MB, free: 9.168 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.0008054/0.09102, allocations: 303.1 kB / 476.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.0915, allocations: 406.8 kB / 476.9 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003487/0.09186, allocations: 249.9 kB / 477.1 MB, free: 8.227 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002063/0.09208, allocations: 203.2 kB / 477.3 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.09234, allocations: 235 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.401e-05/0.09241, allocations: 44 kB / 477.6 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003229/0.09274, allocations: 195.8 kB / 477.8 MB, free: 7.562 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001477/0.0929, allocations: 147.5 kB / 477.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001812/0.09309, allocations: 222.7 kB / 478.1 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006659/0.09376, allocations: 0.6744 MB / 478.8 MB, free: 6.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.09378, allocations: 8 kB / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09378, allocations: 0 / 478.8 MB, free: 6.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.105e-05/0.0938, allocations: 0 / 478.8 MB, free: 6.516 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.001549/0.09535, allocations: 1.154 MB / 480 MB, free: 5.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.0954, allocations: 8.031 kB / 480 MB, free: 5.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.576e-05/0.09549, allocations: 82.7 kB / 480.1 MB, free: 5.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.197e-05/0.09559, allocations: 48.38 kB / 480.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.09597, allocations: 328.4 kB / 480.4 MB, free: 4.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.886e-05/0.09602, allocations: 41.36 kB / 480.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.621e-05/0.09608, allocations: 36.36 kB / 480.5 MB, free: 4.684 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007367/0.09682, allocations: 497.5 kB / 481 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.09685, allocations: 0 / 481 MB, free: 4.172 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.111e-05/0.09689, allocations: 19.98 kB / 481 MB, free: 4.152 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.166e-05/0.09691, allocations: 16 kB / 481 MB, free: 4.137 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004478/0.09736, allocations: 273.8 kB / 481.3 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001495/0.09887, allocations: 1.436 MB / 482.7 MB, free: 2.359 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005225/0.0994, allocations: 317.2 kB / 483.1 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002328/0.09965, allocations: 162.4 kB / 483.2 MB, free: 1.828 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.09969, allocations: 16.06 kB / 483.2 MB, free: 1.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003583/0.1001, allocations: 260 kB / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of pre-optimization done (n=43): time 1.914e-06/0.1001, allocations: 0 / 483.5 MB, free: 1.527 MB / 350.1 MB Notification: Performance of matching and sorting (n=43): time 0.001053/0.1011, allocations: 0.6127 MB / 484.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.1012, allocations: 182.1 kB / 484.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000225/0.1015, allocations: 252.1 kB / 484.5 MB, free: 448 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.865e-05/0.1015, allocations: 45.69 kB / 484.6 MB, free: 396 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1016, allocations: 197.1 kB / 484.8 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.835e-05/0.1017, allocations: 110.7 kB / 484.9 MB, free: 80 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/0.1019, allocations: 126.2 kB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.102, allocations: 346.8 kB / 485.3 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.1022, allocations: 121 kB / 485.4 MB, free: 15.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003391/0.1026, allocations: 345 kB / 485.8 MB, free: 15.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006107/0.1032, allocations: 0.5068 MB / 486.3 MB, free: 14.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.785e-06/0.1032, allocations: 4 kB / 486.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008124/0.104, allocations: 0.4967 MB / 486.8 MB, free: 13.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.1041, allocations: 10.19 kB / 486.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.1041, allocations: 11.94 kB / 486.8 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.1041, allocations: 12.75 kB / 486.8 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002731/0.1044, allocations: 83.77 kB / 486.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.499e-05/0.1044, allocations: 16 kB / 486.9 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002015/0.1046, allocations: 43.53 kB / 487 MB, free: 13.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.913e-05/0.1047, allocations: 27.98 kB / 487 MB, free: 13.73 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.0002618/0.105, allocations: 241.8 kB / 487.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.376e-05/0.105, allocations: 35.62 kB / 487.3 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/0.1057, allocations: 389.3 kB / 487.6 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.1057, allocations: 4 kB / 487.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.1057, allocations: 4 kB / 487.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.254e-06/0.1057, allocations: 3.984 kB / 487.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.107, allocations: 0.9468 MB / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/0.107, allocations: 4.094 kB / 488.6 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.1071, allocations: 19.86 kB / 488.6 MB, free: 12.03 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-06/0.1071, allocations: 8 kB / 488.6 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.006e-05/0.1071, allocations: 11.98 kB / 488.6 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.591e-06/0.1071, allocations: 7.938 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1071, allocations: 0 / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008015/0.108, allocations: 0.6078 MB / 489.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.108, allocations: 108.7 kB / 489.4 MB, free: 11.24 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.956e-05/0.1081, allocations: 7.984 kB / 489.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001248/0.1082, allocations: 12 kB / 489.4 MB, free: 11.22 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.368e-05/0.1083, allocations: 23.97 kB / 489.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.1083, allocations: 19.98 kB / 489.4 MB, free: 11.18 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001094/0.1084, allocations: 143.1 kB / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1084, allocations: 0 / 489.6 MB, free: 11.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000603/0.109, allocations: 163.6 kB / 489.7 MB, free: 10.88 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.001654/0.1107, allocations: 1.378 MB / 491.1 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000629/0.1114, allocations: 376.1 kB / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1114, allocations: 192 / 491.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.1116, allocations: 175.8 kB / 491.6 MB, free: 8.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1122, allocations: 77.05 kB / 491.7 MB, free: 8.906 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004132/0.1163, allocations: 3.488 MB / 495.2 MB, free: 5.133 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003895/0.1167, allocations: 0.8151 MB / 496 MB, free: 4.289 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001423/0.1169, allocations: 55.28 kB / 496.1 MB, free: 4.234 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000153/0.1171, allocations: 115.4 kB / 496.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1171, allocations: 0 / 496.2 MB, free: 4.121 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02659/0.1437, allocations: 8.546 MB / 0.4929 GB, free: 11.8 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.758/7.902, allocations: 15.06 kB / 0.4929 GB, free: 11.79 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)