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.0007738/0.0007738, allocations: 96.78 kB / 15.74 MB, free: 424 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007963/0.0007964, allocations: 169.1 kB / 16.62 MB, free: 6.434 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.204/1.204, allocations: 223.3 MB / 240.7 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1494/0.1494, allocations: 12.03 MB / 303.8 MB, free: 1.797 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000275/0.0002751, allocations: 8 kB / 367.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08186/0.08215, allocations: 53.35 MB / 421 MB, free: 4.047 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002502/0.08468, allocations: 2.037 MB / 423 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006615/0.08536, allocations: 386.9 kB / 423.4 MB, free: 1.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.08544, allocations: 7.938 kB / 423.4 MB, free: 1.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001729/0.08563, allocations: 23.86 kB / 423.5 MB, free: 1.586 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:13:51-13:58:writable] Warning: 'each' used when modifying non-array element dummy. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:13:65-13:75:writable] Warning: 'each' used when modifying non-array element dummy. Notification: Performance of NFTyping.typeBindings: time 0.0001041/0.08574, allocations: 15.92 kB / 423.5 MB, free: 1.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000234/0.08598, allocations: 71.88 kB / 423.5 MB, free: 1.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.08615, allocations: 119.7 kB / 423.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.08632, allocations: 71.14 kB / 423.7 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.886e-05/0.0864, allocations: 47.77 kB / 423.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.08652, allocations: 59.7 kB / 423.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.08654, allocations: 4 kB / 423.8 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001179/0.08667, allocations: 55.97 kB / 423.9 MB, free: 1.141 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.086e-05/0.08673, allocations: 43.78 kB / 423.9 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.08677, allocations: 45.64 kB / 424 MB, free: 1.047 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001902/0.08697, allocations: 163.9 kB / 424.1 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.08698, allocations: 4 kB / 424.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.08699, allocations: 0 / 424.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.087, allocations: 4 kB / 424.1 MB, free: 0.8789 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.0007174/0.08772, allocations: 0.5105 MB / 424.7 MB, free: 316 kB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.08776, allocations: 12.03 kB / 424.7 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.687e-05/0.08782, allocations: 19.77 kB / 424.7 MB, free: 284 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.088, allocations: 221.5 kB / 424.9 MB, free: 24 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.08803, allocations: 12 kB / 424.9 MB, free: 12 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.1444/0.2325, allocations: 14.69 kB / 424.9 MB, free: 39.58 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003752/0.2329, allocations: 176.2 kB / 425.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.2329, allocations: 0 / 425.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.929e-05/0.2329, allocations: 7.781 kB / 425.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2329, allocations: 4.938 kB / 425.1 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001746/0.2331, allocations: 97.19 kB / 425.2 MB, free: 39.53 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.2337, allocations: 0.5624 MB / 425.8 MB, free: 39.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002216/0.234, allocations: 124.4 kB / 425.9 MB, free: 39.14 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/0.2341, allocations: 58.44 kB / 425.9 MB, free: 39.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.2341, allocations: 6.797 kB / 426 MB, free: 39.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001472/0.2342, allocations: 122.7 kB / 426.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.442e-06/0.2343, allocations: 0 / 426.1 MB, free: 39.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004042/0.2347, allocations: 237.2 kB / 426.3 MB, free: 39.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.2347, allocations: 82.94 kB / 426.4 MB, free: 38.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.325e-05/0.2348, allocations: 149.4 kB / 426.5 MB, free: 38.83 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.2348, allocations: 27.11 kB / 426.6 MB, free: 38.8 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.2349, allocations: 120.6 kB / 426.7 MB, free: 38.7 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.957e-05/0.2349, allocations: 39.95 kB / 426.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.316e-06/0.2349, allocations: 3.344 kB / 426.7 MB, free: 38.68 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.235, allocations: 325.8 kB / 427 MB, free: 38.37 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.485e-05/0.235, allocations: 37.53 kB / 427.1 MB, free: 38.37 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.629e-05/0.2351, allocations: 93.75 kB / 427.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.104e-05/0.2352, allocations: 52.16 kB / 427.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.2352, allocations: 2.156 kB / 427.2 MB, free: 38.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002166/0.2354, allocations: 168.6 kB / 427.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.2355, allocations: 5.844 kB / 427.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2355, allocations: 3.906 kB / 427.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2355, allocations: 3.625 kB / 427.4 MB, free: 38.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.05e-05/0.2356, allocations: 28.97 kB / 427.4 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.2356, allocations: 2.719 kB / 427.4 MB, free: 38.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.383e-05/0.2357, allocations: 11.69 kB / 427.4 MB, free: 38.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2357, allocations: 6.156 kB / 427.4 MB, free: 38.25 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 ($PRE.uDPSend.dummy,uDPSend.dummy,$PRE.addReal.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.packager.pkgOut.dummy,packager.pkgOut.dummy,$whenCondition1,addReal.pkgOut[1].trigger,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.2e-05/0.2358, allocations: 146.6 kB / 427.6 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.826e-05/0.2358, allocations: 12.73 kB / 427.6 MB, free: 38.13 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.236, allocations: 160.5 kB / 427.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.236, allocations: 2.875 kB / 427.8 MB, free: 38.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.236, allocations: 4.891 kB / 427.8 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.236, allocations: 2.875 kB / 427.8 MB, free: 38.08 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.2364, allocations: 0.4901 MB / 428.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2364, allocations: 192 / 428.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.041e-05/0.2365, allocations: 7.516 kB / 428.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2365, allocations: 3.031 kB / 428.3 MB, free: 37.78 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.2365, allocations: 11.33 kB / 428.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2365, allocations: 0 / 428.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2365, allocations: 0 / 428.3 MB, free: 37.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002523/0.2368, allocations: 299.4 kB / 428.6 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.008e-05/0.2368, allocations: 86.86 kB / 428.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.213e-05/0.2368, allocations: 7.516 kB / 428.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.83e-05/0.2369, allocations: 13.62 kB / 428.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.781e-05/0.2369, allocations: 3.875 kB / 428.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.237, allocations: 9.359 kB / 428.7 MB, free: 37.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.495e-05/0.237, allocations: 98.5 kB / 428.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.237, allocations: 0 / 428.8 MB, free: 37.44 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002975/0.2373, allocations: 52.62 kB / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 (addReal.pkgOut[1].trigger,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addReal.pkgOut[1].backwardTrigger,uDPSend.bufferSize,uDPSend.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003737/0.2377, allocations: 227.8 kB / 429.1 MB, free: 37.34 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002099/0.2379, allocations: 117.3 kB / 429.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2379, allocations: 0 / 429.2 MB, free: 37.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.768e-05/0.238, allocations: 68.53 kB / 429.2 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002725/0.2383, allocations: 20.66 kB / 429.3 MB, free: 37.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.2389, allocations: 367.6 kB / 429.6 MB, free: 37.11 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.239, allocations: 0.7262 MB / 430.3 MB, free: 36.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.761e-05/0.2391, allocations: 25.55 kB / 430.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.489e-05/0.2391, allocations: 15.53 kB / 430.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of SimCode: time 2.01e-07/0.2391, allocations: 0 / 430.4 MB, free: 36.4 MB / 350.1 MB Notification: Performance of Templates: time 0.003749/0.2428, allocations: 1.857 MB / 432.2 MB, free: 36.24 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)