Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.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.001398/0.001398, allocations: 78.03 kB / 19.8 MB, free: 2.086 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.002284/0.002284, allocations: 161.2 kB / 23.04 MB, free: 4.992 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.441/1.441, allocations: 177.2 MB / 203.4 MB, free: 9.27 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.05966/0.05966, allocations: 9.151 MB / 269 MB, free: 8.031 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_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002124/0.002124, allocations: 59.91 kB / 397.3 MB, free: 5.523 MB / 318.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.296/0.2982, allocations: 56.36 MB / 453.6 MB, free: 13.62 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize): time 0.004342/0.3025, allocations: 2.939 MB / 456.6 MB, free: 11.63 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001499/0.304, allocations: 0.8746 MB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.3041, allocations: 12.66 kB / 457.5 MB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.3044, allocations: 81.38 kB / 457.6 MB, free: 10.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.3046, allocations: 59.44 kB / 457.6 MB, free: 10.93 MB / 366.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.0007282/0.3053, allocations: 285 kB / 457.9 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004248/0.3057, allocations: 406.8 kB / 458.3 MB, free: 10.6 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002667/0.306, allocations: 133.2 kB / 458.4 MB, free: 10.53 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000333/0.3063, allocations: 305 kB / 458.7 MB, free: 10.38 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002983/0.3066, allocations: 212.1 kB / 458.9 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.556e-05/0.3067, allocations: 44.19 kB / 459 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003081/0.307, allocations: 203.8 kB / 459.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3072, allocations: 146.6 kB / 459.3 MB, free: 10.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001536/0.3073, allocations: 171.5 kB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008043/0.3081, allocations: 0.6825 MB / 460.2 MB, free: 9.742 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.3081, allocations: 3.938 kB / 460.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.3081, allocations: 1 kB / 460.2 MB, free: 9.738 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.3082, allocations: 0 / 460.2 MB, free: 9.738 MB / 366.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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001542/0.3097, allocations: 1.065 MB / 461.2 MB, free: 8.922 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.3097, allocations: 14.81 kB / 461.2 MB, free: 8.918 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.816e-05/0.3098, allocations: 52 kB / 461.3 MB, free: 8.891 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000341/0.3102, allocations: 263.7 kB / 461.5 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.564e-05/0.3102, allocations: 37.09 kB / 461.6 MB, free: 8.664 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.729e-05/0.3103, allocations: 41.56 kB / 461.6 MB, free: 8.652 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007489/0.311, allocations: 478.1 kB / 462.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.311, allocations: 1.625 kB / 462.1 MB, free: 8.445 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.964e-05/0.3111, allocations: 21.55 kB / 462.1 MB, free: 8.43 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.3111, allocations: 13.91 kB / 462.1 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000483/0.3116, allocations: 266.3 kB / 462.4 MB, free: 8.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001342/0.3129, allocations: 1.165 MB / 463.6 MB, free: 7.461 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.3134, allocations: 281.8 kB / 463.8 MB, free: 7.289 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.3136, allocations: 139 kB / 464 MB, free: 7.219 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.622e-05/0.3137, allocations: 10.08 kB / 464 MB, free: 7.215 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003708/0.314, allocations: 261.5 kB / 464.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of pre-optimization done (n=42): time 1.753e-06/0.314, allocations: 0 / 464.2 MB, free: 7.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=42): time 0.001324/0.3154, allocations: 0.5865 MB / 464.8 MB, free: 6.871 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.3155, allocations: 160.6 kB / 465 MB, free: 6.703 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002305/0.3157, allocations: 243.9 kB / 465.2 MB, free: 6.535 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.681e-05/0.3157, allocations: 43.25 kB / 465.3 MB, free: 6.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.3158, allocations: 213 kB / 465.5 MB, free: 6.316 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.977e-05/0.3159, allocations: 110.1 kB / 465.6 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.3161, allocations: 128.2 kB / 465.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.3161, allocations: 344.9 kB / 466 MB, free: 5.844 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.3163, allocations: 125.8 kB / 466.2 MB, free: 5.805 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002909/0.3166, allocations: 329.1 kB / 466.5 MB, free: 5.504 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005108/0.3171, allocations: 0.4993 MB / 467 MB, free: 5.109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3171, allocations: 1.375 kB / 467 MB, free: 5.109 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0007157/0.3179, allocations: 0.499 MB / 467.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.3179, allocations: 9.719 kB / 467.5 MB, free: 4.898 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.3179, allocations: 11.92 kB / 467.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/0.3179, allocations: 10.19 kB / 467.5 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/0.3182, allocations: 80.02 kB / 467.6 MB, free: 4.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.65e-05/0.3182, allocations: 15.62 kB / 467.6 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001658/0.3184, allocations: 44.23 kB / 467.6 MB, free: 4.848 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.654e-05/0.3184, allocations: 27.33 kB / 467.7 MB, free: 4.844 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].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,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,getFloat.pkgOut[1].trigger,$whenCondition1,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 (66): * Single equations (assignments): 66 * 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.0002258/0.3186, allocations: 246 kB / 467.9 MB, free: 4.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.916e-05/0.3187, allocations: 36.36 kB / 467.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004164/0.3191, allocations: 230 kB / 468.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.3191, allocations: 4.344 kB / 468.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/0.3191, allocations: 1.797 kB / 468.2 MB, free: 4.547 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.819e-06/0.3191, allocations: 11.09 kB / 468.2 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001266/0.3204, allocations: 0.8901 MB / 469.1 MB, free: 4.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.3204, allocations: 5.625 kB / 469.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.631e-05/0.3205, allocations: 15.44 kB / 469.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3205, allocations: 2.625 kB / 469.1 MB, free: 4.012 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.838e-05/0.3205, allocations: 13.78 kB / 469.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.3205, allocations: 6.625 kB / 469.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3205, allocations: 2.141 kB / 469.1 MB, free: 4.004 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008203/0.3213, allocations: 0.6612 MB / 469.8 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.3214, allocations: 30.25 kB / 469.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.3214, allocations: 6.234 kB / 469.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.3215, allocations: 8.484 kB / 469.8 MB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.3216, allocations: 33.53 kB / 469.9 MB, free: 3.602 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.3216, allocations: 19.78 kB / 469.9 MB, free: 3.598 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001049/0.3217, allocations: 138.3 kB / 470 MB, free: 3.504 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3217, allocations: 0 / 470 MB, free: 3.504 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006407/0.3224, allocations: 164.5 kB / 470.2 MB, free: 3.445 MB / 366.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: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,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 (34): * Single equations (assignments): 11 * 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.0008703/0.3233, allocations: 346.1 kB / 470.5 MB, free: 3.266 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006572/0.3239, allocations: 356.9 kB / 470.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3239, allocations: 1.531 kB / 470.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002548/0.3242, allocations: 152 kB / 471 MB, free: 3.109 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005856/0.3248, allocations: 78.7 kB / 471.1 MB, free: 3.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.326, allocations: 0.701 MB / 471.8 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002569/0.3262, allocations: 213.2 kB / 472 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.3264, allocations: 56.77 kB / 472.1 MB, free: 2.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.816e-05/0.3264, allocations: 27.69 kB / 472.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of SimCode: time 5.72e-07/0.3264, allocations: 1.062 kB / 472.1 MB, free: 2.582 MB / 366.1 MB Notification: Performance of Templates: time 0.01018/0.3366, allocations: 5.416 MB / 477.5 MB, free: 312 kB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPAutoBufferSize.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.8607757445424795] Failed to read output from testmodel.py, exit status != 0: 0.344825204461813 0.35895926999999994 0.047793213 Calling exit ...