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/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/ModelicaServices 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001508/0.001508, allocations: 180.9 kB / 8.049 MB, free: 1.027 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.506/1.506, allocations: 221.5 MB / 230 MB, free: 7.539 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.0008539, allocations: 92.69 kB / 280.9 MB, free: 5.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05247/0.05247, allocations: 11.91 MB / 343.6 MB, free: 3.488 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.348e-05/1.351e-05, allocations: 1.188 kB / 403.1 MB, free: 45.37 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1118, allocations: 53.36 MB / 456.5 MB, free: 14.84 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4396/0.5514, allocations: 81.4 MB / 0.5253 GB, free: 16.85 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5517, allocations: 73.89 kB / 0.5253 GB, free: 16.85 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01046/0.5622, allocations: 3.685 MB / 0.5289 GB, free: 16.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5622, allocations: 0 / 0.5289 GB, free: 16.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.048e-05/0.5623, allocations: 12.03 kB / 0.529 GB, free: 16.38 MB / 362.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addReal.pkgOut[1].pkg = uDPSend.pkgIn.pkg addReal.pkgIn.pkg = packager.pkgOut.pkg addReal.pkgOut[1].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.0008701/0.5632, allocations: 0.5009 MB / 0.5294 GB, free: 15.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/0.5632, allocations: 9.125 kB / 0.5294 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.5633, allocations: 19.52 kB / 0.5295 GB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002574/0.5636, allocations: 224 kB / 0.5297 GB, free: 15.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.559e-05/0.5636, allocations: 11.84 kB / 0.5297 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.622e-05/0.5636, allocations: 12.55 kB / 0.5297 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002308/0.5639, allocations: 75.88 kB / 0.5298 GB, free: 15.71 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.5642, allocations: 160.4 kB / 0.5299 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.5643, allocations: 0 / 0.5299 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.5643, allocations: 7.656 kB / 0.5299 GB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5643, allocations: 7.75 kB / 0.5299 GB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000829/0.5651, allocations: 0.507 MB / 0.5304 GB, free: 15.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.5654, allocations: 117.5 kB / 0.5306 GB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.5655, allocations: 52.77 kB / 0.5306 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.5656, allocations: 4.703 kB / 0.5306 GB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001548/0.5657, allocations: 131 kB / 0.5307 GB, free: 15.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=15): time 2.385e-06/0.5657, allocations: 3.984 kB / 0.5307 GB, free: 15.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=15): time 0.000467/0.5662, allocations: 178 kB / 0.5309 GB, free: 15.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.5663, allocations: 81.98 kB / 0.531 GB, free: 15.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.5664, allocations: 138.9 kB / 0.5311 GB, free: 14.92 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.5664, allocations: 29 kB / 0.5311 GB, free: 14.89 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.42e-05/0.5665, allocations: 117.1 kB / 0.5313 GB, free: 14.79 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.5665, allocations: 31.86 kB / 0.5313 GB, free: 14.77 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.855e-06/0.5665, allocations: 0 / 0.5313 GB, free: 14.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.352e-05/0.5666, allocations: 329.7 kB / 0.5316 GB, free: 14.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.862e-05/0.5667, allocations: 30.25 kB / 0.5316 GB, free: 14.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.338e-05/0.5668, allocations: 90.38 kB / 0.5317 GB, free: 14.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000124/0.5669, allocations: 54.62 kB / 0.5318 GB, free: 14.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.5669, allocations: 1.5 kB / 0.5318 GB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000255/0.5672, allocations: 147 kB / 0.5319 GB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.5672, allocations: 5.844 kB / 0.5319 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.5672, allocations: 2.688 kB / 0.5319 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.5672, allocations: 2.781 kB / 0.5319 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5673, allocations: 29.62 kB / 0.5319 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.5673, allocations: 4.469 kB / 0.532 GB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.786e-05/0.5674, allocations: 10.44 kB / 0.532 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.529e-05/0.5674, allocations: 6.156 kB / 0.532 GB, free: 14.32 MB / 362.7 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 () * 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 8.591e-05/0.5675, allocations: 127.8 kB / 0.5321 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.255e-05/0.5676, allocations: 10.2 kB / 0.5321 GB, free: 14.2 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002891/0.5679, allocations: 144.7 kB / 0.5322 GB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.137e-06/0.5679, allocations: 6.469 kB / 0.5322 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5679, allocations: 0 / 0.5322 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5679, allocations: 1.406 kB / 0.5322 GB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.5684, allocations: 454.6 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5684, allocations: 1 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.501e-05/0.5685, allocations: 5.406 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.5685, allocations: 1.188 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.5685, allocations: 4.578 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.5685, allocations: 1.188 kB / 0.5327 GB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.5685, allocations: 4.188 kB / 0.5327 GB, free: 13.87 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.5689, allocations: 295.9 kB / 0.533 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.5689, allocations: 95.92 kB / 0.5331 GB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.569, allocations: 8.234 kB / 0.5331 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.028e-05/0.5691, allocations: 6.172 kB / 0.5331 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.5691, allocations: 6.094 kB / 0.5331 GB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.5691, allocations: 13.09 kB / 0.5331 GB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.688e-05/0.5692, allocations: 96.41 kB / 0.5332 GB, free: 13.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.5692, allocations: 3.938 kB / 0.5332 GB, free: 13.51 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003625/0.5696, allocations: 54.41 kB / 0.5332 GB, free: 13.5 MB / 362.7 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 () * 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.0005357/0.5701, allocations: 240.6 kB / 0.5335 GB, free: 13.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002311/0.5703, allocations: 104.2 kB / 0.5336 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.5704, allocations: 0 / 0.5336 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.607e-05/0.5705, allocations: 59.14 kB / 0.5336 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/0.5707, allocations: 19.25 kB / 0.5337 GB, free: 13.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.5719, allocations: 398.9 kB / 0.534 GB, free: 13.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008158/0.5728, allocations: 0.7213 MB / 0.5347 GB, free: 28.51 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.74e-05/0.5728, allocations: 26.8 kB / 0.5348 GB, free: 28.5 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.5729, allocations: 15.45 kB / 0.5348 GB, free: 28.49 MB / 378.7 MB Notification: Performance of SimCode: time 2.7e-07/0.5729, allocations: 0 / 0.5348 GB, free: 28.49 MB / 378.7 MB Notification: Performance of Templates: time 0.005428/0.5783, allocations: 1.78 MB / 0.5365 GB, free: 28.3 MB / 378.7 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)