Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackagerBitPack_UDP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_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.002026/0.002026, allocations: 103 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.00208/0.00208, allocations: 190.5 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.387/1.387, allocations: 222.9 MB / 240.9 MB, free: 15.24 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.05894/0.05894, allocations: 12.03 MB / 303.1 MB, free: 3.191 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 366.6 MB, free: 3.699 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/0.2213, allocations: 52.32 MB / 418.9 MB, free: 21.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP): time 0.004438/0.2258, allocations: 3.031 MB / 421.9 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001417/0.2272, allocations: 0.9767 MB / 422.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.2274, allocations: 14.72 kB / 422.9 MB, free: 17.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003278/0.2278, allocations: 87.08 kB / 423 MB, free: 16.96 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002315/0.228, allocations: 71.38 kB / 423.1 MB, free: 16.89 MB / 302.1 MB [/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: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:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/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:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008435/0.2289, allocations: 323.2 kB / 423.4 MB, free: 16.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.2292, allocations: 490.8 kB / 423.9 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2296, allocations: 323.2 kB / 424.2 MB, free: 15.77 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.2298, allocations: 239.2 kB / 424.4 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002329/0.23, allocations: 286.7 kB / 424.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.296e-05/0.2301, allocations: 56 kB / 424.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002392/0.2303, allocations: 207.8 kB / 425 MB, free: 14.99 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001258/0.2305, allocations: 179.5 kB / 425.1 MB, free: 14.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001529/0.2306, allocations: 278.5 kB / 425.4 MB, free: 14.54 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.2312, allocations: 0.7478 MB / 426.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2312, allocations: 3.938 kB / 426.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.2312, allocations: 4 kB / 426.2 MB, free: 13.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.024e-05/0.2312, allocations: 0 / 426.2 MB, free: 13.79 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 uDPReceive.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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001399/0.2326, allocations: 1.273 MB / 427.4 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2326, allocations: 8.031 kB / 427.4 MB, free: 12.4 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.953e-05/0.2327, allocations: 98.64 kB / 427.5 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.24e-05/0.2328, allocations: 60.27 kB / 427.6 MB, free: 12.24 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003027/0.2332, allocations: 356.4 kB / 427.9 MB, free: 11.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.2332, allocations: 37.36 kB / 428 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.2333, allocations: 48.38 kB / 428 MB, free: 11.77 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007112/0.234, allocations: 0.5536 MB / 428.6 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.234, allocations: 7.938 kB / 428.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.012e-05/0.234, allocations: 20 kB / 428.6 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2341, allocations: 12 kB / 428.6 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004495/0.2345, allocations: 309.5 kB / 428.9 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001325/0.2358, allocations: 1.559 MB / 430.5 MB, free: 9.215 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004866/0.2363, allocations: 338.5 kB / 430.8 MB, free: 8.848 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002035/0.2366, allocations: 175.5 kB / 431 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.2366, allocations: 7.938 kB / 431 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003286/0.2369, allocations: 283.6 kB / 431.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of pre-optimization done (n=46): time 2.174e-06/0.237, allocations: 4 kB / 431.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of matching and sorting (n=46): time 0.0009372/0.2379, allocations: 0.6515 MB / 431.9 MB, free: 7.691 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.238, allocations: 156.4 kB / 432.1 MB, free: 7.508 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001956/0.2382, allocations: 276.5 kB / 432.3 MB, free: 7.227 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.18e-05/0.2382, allocations: 53.69 kB / 432.4 MB, free: 7.168 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.382e-05/0.2383, allocations: 232.7 kB / 432.6 MB, free: 6.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.382e-05/0.2384, allocations: 110.6 kB / 432.7 MB, free: 6.828 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000129/0.2385, allocations: 138.3 kB / 432.9 MB, free: 6.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.817e-05/0.2386, allocations: 346.8 kB / 433.2 MB, free: 6.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001933/0.2388, allocations: 137.2 kB / 433.3 MB, free: 6.207 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.239, allocations: 363.5 kB / 433.7 MB, free: 5.746 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004762/0.2395, allocations: 0.5311 MB / 434.2 MB, free: 5.113 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2395, allocations: 4 kB / 434.2 MB, free: 5.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006669/0.2402, allocations: 0.5403 MB / 434.8 MB, free: 4.562 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2402, allocations: 8 kB / 434.8 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.2402, allocations: 4 kB / 434.8 MB, free: 4.551 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2403, allocations: 16 kB / 434.8 MB, free: 4.535 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002515/0.2405, allocations: 91.77 kB / 434.9 MB, free: 4.445 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.2405, allocations: 23.86 kB / 434.9 MB, free: 4.422 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001995/0.2407, allocations: 39.59 kB / 435 MB, free: 4.383 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.2408, allocations: 28 kB / 435 MB, free: 4.355 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 67 (addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,$PRE.addInteger1.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition2,integerExpression.y,integerExpression1.y,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,getInteger1.dummy,$PRE.getInteger1.dummy,getInteger1.y[1],$PRE.getInteger1.y[1],unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,getReal.pkgOut[1].trigger,$whenCondition1,getInteger1.pkgIn.userPkgBitSize,getInteger1.pkgIn.backwardTrigger,getReal.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,uDPSend.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 73 * 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.0002204/0.241, allocations: 261.5 kB / 435.2 MB, free: 4.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.729e-05/0.2411, allocations: 35.61 kB / 435.3 MB, free: 4.055 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000341/0.2414, allocations: 239.8 kB / 435.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.2414, allocations: 4 kB / 435.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2414, allocations: 4.188 kB / 435.5 MB, free: 3.805 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.2415, allocations: 4 kB / 435.5 MB, free: 3.801 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001082/0.2425, allocations: 1.137 MB / 436.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.2426, allocations: 0 / 436.7 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.43e-05/0.2426, allocations: 12 kB / 436.7 MB, free: 2.598 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.2426, allocations: 3.938 kB / 436.7 MB, free: 2.594 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.923e-05/0.2427, allocations: 15.98 kB / 436.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.2427, allocations: 0 / 436.7 MB, free: 2.578 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.2427, allocations: 4 kB / 436.7 MB, free: 2.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007211/0.2434, allocations: 0.7141 MB / 437.4 MB, free: 1.84 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.2435, allocations: 112.6 kB / 437.5 MB, free: 1.711 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.2435, allocations: 8 kB / 437.5 MB, free: 1.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.2437, allocations: 11.98 kB / 437.5 MB, free: 1.691 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2437, allocations: 23.97 kB / 437.6 MB, free: 1.668 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.888e-05/0.2438, allocations: 15.98 kB / 437.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.806e-05/0.2439, allocations: 160.5 kB / 437.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2439, allocations: 0 / 437.7 MB, free: 1.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005847/0.2445, allocations: 175.4 kB / 437.9 MB, free: 1.324 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 43 (getReal.pkgOut[1].trigger,$whenCondition1,uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,getInteger1.y[1],getInteger1.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,uDPReceive.bufferSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger1.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].trigger,$whenCondition2,uDPSend.bufferSize,uDPSend.dummy,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,addInteger1.pkgOut[1].dummy,integerExpression1.y,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 28 * 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.001409/0.2459, allocations: 1.496 MB / 439.4 MB, free: 15.85 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0007/0.2466, allocations: 427.9 kB / 439.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.2466, allocations: 0 / 439.8 MB, free: 15.43 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002942/0.2469, allocations: 183.8 kB / 440 MB, free: 15.25 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005846/0.2475, allocations: 83.2 kB / 440.1 MB, free: 15.18 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.252, allocations: 3.857 MB / 443.9 MB, free: 11.04 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000406/0.2524, allocations: 0.8428 MB / 444.8 MB, free: 10.17 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001469/0.2526, allocations: 50.94 kB / 444.8 MB, free: 10.12 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.2528, allocations: 131.4 kB / 445 MB, free: 9.992 MB / 318.1 MB Notification: Performance of SimCode: time 4.4e-07/0.2528, allocations: 0 / 445 MB, free: 9.992 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02734/0.2801, allocations: 9.145 MB / 454.1 MB, free: 1.023 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.173, allocations: 19.59 kB / 454.1 MB, free: 1.008 MB / 318.1 MB (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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_Blocks_Examples_TestSerialPackagerBitPack_UDP.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackagerBitPack_UDP.pipe 2>&1)