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.001289/0.001289, allocations: 106.2 kB / 16.31 MB, free: 6.391 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.00128/0.00128, allocations: 189.8 kB / 17.24 MB, free: 5.922 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.354/1.354, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.05721/0.05721, allocations: 12.04 MB / 303.1 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 68.11 kB / 366.6 MB, free: 3.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2387, allocations: 52.32 MB / 418.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003883/0.2427, allocations: 3.07 MB / 422 MB, free: 18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.244, allocations: 1 MB / 423 MB, free: 17 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001329/0.2442, allocations: 11.88 kB / 423 MB, free: 16.98 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002165/0.2444, allocations: 83.16 kB / 423.1 MB, free: 16.9 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001698/0.2446, allocations: 50.72 kB / 423.1 MB, free: 16.86 MB / 302.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.0007308/0.2453, allocations: 362.9 kB / 423.5 MB, free: 16.5 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000305/0.2456, allocations: 468.1 kB / 423.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003315/0.246, allocations: 299.6 kB / 424.2 MB, free: 15.75 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.2461, allocations: 223.2 kB / 424.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2464, allocations: 274.8 kB / 424.7 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.2464, allocations: 56 kB / 424.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.2467, allocations: 203.8 kB / 425 MB, free: 15.01 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001186/0.2468, allocations: 163.5 kB / 425.1 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.2469, allocations: 250.6 kB / 425.4 MB, free: 14.6 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004948/0.2474, allocations: 0.7189 MB / 426.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2475, allocations: 0 / 426.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2475, allocations: 0 / 426.1 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.2475, allocations: 0 / 426.1 MB, free: 13.88 MB / 302.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.001286/0.2488, allocations: 1.271 MB / 427.3 MB, free: 12.51 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.2488, allocations: 11.97 kB / 427.4 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.945e-05/0.2489, allocations: 102.7 kB / 427.5 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.249, allocations: 64.19 kB / 427.5 MB, free: 12.32 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002862/0.2493, allocations: 365.6 kB / 427.9 MB, free: 11.93 MB / 302.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 8.631e-05/0.2494, allocations: 97.22 kB / 428 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.2494, allocations: 56.38 kB / 428 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.2512, allocations: 1.619 MB / 429.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2513, allocations: 0 / 429.6 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.916e-05/0.2513, allocations: 20 kB / 429.7 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.2513, allocations: 15.98 kB / 429.7 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004539/0.2518, allocations: 322.7 kB / 430 MB, free: 9.746 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007269/0.2525, allocations: 1.181 MB / 431.2 MB, free: 8.488 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001026/0.2535, allocations: 1.538 MB / 432.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005245/0.2541, allocations: 0.5019 MB / 433.2 MB, free: 6.215 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001237/0.2542, allocations: 56.7 kB / 433.3 MB, free: 6.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.2542, allocations: 47.16 kB / 433.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of pre-optimization done (n=98): time 2.495e-06/0.2543, allocations: 0 / 433.3 MB, free: 6.105 MB / 302.1 MB Notification: Performance of matching and sorting (n=98): time 0.00138/0.2556, allocations: 0.9425 MB / 434.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001091/0.2558, allocations: 251.8 kB / 434.5 MB, free: 4.871 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.2559, allocations: 220 kB / 434.7 MB, free: 4.648 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.2559, allocations: 41.7 kB / 434.8 MB, free: 4.602 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.99e-05/0.256, allocations: 149.8 kB / 434.9 MB, free: 4.453 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.746e-05/0.2561, allocations: 79.48 kB / 435 MB, free: 4.375 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.2562, allocations: 154.7 kB / 435.1 MB, free: 4.215 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.697e-05/0.2563, allocations: 358.8 kB / 435.5 MB, free: 3.855 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/0.2564, allocations: 121.9 kB / 435.6 MB, free: 3.738 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003353/0.2567, allocations: 0.7292 MB / 436.3 MB, free: 2.703 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005432/0.2573, allocations: 0.9254 MB / 437.3 MB, free: 1.473 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.2573, allocations: 8 kB / 437.3 MB, free: 1.465 MB / 302.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0008414/0.2582, allocations: 0.7906 MB / 438.1 MB, free: 0.668 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.2582, allocations: 18.34 kB / 438.1 MB, free: 0.6523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/0.2582, allocations: 20 kB / 438.1 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.2582, allocations: 28 kB / 438.1 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.2587, allocations: 195.6 kB / 438.3 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.285e-05/0.2587, allocations: 43.84 kB / 438.4 MB, free: 380 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.259, allocations: 75.31 kB / 438.4 MB, free: 304 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.259, allocations: 60 kB / 438.5 MB, free: 244 kB / 302.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.0002935/0.2593, allocations: 293.5 kB / 438.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00115/0.2605, allocations: 0.6512 MB / 439.4 MB, free: 15.29 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001306/0.2618, allocations: 0.7721 MB / 440.2 MB, free: 14.51 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.2618, allocations: 16.09 kB / 440.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.2619, allocations: 4 kB / 440.2 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.181e-05/0.2619, allocations: 3.984 kB / 440.2 MB, free: 14.48 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007093/0.2626, allocations: 464.5 kB / 440.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.936e-05/0.2626, allocations: 4 kB / 440.7 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.2631, allocations: 143.8 kB / 440.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.476e-05/0.2631, allocations: 7.938 kB / 440.8 MB, free: 13.83 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.2632, allocations: 27.98 kB / 440.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.2632, allocations: 4 kB / 440.9 MB, free: 13.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.2632, allocations: 4 kB / 440.9 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001234/0.2644, allocations: 1.142 MB / 442 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.109e-05/0.2645, allocations: 132.3 kB / 442.1 MB, free: 12.48 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.959e-05/0.2646, allocations: 24 kB / 442.2 MB, free: 12.46 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002754/0.2649, allocations: 24 kB / 442.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.2649, allocations: 4 kB / 442.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.673e-05/0.265, allocations: 35.98 kB / 442.2 MB, free: 12.39 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001342/0.2651, allocations: 143.5 kB / 442.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.2651, allocations: 0 / 442.4 MB, free: 12.25 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001024/0.2662, allocations: 171.7 kB / 442.5 MB, free: 12.09 MB / 318.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.002872/0.269, allocations: 2.357 MB / 444.9 MB, free: 9.762 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.2707, allocations: 0.8382 MB / 445.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2707, allocations: 0 / 445.7 MB, free: 8.926 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.292e-05/0.2708, allocations: 33.53 kB / 445.8 MB, free: 8.895 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002346/0.2732, allocations: 2.07 MB / 447.8 MB, free: 6.758 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003839/0.277, allocations: 2.87 MB / 450.7 MB, free: 3.504 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.2775, allocations: 0.9073 MB / 451.6 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.2777, allocations: 60.72 kB / 451.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002046/0.2779, allocations: 155.4 kB / 451.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2779, allocations: 0 / 451.8 MB, free: 2.359 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02936/0.3073, allocations: 11.53 MB / 463.4 MB, free: 7.016 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.685/7.993, allocations: 7.891 kB / 463.4 MB, free: 7.012 MB / 334.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)