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.0016/0.0016, allocations: 108.4 kB / 16.45 MB, free: 6.645 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.001362/0.001362, allocations: 192.1 kB / 17.39 MB, free: 5.781 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.468/1.468, allocations: 222.9 MB / 241.1 MB, free: 15.04 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.06185/0.06185, allocations: 12.05 MB / 303.3 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002568/0.002568, allocations: 67.89 kB / 419.6 MB, free: 17.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1275, allocations: 52.31 MB / 471.9 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.007429/0.1349, allocations: 3.071 MB / 475 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002677/0.1377, allocations: 1 MB / 476 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00031/0.138, allocations: 11.94 kB / 476 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.1385, allocations: 87.12 kB / 476.1 MB, free: 9.148 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003435/0.1388, allocations: 51.53 kB / 476.1 MB, free: 9.098 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.001482/0.1403, allocations: 362 kB / 476.5 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007889/0.1411, allocations: 476 kB / 476.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006265/0.1418, allocations: 292.9 kB / 477.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003573/0.1421, allocations: 231.1 kB / 477.4 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004493/0.1426, allocations: 274.8 kB / 477.7 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.1427, allocations: 52 kB / 477.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005088/0.1432, allocations: 211.8 kB / 478 MB, free: 7.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002407/0.1435, allocations: 163.5 kB / 478.1 MB, free: 7.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003217/0.1438, allocations: 254.6 kB / 478.4 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.1451, allocations: 0.7508 MB / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.1451, allocations: 0 / 479.1 MB, free: 6.074 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.1451, allocations: 3.938 kB / 479.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1451, allocations: 0 / 479.1 MB, free: 6.07 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.002674/0.1478, allocations: 1.297 MB / 480.4 MB, free: 4.668 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.1479, allocations: 15.97 kB / 480.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/0.148, allocations: 94.7 kB / 480.5 MB, free: 4.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.1482, allocations: 60.56 kB / 480.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006119/0.1488, allocations: 357.8 kB / 480.9 MB, free: 4.102 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.0001672/0.149, allocations: 109.2 kB / 481 MB, free: 3.984 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/0.1491, allocations: 56.38 kB / 481.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003632/0.1528, allocations: 1.634 MB / 482.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.67e-05/0.1528, allocations: 8 kB / 482.7 MB, free: 2.234 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.55e-05/0.1529, allocations: 20 kB / 482.8 MB, free: 2.215 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.364e-05/0.1529, allocations: 12 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.1538, allocations: 326.6 kB / 483.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001823/0.1557, allocations: 1.173 MB / 484.3 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/0.1583, allocations: 1.55 MB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/0.1595, allocations: 0.4941 MB / 486.3 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.1597, allocations: 60.69 kB / 486.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.653e-05/0.1598, allocations: 47.16 kB / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 5.621e-06/0.1599, allocations: 0 / 486.4 MB, free: 14.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.002744/0.1626, allocations: 0.9473 MB / 487.4 MB, free: 13.29 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002673/0.1629, allocations: 251.1 kB / 487.6 MB, free: 13 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000367/0.1633, allocations: 220.2 kB / 487.8 MB, free: 12.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.244e-05/0.1634, allocations: 41.7 kB / 487.9 MB, free: 12.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.1635, allocations: 157.8 kB / 488 MB, free: 12.57 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.1636, allocations: 71.69 kB / 488.1 MB, free: 12.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002534/0.1639, allocations: 150.7 kB / 488.2 MB, free: 12.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002426/0.1641, allocations: 362.8 kB / 488.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003036/0.1645, allocations: 125.9 kB / 488.7 MB, free: 11.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/0.1655, allocations: 0.7175 MB / 489.4 MB, free: 10.83 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001577/0.1671, allocations: 0.9332 MB / 490.4 MB, free: 9.594 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.394e-05/0.1671, allocations: 8 kB / 490.4 MB, free: 9.586 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.00178/0.1689, allocations: 0.7905 MB / 491.2 MB, free: 8.789 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.28e-05/0.1689, allocations: 18.03 kB / 491.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.003e-05/0.169, allocations: 27.98 kB / 491.2 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.586e-05/0.1691, allocations: 31.94 kB / 491.2 MB, free: 8.715 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007778/0.1698, allocations: 191.6 kB / 491.4 MB, free: 8.527 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.222e-05/0.1699, allocations: 44.45 kB / 491.5 MB, free: 8.484 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005883/0.1705, allocations: 75.56 kB / 491.5 MB, free: 8.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.388e-05/0.1706, allocations: 56 kB / 491.6 MB, free: 8.355 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.0005606/0.1712, allocations: 288.2 kB / 491.9 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/0.173, allocations: 0.663 MB / 492.5 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002013/0.175, allocations: 0.7648 MB / 493.3 MB, free: 6.625 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.206e-05/0.175, allocations: 11.98 kB / 493.3 MB, free: 6.613 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.175, allocations: 4 kB / 493.3 MB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.1751, allocations: 3.984 kB / 493.3 MB, free: 6.605 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009983/0.1761, allocations: 472.8 kB / 493.8 MB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/0.1761, allocations: 4 kB / 493.8 MB, free: 6.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007114/0.1768, allocations: 143.8 kB / 493.9 MB, free: 5.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.089e-05/0.1768, allocations: 4 kB / 493.9 MB, free: 5.945 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/0.1769, allocations: 24 kB / 494 MB, free: 5.922 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.438e-06/0.1769, allocations: 4 kB / 494 MB, free: 5.918 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.888e-06/0.177, allocations: 12.08 kB / 494 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.1792, allocations: 1.142 MB / 495.1 MB, free: 4.742 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.1793, allocations: 132.6 kB / 495.2 MB, free: 4.594 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.367e-05/0.1794, allocations: 24 kB / 495.3 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004201/0.1799, allocations: 20 kB / 495.3 MB, free: 4.551 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1799, allocations: 11.98 kB / 495.3 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.302e-05/0.18, allocations: 31.98 kB / 495.3 MB, free: 4.508 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001795/0.1802, allocations: 147.5 kB / 495.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1802, allocations: 0 / 495.5 MB, free: 4.363 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001402/0.1816, allocations: 163.6 kB / 495.6 MB, free: 4.203 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.003685/0.1853, allocations: 2.369 MB / 498 MB, free: 1.867 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001225/0.1866, allocations: 0.621 MB / 498.6 MB, free: 1.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1866, allocations: 3.938 kB / 498.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.784e-05/0.1867, allocations: 27.97 kB / 498.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/0.1895, allocations: 2.068 MB / 0.489 GB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007355/0.1969, allocations: 5.283 MB / 0.4941 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005874/0.1975, allocations: 0.9112 MB / 0.495 GB, free: 8.16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001724/0.1977, allocations: 56.56 kB / 0.4951 GB, free: 8.105 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000257/0.198, allocations: 151.4 kB / 0.4952 GB, free: 7.961 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.198, allocations: 0 / 0.4952 GB, free: 7.961 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2225/0.4205, allocations: 11.8 MB / 0.5068 GB, free: 41.15 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.872/9.292, allocations: 4.531 kB / 0.5068 GB, free: 41.15 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)