Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.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.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP",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.001165/0.001165, allocations: 107.5 kB / 16.45 MB, free: 6.035 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.00111/0.00111, allocations: 190.8 kB / 17.39 MB, free: 5.559 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.309/1.309, 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.05526/0.05526, allocations: 12.05 MB / 303.3 MB, free: 3.098 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 59.91 kB / 419.6 MB, free: 17.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09385, allocations: 52.33 MB / 471.9 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.00478/0.09867, allocations: 3.067 MB / 475 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001829/0.1005, allocations: 1 MB / 476 MB, free: 9.266 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002101/0.1008, allocations: 15.88 kB / 476 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.1011, allocations: 91.12 kB / 476.1 MB, free: 9.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.1015, allocations: 47.53 kB / 476.1 MB, free: 9.113 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. Notification: Performance of NFTyping.typeClassSections: time 0.001088/0.1026, allocations: 359 kB / 476.5 MB, free: 8.762 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005564/0.1031, allocations: 476 kB / 476.9 MB, free: 8.297 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004957/0.1036, allocations: 296.9 kB / 477.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002973/0.1039, allocations: 227.2 kB / 477.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003942/0.1043, allocations: 274.8 kB / 477.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.1044, allocations: 52 kB / 477.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003638/0.1048, allocations: 203.8 kB / 478 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000219/0.105, allocations: 167.5 kB / 478.1 MB, free: 7.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003099/0.1054, allocations: 246.6 kB / 478.4 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.1063, allocations: 0.7547 MB / 479.1 MB, free: 6.098 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1063, allocations: 7.875 kB / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1063, allocations: 0 / 479.1 MB, free: 6.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.1064, allocations: 4 kB / 479.1 MB, free: 6.086 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive2_1.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002156/0.1085, allocations: 1.293 MB / 480.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.1086, allocations: 8.031 kB / 480.4 MB, free: 4.68 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000129/0.1087, allocations: 102.7 kB / 480.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001448/0.1089, allocations: 64.56 kB / 480.6 MB, free: 4.508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.1094, allocations: 361.8 kB / 480.9 MB, free: 4.113 MB / 350.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.1095, allocations: 101.3 kB / 481 MB, free: 4.004 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.204e-05/0.1096, allocations: 60.31 kB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002329/0.1119, allocations: 1.63 MB / 482.7 MB, free: 2.262 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.112, allocations: 4 kB / 482.7 MB, free: 2.258 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.833e-05/0.112, allocations: 20 kB / 482.8 MB, free: 2.238 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.112, allocations: 8 kB / 482.8 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005841/0.1126, allocations: 330.6 kB / 483.1 MB, free: 1.906 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.1139, allocations: 1.173 MB / 484.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.1155, allocations: 1.554 MB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.1162, allocations: 0.5019 MB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001363/0.1163, allocations: 52.48 kB / 486.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.416e-05/0.1164, allocations: 47.16 kB / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.186e-06/0.1164, allocations: 0 / 486.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.00166/0.1181, allocations: 0.9467 MB / 487.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001934/0.1183, allocations: 251.1 kB / 487.6 MB, free: 13.02 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002248/0.1185, allocations: 216.2 kB / 487.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.908e-05/0.1186, allocations: 41.7 kB / 487.9 MB, free: 12.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1187, allocations: 162.4 kB / 488 MB, free: 12.59 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.491e-05/0.1188, allocations: 71.7 kB / 488.1 MB, free: 12.52 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001626/0.1189, allocations: 158.6 kB / 488.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1191, allocations: 354.8 kB / 488.6 MB, free: 12 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001872/0.1193, allocations: 125.9 kB / 488.7 MB, free: 11.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006277/0.1199, allocations: 0.7253 MB / 489.4 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.1208, allocations: 0.9254 MB / 490.4 MB, free: 9.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.014e-05/0.1208, allocations: 8 kB / 490.4 MB, free: 9.605 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001086/0.1219, allocations: 0.7941 MB / 491.2 MB, free: 8.805 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.777e-05/0.1219, allocations: 18.03 kB / 491.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.028e-05/0.122, allocations: 20.88 kB / 491.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.515e-05/0.122, allocations: 32 kB / 491.2 MB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000501/0.1225, allocations: 195.6 kB / 491.4 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-05/0.1225, allocations: 43.8 kB / 491.5 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003395/0.1229, allocations: 75.56 kB / 491.5 MB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.91e-05/0.1229, allocations: 59.98 kB / 491.6 MB, free: 8.371 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0003243/0.1233, allocations: 280.4 kB / 491.9 MB, free: 8.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001113/0.1244, allocations: 0.6631 MB / 492.5 MB, free: 7.422 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001272/0.1257, allocations: 0.7716 MB / 493.3 MB, free: 6.645 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.1257, allocations: 8 kB / 493.3 MB, free: 6.637 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/0.1257, allocations: 4 kB / 493.3 MB, free: 6.633 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.05e-05/0.1257, allocations: 7.969 kB / 493.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006285/0.1264, allocations: 464.8 kB / 493.8 MB, free: 6.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.749e-05/0.1264, allocations: 4 kB / 493.8 MB, free: 6.117 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004853/0.1269, allocations: 151.7 kB / 493.9 MB, free: 5.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.816e-06/0.1269, allocations: 8.094 kB / 493.9 MB, free: 5.961 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.032e-05/0.127, allocations: 27.98 kB / 494 MB, free: 5.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.201e-06/0.127, allocations: 4 kB / 494 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.127, allocations: 4 kB / 494 MB, free: 5.926 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.1282, allocations: 1.146 MB / 495.1 MB, free: 4.758 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.356e-05/0.1283, allocations: 132.6 kB / 495.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.865e-05/0.1284, allocations: 20 kB / 495.3 MB, free: 4.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002882/0.1287, allocations: 20 kB / 495.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.005e-05/0.1287, allocations: 11.98 kB / 495.3 MB, free: 4.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.681e-05/0.1288, allocations: 35.92 kB / 495.3 MB, free: 4.523 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001137/0.1289, allocations: 147.5 kB / 495.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1289, allocations: 0 / 495.5 MB, free: 4.379 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008993/0.1298, allocations: 175.6 kB / 495.7 MB, free: 4.207 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 2 * 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.002844/0.1327, allocations: 2.36 MB / 498 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.1337, allocations: 0.624 MB / 498.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.1337, allocations: 1 kB / 498.6 MB, free: 1.262 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 4.439e-05/0.1338, allocations: 28.05 kB / 498.7 MB, free: 1.234 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/0.1362, allocations: 2.065 MB / 0.489 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006099/0.1423, allocations: 5.279 MB / 0.4942 GB, free: 9.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005506/0.1429, allocations: 0.9073 MB / 0.495 GB, free: 8.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001609/0.1431, allocations: 56.55 kB / 0.4951 GB, free: 8.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.1432, allocations: 143.4 kB / 0.4952 GB, free: 7.988 MB / 382.1 MB Notification: Performance of SimCode: time 5.92e-07/0.1433, allocations: 0 / 0.4952 GB, free: 7.988 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2241/0.3673, allocations: 11.81 MB / 0.5068 GB, free: 41.12 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.533/8.9, allocations: 5.125 kB / 0.5068 GB, free: 41.12 MB / 382.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP_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_ClockedBlocks_Examples_TestSerialPackagerBitPack_UDP.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.pipe 2>&1)