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.0006467/0.0006467, allocations: 72.27 kB / 9.855 MB, free: 0.8438 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009097/0.001556, allocations: 447.7 kB / 10.29 MB, free: 416 kB / 10.45 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.0007006/0.0007006, allocations: 154 kB / 11.18 MB, free: 2.996 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009121/0.001613, allocations: 471.5 kB / 11.64 MB, free: 2.531 MB / 13.93 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 0.8381/0.8381, allocations: 177.1 MB / 189.5 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06719/0.9053, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03541/0.03541, allocations: 9.165 MB / 253.1 MB, free: 6.102 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 NFInstanceAPI.mkTop(): time 0.003062/0.03847, allocations: 3.444 MB / 256.5 MB, free: 2.648 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread",fmuType="me_cs",version="2.0+3.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 257.8 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 6.091e-06/7.403e-06, allocations: 2.312 kB / 257.8 MB, free: 1.41 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.002702/0.002709, allocations: 3.117 MB / 260.9 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008704/0.00358, allocations: 0.9257 MB / 261.8 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.796e-05/0.003658, allocations: 15.81 kB / 261.8 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.003799, allocations: 83.14 kB / 261.9 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001203/0.003919, allocations: 75.31 kB / 262 MB, free: 13.17 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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 2.2.0-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.2.0-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 2.2.0-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.0003805/0.004299, allocations: 275 kB / 262.3 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002776/0.004577, allocations: 402.9 kB / 262.6 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.004748, allocations: 141.7 kB / 262.8 MB, free: 12.37 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001941/0.004943, allocations: 296.1 kB / 263.1 MB, free: 12.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001651/0.005108, allocations: 191.4 kB / 263.3 MB, free: 11.89 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.219e-05/0.00515, allocations: 44 kB / 263.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.00535, allocations: 203.7 kB / 263.5 MB, free: 11.64 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.144e-05/0.005442, allocations: 127.6 kB / 263.6 MB, free: 11.52 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.005521, allocations: 107.7 kB / 263.7 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003637/0.005885, allocations: 482 kB / 264.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.503e-06/0.005892, allocations: 0 / 264.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.51e-07/0.005892, allocations: 4 kB / 264.2 MB, free: 10.94 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.047e-06/0.005901, allocations: 0 / 264.2 MB, free: 10.94 MB / 266.7 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.0008838/0.006785, allocations: 1.008 MB / 265.2 MB, free: 9.859 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.624e-05/0.006811, allocations: 12.03 kB / 265.2 MB, free: 9.848 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.91e-05/0.00686, allocations: 82.64 kB / 265.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.033e-05/0.006921, allocations: 68.88 kB / 265.4 MB, free: 9.691 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000187/0.007108, allocations: 217.1 kB / 265.6 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.477e-05/0.007132, allocations: 33.36 kB / 265.6 MB, free: 9.422 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.397e-05/0.007166, allocations: 40.38 kB / 265.7 MB, free: 9.383 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003045/0.007471, allocations: 373.3 kB / 266 MB, free: 8.988 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.007483, allocations: 15.92 kB / 266 MB, free: 8.973 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.007506, allocations: 15.98 kB / 266.1 MB, free: 8.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.007513, allocations: 8 kB / 266.1 MB, free: 8.949 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.007633, allocations: 110.2 kB / 266.2 MB, free: 8.836 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008325/0.008466, allocations: 1.141 MB / 267.3 MB, free: 7.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002148/0.008681, allocations: 236.7 kB / 267.5 MB, free: 7.363 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.317e-05/0.008744, allocations: 64.28 kB / 267.6 MB, free: 7.285 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.00877, allocations: 15.98 kB / 267.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000155/0.008925, allocations: 207.3 kB / 267.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of pre-optimization done (n=44): time 1.222e-06/0.008926, allocations: 0 / 267.8 MB, free: 7.035 MB / 266.7 MB Notification: Performance of matching and sorting (n=44): time 0.0002895/0.009215, allocations: 248 kB / 268.1 MB, free: 6.789 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.009278, allocations: 182.1 kB / 268.2 MB, free: 6.574 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.009392, allocations: 242.2 kB / 268.5 MB, free: 6.324 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.009417, allocations: 45.69 kB / 268.5 MB, free: 6.273 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.95e-05/0.009487, allocations: 193.3 kB / 268.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.725e-05/0.009544, allocations: 111.5 kB / 268.8 MB, free: 5.969 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.061e-05/0.009635, allocations: 126.2 kB / 268.9 MB, free: 5.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.181e-05/0.009706, allocations: 354.7 kB / 269.3 MB, free: 5.484 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.009758, allocations: 45.28 kB / 269.3 MB, free: 5.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.00989, allocations: 275.6 kB / 269.6 MB, free: 5.07 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002526/0.01014, allocations: 386.5 kB / 270 MB, free: 4.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01015, allocations: 4 kB / 270 MB, free: 4.586 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002793/0.01043, allocations: 325.5 kB / 270.3 MB, free: 4.262 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.01044, allocations: 8 kB / 270.3 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01045, allocations: 11.98 kB / 270.3 MB, free: 4.242 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.01046, allocations: 12 kB / 270.3 MB, free: 4.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.01065, allocations: 119.8 kB / 270.4 MB, free: 4.113 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.01066, allocations: 12 kB / 270.5 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001029/0.01076, allocations: 55.61 kB / 270.5 MB, free: 4.047 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.01078, allocations: 24.3 kB / 270.5 MB, free: 4.023 MB / 266.7 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.backwardTrigger,getInteger.pkgIn.userPkgBitSize,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.0001142/0.01089, allocations: 192.8 kB / 270.7 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.01093, allocations: 35.89 kB / 270.8 MB, free: 3.789 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.01109, allocations: 140.2 kB / 270.9 MB, free: 3.645 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.01109, allocations: 4 kB / 270.9 MB, free: 3.641 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.01109, allocations: 4 kB / 270.9 MB, free: 3.637 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0111, allocations: 3.984 kB / 270.9 MB, free: 3.633 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.01153, allocations: 0.5491 MB / 271.5 MB, free: 3.043 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.01153, allocations: 8 kB / 271.5 MB, free: 3.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.01157, allocations: 19.92 kB / 271.5 MB, free: 3.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.01157, allocations: 4 kB / 271.5 MB, free: 3.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.01158, allocations: 11.98 kB / 271.5 MB, free: 3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.01159, allocations: 3.938 kB / 271.5 MB, free: 2.996 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.01159, allocations: 4 kB / 271.5 MB, free: 2.992 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002098/0.0118, allocations: 364.2 kB / 271.9 MB, free: 2.609 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.004e-05/0.01182, allocations: 43.61 kB / 271.9 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/0.01184, allocations: 4 kB / 271.9 MB, free: 2.562 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.0119, allocations: 11.92 kB / 271.9 MB, free: 2.551 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.01193, allocations: 31.95 kB / 272 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.01195, allocations: 15.98 kB / 272 MB, free: 2.504 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.421e-05/0.01198, allocations: 52.56 kB / 272 MB, free: 2.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01198, allocations: 0 / 272 MB, free: 2.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.01227, allocations: 163.5 kB / 272.2 MB, free: 2.289 MB / 266.7 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.0008295/0.0131, allocations: 1.133 MB / 273.3 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002197/0.01332, allocations: 227.1 kB / 273.5 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.01333, allocations: 4 kB / 273.5 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.551e-05/0.01341, allocations: 100.6 kB / 273.6 MB, free: 0.8789 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.0137, allocations: 74.48 kB / 273.7 MB, free: 0.8125 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07876/0.09247, allocations: 1.975 MB / 275.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.09253, allocations: 111.5 kB / 275.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.16e-05/0.09262, allocations: 39.95 kB / 275.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.09277, allocations: 187 kB / 276 MB, free: 10.42 MB / 266.7 MB Notification: Performance of SimCode: time 8.61e-07/0.09277, allocations: 0.9375 kB / 276 MB, free: 10.42 MB / 266.7 MB Notification: Performance of FMU documentation: time 0.02667/0.1194, allocations: 11.16 MB / 287.2 MB, free: 7.16 MB / 266.7 MB Notification: FMU-only work: backend 0.0002674, simCode 0.07804, templates 0 Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06781/0.1872, allocations: 1.526 MB / 288.7 MB, free: 5.504 MB / 266.7 MB Notification: Building FMU for platform 'static' (1/1). Notification: Finished FMU for platform 'static' (1/1). Notification: Performance of buildModelFMU: Generate platform static: time 2.599/2.786, allocations: 28.86 kB / 288.7 MB, free: 5.48 MB / 266.7 MB " [Timeout remaining time 657] (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 & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=me --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --mode=cs --timeout=240 --tolerance=1e-06 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy.pipe 2>&1) [Timeout 252.0] fmpy timed out simulating the FMU (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.sim & (cd run_fmpy-fmi3-cs-cvode && python3 -m fmpy simulate --output-file ../Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type CoSimulation --output-interval 0.002 ../Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.fmu) > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPWithoutReceiveThread_fmpy-fmi3-cs-cvode.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 4.997362260706723]