Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00209/0.00209, allocations: 70.66 kB / 19.97 MB, free: 1.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 172.4 kB / 23.25 MB, free: 4.875 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.468/1.468, allocations: 177.2 MB / 203.6 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0605/0.0605, allocations: 9.173 MB / 269.1 MB, free: 7.906 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 397.6 MB, free: 5.289 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.008e-05/2.171e-05, allocations: 2.281 kB / 397.6 MB, free: 5.285 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004581/0.004603, allocations: 2.971 MB / 400.5 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.006355, allocations: 0.8832 MB / 401.4 MB, free: 1.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.006492, allocations: 19.81 kB / 401.4 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002728/0.006765, allocations: 87.12 kB / 401.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.006989, allocations: 63.44 kB / 401.6 MB, free: 1.242 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 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 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 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 master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0007453/0.007734, allocations: 290.8 kB / 401.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004759/0.00821, allocations: 418.8 kB / 402.3 MB, free: 0.5469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002705/0.008481, allocations: 143.6 kB / 402.4 MB, free: 416 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.008794, allocations: 279.4 kB / 402.7 MB, free: 136 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.009084, allocations: 187.4 kB / 402.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.494e-05/0.009159, allocations: 44 kB / 402.9 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003019/0.009461, allocations: 199.7 kB / 403.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.009641, allocations: 159.5 kB / 403.3 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.009814, allocations: 135.6 kB / 403.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.01061, allocations: 0.7046 MB / 404.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.01062, allocations: 0 / 404.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.62e-07/0.01062, allocations: 0 / 404.1 MB, free: 14.71 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.943e-06/0.01062, allocations: 0 / 404.1 MB, free: 14.71 MB / 334.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.001689/0.01231, allocations: 1.08 MB / 405.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.01235, allocations: 12.03 kB / 405.2 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001058/0.01245, allocations: 52.64 kB / 405.2 MB, free: 13.48 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003927/0.01285, allocations: 272.5 kB / 405.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.019e-05/0.01289, allocations: 33.38 kB / 405.5 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.615e-05/0.01295, allocations: 44.36 kB / 405.6 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008422/0.0138, allocations: 493.9 kB / 406.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/0.01381, allocations: 192 / 406.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.313e-05/0.01385, allocations: 20.36 kB / 406.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.01387, allocations: 8.375 kB / 406.1 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.01437, allocations: 273.8 kB / 406.4 MB, free: 12.32 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001583/0.01595, allocations: 1.229 MB / 407.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.01653, allocations: 292.9 kB / 407.9 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.01678, allocations: 156.3 kB / 408 MB, free: 10.53 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.303e-05/0.01682, allocations: 12 kB / 408 MB, free: 10.52 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003972/0.01721, allocations: 256.3 kB / 408.3 MB, free: 10.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=44): time 2.054e-06/0.01722, allocations: 3.938 kB / 408.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of matching and sorting (n=44): time 0.001191/0.01841, allocations: 0.6112 MB / 408.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.01854, allocations: 178.2 kB / 409.1 MB, free: 9.406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.0188, allocations: 239.1 kB / 409.3 MB, free: 9.164 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.022e-05/0.01885, allocations: 45.69 kB / 409.4 MB, free: 9.113 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.01901, allocations: 217.6 kB / 409.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001051/0.01911, allocations: 111.2 kB / 409.7 MB, free: 8.785 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001699/0.01928, allocations: 130.3 kB / 409.8 MB, free: 8.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.01945, allocations: 350.7 kB / 410.2 MB, free: 8.301 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.01969, allocations: 125.2 kB / 410.3 MB, free: 8.176 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.0201, allocations: 347.6 kB / 410.6 MB, free: 7.738 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.02081, allocations: 0.5154 MB / 411.1 MB, free: 7.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.02081, allocations: 4 kB / 411.1 MB, free: 7.117 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008874/0.0217, allocations: 0.5168 MB / 411.7 MB, free: 6.594 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.02172, allocations: 8 kB / 411.7 MB, free: 6.586 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.02173, allocations: 8 kB / 411.7 MB, free: 6.578 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.02176, allocations: 8 kB / 411.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.02204, allocations: 83.89 kB / 411.8 MB, free: 6.488 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.301e-05/0.02206, allocations: 23.92 kB / 411.8 MB, free: 6.465 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.02226, allocations: 39.73 kB / 411.8 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.85e-05/0.02229, allocations: 24 kB / 411.8 MB, free: 6.402 MB / 334.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: 61 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],trigger.y,addFloat.pkgOut[1].trigger,$whenCondition1,$PRE.trigger.y,getFloat.pkgOut[1].trigger,$whenCondition2,uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002939/0.02259, allocations: 258.4 kB / 412.1 MB, free: 6.141 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.262e-05/0.02265, allocations: 31.81 kB / 412.1 MB, free: 6.109 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006731/0.02332, allocations: 383 kB / 412.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.02333, allocations: 4 kB / 412.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.02334, allocations: 0 / 412.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.02334, allocations: 8 kB / 412.5 MB, free: 5.715 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.02458, allocations: 0.8109 MB / 413.3 MB, free: 4.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.02458, allocations: 4 kB / 413.3 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.402e-05/0.02465, allocations: 15.92 kB / 413.3 MB, free: 4.844 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.02465, allocations: 4 kB / 413.3 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.076e-05/0.02468, allocations: 15.98 kB / 413.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.02468, allocations: 0 / 413.4 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.02469, allocations: 4 kB / 413.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008959/0.02558, allocations: 0.6145 MB / 414 MB, free: 4.18 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.02562, allocations: 31.69 kB / 414 MB, free: 4.148 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.02567, allocations: 15.98 kB / 414 MB, free: 4.133 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.0258, allocations: 11.98 kB / 414 MB, free: 4.121 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.489e-05/0.02586, allocations: 28 kB / 414.1 MB, free: 4.094 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.326e-05/0.02591, allocations: 19.92 kB / 414.1 MB, free: 4.074 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.02604, allocations: 142.8 kB / 414.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02604, allocations: 0 / 414.2 MB, free: 3.934 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005848/0.02662, allocations: 159.5 kB / 414.4 MB, free: 3.777 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 39 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,trigger.y,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009157/0.02754, allocations: 368.3 kB / 414.7 MB, free: 3.477 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006645/0.0282, allocations: 368.9 kB / 415.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.0282, allocations: 0 / 415.1 MB, free: 3.117 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.02848, allocations: 151.8 kB / 415.2 MB, free: 2.969 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005264/0.02901, allocations: 77.88 kB / 415.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.03018, allocations: 0.6858 MB / 416 MB, free: 2.176 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002191/0.0304, allocations: 215.4 kB / 416.2 MB, free: 1.949 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001231/0.03053, allocations: 47.14 kB / 416.3 MB, free: 1.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.737e-05/0.03059, allocations: 32.48 kB / 416.3 MB, free: 1.871 MB / 334.1 MB Notification: Performance of SimCode: time 3.31e-07/0.03059, allocations: 3.938 kB / 416.3 MB, free: 1.867 MB / 334.1 MB Notification: Performance of Templates: time 0.01157/0.04216, allocations: 5.484 MB / 421.8 MB, free: 12.49 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.521149937063456] Failed to read output from testmodel.py, exit status != 0: 0.050540100783109665 0.065163073 0.051587559000000005 Calling exit ...