Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.001409/0.001409, allocations: 77.94 kB / 20.55 MB, free: 1.238 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.00152/0.00152, allocations: 167.3 kB / 23.8 MB, free: 4.434 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.498/1.498, allocations: 177.2 MB / 204.2 MB, free: 8.988 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.06104/0.06104, allocations: 9.16 MB / 269.7 MB, free: 7.898 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_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 67.91 kB / 398 MB, free: 6.555 MB / 366.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 56.35 MB / 454.4 MB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.007023/0.1352, allocations: 2.988 MB / 457.4 MB, free: 11.1 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002467/0.1377, allocations: 1.191 MB / 458.6 MB, free: 9.898 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001673/0.1378, allocations: 15.81 kB / 458.6 MB, free: 9.883 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002901/0.1381, allocations: 83.19 kB / 458.7 MB, free: 9.801 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.1383, allocations: 51.53 kB / 458.7 MB, free: 9.75 MB / 430.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.0008464/0.1391, allocations: 299.2 kB / 459 MB, free: 9.457 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004879/0.1396, allocations: 418.9 kB / 459.4 MB, free: 9.047 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002527/0.1399, allocations: 135.6 kB / 459.6 MB, free: 8.906 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002819/0.1401, allocations: 203.3 kB / 459.8 MB, free: 8.707 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002986/0.1404, allocations: 218.9 kB / 460 MB, free: 8.492 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.952e-05/0.1405, allocations: 48 kB / 460 MB, free: 8.445 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.1409, allocations: 203.8 kB / 460.2 MB, free: 8.246 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001698/0.141, allocations: 155.5 kB / 460.4 MB, free: 8.094 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1412, allocations: 163.1 kB / 460.5 MB, free: 7.934 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008224/0.142, allocations: 0.6963 MB / 461.2 MB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.142, allocations: 0 / 461.2 MB, free: 7.234 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.142, allocations: 4 kB / 461.2 MB, free: 7.23 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.1421, allocations: 0 / 461.2 MB, free: 7.23 MB / 430.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001726/0.1438, allocations: 1.087 MB / 462.3 MB, free: 6.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.706e-05/0.1438, allocations: 8.625 kB / 462.3 MB, free: 6.055 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.1439, allocations: 52.61 kB / 462.4 MB, free: 6.004 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005063/0.1444, allocations: 274.6 kB / 462.6 MB, free: 5.707 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.154e-05/0.1445, allocations: 37.34 kB / 462.7 MB, free: 5.672 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.869e-05/0.1445, allocations: 36.38 kB / 462.7 MB, free: 5.637 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008801/0.1454, allocations: 0.4898 MB / 463.2 MB, free: 5.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1454, allocations: 4 kB / 463.2 MB, free: 5.117 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.053e-05/0.1455, allocations: 19.94 kB / 463.2 MB, free: 5.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.779e-06/0.1455, allocations: 8 kB / 463.2 MB, free: 5.09 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.1459, allocations: 265.9 kB / 463.5 MB, free: 4.832 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001635/0.1476, allocations: 1.237 MB / 464.7 MB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005436/0.1481, allocations: 297.2 kB / 465 MB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002383/0.1484, allocations: 144.5 kB / 465.2 MB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1484, allocations: 15.88 kB / 465.2 MB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.1488, allocations: 268.9 kB / 465.4 MB, free: 2.734 MB / 430.1 MB Notification: Performance of pre-optimization done (n=43): time 1.804e-06/0.1488, allocations: 0 / 465.4 MB, free: 2.734 MB / 430.1 MB Notification: Performance of matching and sorting (n=43): time 0.00112/0.1499, allocations: 0.5988 MB / 466 MB, free: 2.129 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001419/0.1501, allocations: 186.1 kB / 466.2 MB, free: 1.91 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.1504, allocations: 244 kB / 466.5 MB, free: 1.66 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.1504, allocations: 41.7 kB / 466.5 MB, free: 1.613 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001634/0.1506, allocations: 217.3 kB / 466.7 MB, free: 1.398 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.1507, allocations: 111.2 kB / 466.8 MB, free: 1.289 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.1508, allocations: 118.6 kB / 466.9 MB, free: 1.168 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.151, allocations: 350.8 kB / 467.3 MB, free: 0.8164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1513, allocations: 121.2 kB / 467.4 MB, free: 0.6953 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004141/0.1517, allocations: 341.9 kB / 467.7 MB, free: 272 kB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.1524, allocations: 0.5029 MB / 468.2 MB, free: 15.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.1524, allocations: 4 kB / 468.2 MB, free: 15.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008517/0.1532, allocations: 0.509 MB / 468.7 MB, free: 15.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.1533, allocations: 14.81 kB / 468.8 MB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.1533, allocations: 4.062 kB / 468.8 MB, free: 15.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.1533, allocations: 19.94 kB / 468.8 MB, free: 15.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002777/0.1536, allocations: 83.77 kB / 468.9 MB, free: 15.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/0.1536, allocations: 19.92 kB / 468.9 MB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001861/0.1538, allocations: 39.73 kB / 468.9 MB, free: 14.97 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.945e-05/0.1538, allocations: 28 kB / 468.9 MB, free: 14.94 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (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,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],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 (67): * Single equations (assignments): 67 * 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.000304/0.1541, allocations: 245.8 kB / 469.2 MB, free: 14.69 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.306e-05/0.1542, allocations: 31.81 kB / 469.2 MB, free: 14.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006691/0.1549, allocations: 391.8 kB / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1549, allocations: 4 kB / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1549, allocations: 0 / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.1549, allocations: 4 kB / 469.6 MB, free: 14.27 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001273/0.1561, allocations: 0.8137 MB / 470.4 MB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.1561, allocations: 0 / 470.4 MB, free: 13.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.075e-05/0.1562, allocations: 15.98 kB / 470.4 MB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1562, allocations: 7.938 kB / 470.4 MB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.1562, allocations: 15.98 kB / 470.5 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/0.1562, allocations: 0 / 470.5 MB, free: 13.38 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.1562, allocations: 4 kB / 470.5 MB, free: 13.37 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009093/0.1572, allocations: 0.6156 MB / 471.1 MB, free: 12.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.1572, allocations: 27.75 kB / 471.1 MB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.1572, allocations: 11.98 kB / 471.1 MB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.1573, allocations: 8 kB / 471.1 MB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.1574, allocations: 23.89 kB / 471.2 MB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.1574, allocations: 23.98 kB / 471.2 MB, free: 12.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001281/0.1576, allocations: 143.2 kB / 471.3 MB, free: 12.49 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1576, allocations: 0 / 471.3 MB, free: 12.49 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005914/0.1582, allocations: 159.5 kB / 471.5 MB, free: 12.34 MB / 446.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: 38 (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,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * 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.0008169/0.159, allocations: 357.8 kB / 471.8 MB, free: 12.05 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006525/0.1596, allocations: 364.9 kB / 472.2 MB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1596, allocations: 0 / 472.2 MB, free: 11.69 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002787/0.1599, allocations: 152.1 kB / 472.3 MB, free: 11.54 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000503/0.1604, allocations: 79.19 kB / 472.4 MB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1618, allocations: 0.7194 MB / 473.1 MB, free: 10.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.162, allocations: 215 kB / 473.3 MB, free: 10.48 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001284/0.1622, allocations: 47.14 kB / 473.4 MB, free: 10.43 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.1622, allocations: 28.5 kB / 473.4 MB, free: 10.41 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1622, allocations: 0 / 473.4 MB, free: 10.41 MB / 446.1 MB Notification: Performance of Templates: time 0.01125/0.1735, allocations: 5.489 MB / 478.9 MB, free: 5.016 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.99819486902561] Failed to read output from testmodel.py, exit status != 0: 0.1822761750081554 0.390418688 0.24559253500000003 Calling exit ...