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: "" <> buildModelFMU(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Incubate_Examples_TestSerialPackager_UDPMinimalForOMCTest",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Incubate_Examples_TestSerialPackager_UDPMinimalForOMCTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003903/0.003903, allocations: 89.77 kB / 15.91 MB, free: 6.305 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.000977/0.000977, allocations: 195.7 kB / 16.83 MB, free: 6.238 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.236/1.236, allocations: 222.9 MB / 240.5 MB, free: 4.438 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.1544/0.1544, allocations: 12.01 MB / 302.7 MB, free: 1.008 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001083/0.001083, allocations: 59.89 kB / 365.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08898/0.09008, allocations: 52.31 MB / 418.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.003589/0.0937, allocations: 2.427 MB / 420.6 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006703/0.09439, allocations: 418.5 kB / 421 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.09446, allocations: 0 / 421 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001892/0.09466, allocations: 39.72 kB / 421.1 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.733e-05/0.09477, allocations: 7.938 kB / 421.1 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002063/0.09498, allocations: 83.86 kB / 421.2 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.09516, allocations: 135.7 kB / 421.3 MB, free: 2.434 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001623/0.09533, allocations: 84.59 kB / 421.4 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.433e-05/0.09541, allocations: 71.7 kB / 421.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.09554, allocations: 71.67 kB / 421.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.558e-05/0.09558, allocations: 12 kB / 421.5 MB, free: 2.199 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.0957, allocations: 71.92 kB / 421.6 MB, free: 2.129 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.478e-05/0.09578, allocations: 51.81 kB / 421.6 MB, free: 2.078 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.09585, allocations: 67.61 kB / 421.7 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002345/0.09609, allocations: 219.3 kB / 421.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.0961, allocations: 0 / 421.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.09611, allocations: 0 / 421.9 MB, free: 1.797 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.593e-06/0.09612, allocations: 0 / 421.9 MB, free: 1.797 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.0007495/0.09687, allocations: 0.5457 MB / 422.5 MB, free: 1.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.09691, allocations: 8.031 kB / 422.5 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.09697, allocations: 50.73 kB / 422.5 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.09702, allocations: 20.73 kB / 422.5 MB, free: 1.102 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.0972, allocations: 224 kB / 422.8 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.09723, allocations: 12.38 kB / 422.8 MB, free: 0.832 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.09726, allocations: 12.38 kB / 422.8 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.09756, allocations: 179.8 kB / 423 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.09758, allocations: 11.92 kB / 423 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.925e-05/0.09761, allocations: 4 kB / 423 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.09762, allocations: 4 kB / 423 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001702/0.09779, allocations: 91.89 kB / 423.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.2559, allocations: 0.5584 MB / 423.6 MB, free: 41.46 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002913/0.2562, allocations: 124.1 kB / 423.8 MB, free: 41.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.599e-05/0.2563, allocations: 63.64 kB / 423.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.075e-05/0.2563, allocations: 0.7031 kB / 423.8 MB, free: 41.4 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001556/0.2565, allocations: 125.8 kB / 423.9 MB, free: 41.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.2565, allocations: 0 / 423.9 MB, free: 41.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.000425/0.2569, allocations: 235.3 kB / 424.2 MB, free: 41.31 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/0.257, allocations: 85.8 kB / 424.3 MB, free: 41.21 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.2571, allocations: 145.5 kB / 424.4 MB, free: 41.12 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.296e-05/0.2571, allocations: 32 kB / 424.4 MB, free: 41.09 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.987e-05/0.2571, allocations: 121.1 kB / 424.5 MB, free: 41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.2572, allocations: 41.56 kB / 424.6 MB, free: 40.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.534e-05/0.2572, allocations: 45.67 kB / 424.6 MB, free: 40.98 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 3.9e-05/0.2573, allocations: 322.3 kB / 424.9 MB, free: 40.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.795e-05/0.2573, allocations: 40.69 kB / 425 MB, free: 40.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.527e-05/0.2574, allocations: 92.59 kB / 425.1 MB, free: 40.6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.2576, allocations: 142.9 kB / 425.2 MB, free: 40.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2576, allocations: 2.938 kB / 425.2 MB, free: 40.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002188/0.2578, allocations: 167.9 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/0.2578, allocations: 7.031 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.2578, allocations: 2.594 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2578, allocations: 3.625 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.297e-05/0.2579, allocations: 23.06 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.258, allocations: 9 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.629e-05/0.258, allocations: 15.27 kB / 425.4 MB, free: 40.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.258, allocations: 6.188 kB / 425.4 MB, free: 40.5 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 8.738e-05/0.2581, allocations: 142.8 kB / 425.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.502e-05/0.2582, allocations: 17.05 kB / 425.6 MB, free: 40.38 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/0.2584, allocations: 153.2 kB / 425.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2584, allocations: 6.844 kB / 425.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2584, allocations: 0.5156 kB / 425.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.2584, allocations: 5.391 kB / 425.8 MB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003978/0.2588, allocations: 499.3 kB / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.2588, allocations: 1.406 kB / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.2589, allocations: 14.2 kB / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.2589, allocations: 4.844 kB / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.2589, allocations: 6.062 kB / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2589, allocations: 0 / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2589, allocations: 0 / 426.3 MB, free: 40.04 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002685/0.2592, allocations: 305.5 kB / 426.6 MB, free: 39.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.856e-05/0.2592, allocations: 87.95 kB / 426.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.193e-05/0.2592, allocations: 2.531 kB / 426.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.903e-05/0.2593, allocations: 9.125 kB / 426.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.999e-05/0.2593, allocations: 9.719 kB / 426.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.2594, allocations: 5.844 kB / 426.7 MB, free: 39.79 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.519e-05/0.2594, allocations: 103.3 kB / 426.8 MB, free: 39.71 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.2594, allocations: 3.969 kB / 426.8 MB, free: 39.71 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002889/0.2597, allocations: 55.8 kB / 426.8 MB, free: 39.71 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 (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.000686/0.2604, allocations: 0.9465 MB / 427.8 MB, free: 39.04 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.2606, allocations: 118.6 kB / 427.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2606, allocations: 1.875 kB / 427.9 MB, free: 39.04 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.085e-05/0.2607, allocations: 62.78 kB / 428 MB, free: 39.04 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002719/0.261, allocations: 28.11 kB / 428 MB, free: 39.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001422/0.2624, allocations: 1.877 MB / 429.9 MB, free: 37.64 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.2625, allocations: 0.7247 MB / 430.6 MB, free: 36.94 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.657e-05/0.2626, allocations: 22.72 kB / 430.6 MB, free: 36.93 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.2627, allocations: 39.34 kB / 430.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.2627, allocations: 0 / 430.7 MB, free: 36.93 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01164/0.2743, allocations: 3.402 MB / 434.1 MB, free: 36.53 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.2745, allocations: 293.1 kB / 434.4 MB, free: 36.16 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.956, allocations: 0 / 434.4 MB, free: 36.16 MB / 350.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Incubate_Examples_TestSerialPackager_UDPMinimalForOMCTest_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Incubate_Examples_TestSerialPackager_UDPMinimalForOMCTest.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest.pipe 2>&1)