Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") translateModel(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 119.3 kB / 17.14 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001724/0.001724, allocations: 191.3 kB / 18.07 MB, free: 5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 222.9 MB / 241.8 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05811/0.05811, allocations: 12.05 MB / 304 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 420.7 MB, free: 17.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07787/0.07913, allocations: 52.32 MB / 473 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.003409/0.08258, allocations: 2.386 MB / 475.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006878/0.08329, allocations: 426.5 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.515e-05/0.08336, allocations: 4 kB / 475.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001742/0.08355, allocations: 27.72 kB / 475.9 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.08366, allocations: 31.8 kB / 475.9 MB, free: 10.1 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0002759/0.08395, allocations: 99.58 kB / 476 MB, free: 10 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001883/0.08415, allocations: 143.6 kB / 476.2 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000171/0.08433, allocations: 92.12 kB / 476.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.03e-05/0.08442, allocations: 67.77 kB / 476.3 MB, free: 9.707 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.08456, allocations: 87.59 kB / 476.4 MB, free: 9.621 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.988e-05/0.0846, allocations: 16 kB / 476.4 MB, free: 9.605 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.08473, allocations: 67.98 kB / 476.5 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.08479, allocations: 43.89 kB / 476.5 MB, free: 9.496 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.213e-05/0.08488, allocations: 83.47 kB / 476.6 MB, free: 9.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002651/0.08515, allocations: 231.3 kB / 476.8 MB, free: 9.188 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.08517, allocations: 7.938 kB / 476.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.08517, allocations: 0 / 476.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.248e-06/0.08518, allocations: 0 / 476.8 MB, free: 9.18 MB / 350.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = addReal.pkgIn.pkg addReal.pkgOut[1].pkg = uDPSend.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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007822/0.08597, allocations: 0.5379 MB / 477.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.08601, allocations: 8.031 kB / 477.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.08608, allocations: 20.69 kB / 477.4 MB, free: 8.551 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001897/0.08627, allocations: 220 kB / 477.6 MB, free: 8.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.452e-05/0.0863, allocations: 16.36 kB / 477.6 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.08633, allocations: 12.38 kB / 477.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003092/0.08665, allocations: 187.7 kB / 477.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.08667, allocations: 192 / 477.8 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.0867, allocations: 11.92 kB / 477.8 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.08671, allocations: 4 kB / 477.8 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001806/0.08689, allocations: 91.83 kB / 477.9 MB, free: 7.969 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006788/0.08758, allocations: 0.5589 MB / 478.5 MB, free: 7.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002567/0.08785, allocations: 129 kB / 478.6 MB, free: 7.211 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.08797, allocations: 57.81 kB / 478.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.08799, allocations: 0 / 478.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.08817, allocations: 129.1 kB / 478.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.413e-06/0.08818, allocations: 0 / 478.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004757/0.08866, allocations: 241.5 kB / 479 MB, free: 6.762 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.08872, allocations: 81.11 kB / 479.1 MB, free: 6.664 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.08884, allocations: 155.5 kB / 479.3 MB, free: 6.504 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.83e-05/0.08886, allocations: 29.64 kB / 479.3 MB, free: 6.469 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.08893, allocations: 120.4 kB / 479.4 MB, free: 6.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.473e-05/0.08897, allocations: 35.56 kB / 479.4 MB, free: 6.312 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-05/0.08905, allocations: 49.69 kB / 479.5 MB, free: 6.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.08916, allocations: 322.8 kB / 479.8 MB, free: 5.934 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.047e-05/0.08924, allocations: 35.97 kB / 479.8 MB, free: 5.898 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.08936, allocations: 98.73 kB / 479.9 MB, free: 5.777 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.08957, allocations: 138.7 kB / 480.1 MB, free: 5.617 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.08958, allocations: 3.938 kB / 480.1 MB, free: 5.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002775/0.08987, allocations: 173.3 kB / 480.3 MB, free: 5.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.08989, allocations: 4 kB / 480.3 MB, free: 5.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.0899, allocations: 4 kB / 480.3 MB, free: 5.43 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.08991, allocations: 4 kB / 480.3 MB, free: 5.426 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.09002, allocations: 23.92 kB / 480.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/0.09004, allocations: 4 kB / 480.3 MB, free: 5.398 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.09011, allocations: 7.938 kB / 480.3 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.09013, allocations: 11.98 kB / 480.3 MB, free: 5.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addReal.pkgOut[1].backwardTrigger,addReal.pkgOut[1].trigger,$whenCondition1,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 (19): * Single equations (assignments): 19 * 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.0001274/0.09026, allocations: 151.6 kB / 480.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.838e-05/0.0903, allocations: 11.81 kB / 480.5 MB, free: 5.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002607/0.09057, allocations: 154.4 kB / 480.6 MB, free: 5.051 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.09058, allocations: 3.938 kB / 480.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.09059, allocations: 256 / 480.6 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.13e-05/0.09063, allocations: 92.94 kB / 480.7 MB, free: 4.938 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.09066, allocations: 4 kB / 480.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.081e-05/0.09071, allocations: 8 kB / 480.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.935e-05/0.09075, allocations: 15.92 kB / 480.7 MB, free: 4.91 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003647/0.09112, allocations: 344.1 kB / 481.1 MB, free: 4.566 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003875/0.09152, allocations: 441.9 kB / 481.5 MB, free: 4.117 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001021/0.09163, allocations: 60.09 kB / 481.6 MB, free: 4.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.346e-05/0.09169, allocations: 101.9 kB / 481.7 MB, free: 3.961 MB / 350.1 MB Notification: Performance of Backend: time 2.31e-07/0.0917, allocations: 4 kB / 481.7 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008215/0.09253, allocations: 269.4 kB / 481.9 MB, free: 3.727 MB / 350.1 MB Notification: Performance of SimCode: time 0.0005857/0.09313, allocations: 0.7106 MB / 482.6 MB, free: 2.973 MB / 350.1 MB Notification: Performance of Templates: time 0.004681/0.09782, allocations: 2.012 MB / 484.7 MB, free: 1.004 MB / 350.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.makefile (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe 2>&1)