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.001234/0.001234, allocations: 103.4 kB / 16.03 MB, free: 6.316 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.001254/0.001254, allocations: 200.1 kB / 16.96 MB, free: 6.141 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.237/1.237, allocations: 222.9 MB / 240.6 MB, free: 15.46 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.05369/0.05369, allocations: 12.05 MB / 302.8 MB, free: 3.406 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001102/0.001102, allocations: 67.91 kB / 366.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1641, allocations: 52.32 MB / 418.4 MB, free: 21.29 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002997/0.1671, allocations: 2.434 MB / 420.8 MB, free: 18.86 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005442/0.1677, allocations: 406.7 kB / 421.2 MB, free: 18.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.014e-05/0.1678, allocations: 7.938 kB / 421.2 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001921/0.168, allocations: 27.86 kB / 421.3 MB, free: 18.42 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1681, allocations: 15.86 kB / 421.3 MB, free: 18.41 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002469/0.1684, allocations: 79.88 kB / 421.3 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000147/0.1685, allocations: 143.6 kB / 421.5 MB, free: 18.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.1687, allocations: 94.42 kB / 421.6 MB, free: 18.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.1687, allocations: 63.78 kB / 421.6 MB, free: 18.04 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.1689, allocations: 79.61 kB / 421.7 MB, free: 17.96 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.1689, allocations: 16 kB / 421.7 MB, free: 17.95 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.169, allocations: 75.98 kB / 421.8 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 4.689e-05/0.1691, allocations: 47.88 kB / 421.9 MB, free: 17.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.076e-05/0.1691, allocations: 71.55 kB / 421.9 MB, free: 17.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002135/0.1693, allocations: 227.3 kB / 422.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1693, allocations: 0 / 422.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1694, allocations: 0 / 422.1 MB, free: 17.53 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1694, allocations: 0 / 422.1 MB, free: 17.53 MB / 302.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.0006318/0.17, allocations: 0.5388 MB / 422.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.17, allocations: 8.031 kB / 422.7 MB, free: 16.93 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/0.1701, allocations: 50.73 kB / 422.7 MB, free: 16.87 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.1701, allocations: 32.61 kB / 422.8 MB, free: 16.84 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1703, allocations: 216.1 kB / 423 MB, free: 16.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.1703, allocations: 12.38 kB / 423 MB, free: 16.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.964e-05/0.1703, allocations: 12.38 kB / 423 MB, free: 16.56 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002619/0.1706, allocations: 187.7 kB / 423.2 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.1706, allocations: 3.938 kB / 423.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.1706, allocations: 4 kB / 423.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.1706, allocations: 4 kB / 423.2 MB, free: 16.36 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/0.1708, allocations: 98.3 kB / 423.3 MB, free: 16.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004859/0.1713, allocations: 0.5589 MB / 423.9 MB, free: 15.65 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1715, allocations: 129 kB / 424 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.403e-05/0.1716, allocations: 57.81 kB / 424 MB, free: 15.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.1716, allocations: 8 kB / 424 MB, free: 15.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001356/0.1718, allocations: 129 kB / 424.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1718, allocations: 0 / 424.2 MB, free: 15.29 MB / 302.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003708/0.1722, allocations: 237.3 kB / 424.4 MB, free: 15.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.1722, allocations: 77.11 kB / 424.5 MB, free: 14.96 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.551e-05/0.1723, allocations: 148.2 kB / 424.6 MB, free: 14.8 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1723, allocations: 33.7 kB / 424.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.654e-05/0.1723, allocations: 120.3 kB / 424.8 MB, free: 14.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.559e-05/0.1724, allocations: 35.55 kB / 424.8 MB, free: 14.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.007e-05/0.1724, allocations: 45.7 kB / 424.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 3.817e-05/0.1725, allocations: 326.8 kB / 425.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.529e-05/0.1725, allocations: 39.97 kB / 425.2 MB, free: 14.19 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.753e-05/0.1726, allocations: 97.64 kB / 425.3 MB, free: 14.07 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.1728, allocations: 138.8 kB / 425.4 MB, free: 13.91 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1728, allocations: 4 kB / 425.5 MB, free: 13.91 MB / 302.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001994/0.173, allocations: 177.2 kB / 425.6 MB, free: 13.73 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.173, allocations: 4 kB / 425.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.173, allocations: 0 / 425.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.173, allocations: 4.625 kB / 425.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.467e-05/0.1731, allocations: 27.92 kB / 425.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1731, allocations: 4 kB / 425.7 MB, free: 13.69 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.305e-05/0.1732, allocations: 11.98 kB / 425.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.057e-05/0.1732, allocations: 11.94 kB / 425.7 MB, free: 13.66 MB / 302.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.52e-05/0.1733, allocations: 159.6 kB / 425.8 MB, free: 13.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.1733, allocations: 11.81 kB / 425.9 MB, free: 13.48 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1735, allocations: 150.3 kB / 426 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.1735, allocations: 7.984 kB / 426 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1735, allocations: 0 / 426 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.1736, allocations: 0 / 426 MB, free: 13.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.174, allocations: 498.2 kB / 426.5 MB, free: 12.78 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.174, allocations: 4 kB / 426.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.926e-05/0.174, allocations: 8 kB / 426.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.174, allocations: 0 / 426.5 MB, free: 12.77 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.419e-05/0.174, allocations: 3.984 kB / 426.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.174, allocations: 4 kB / 426.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.174, allocations: 0 / 426.5 MB, free: 12.76 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1743, allocations: 296.1 kB / 426.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.1743, allocations: 89.02 kB / 426.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1744, allocations: 7.984 kB / 426.9 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.868e-05/0.1744, allocations: 4 kB / 426.9 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/0.1745, allocations: 11.92 kB / 426.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.1745, allocations: 4 kB / 426.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.386e-05/0.1745, allocations: 106.5 kB / 427 MB, free: 12.21 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1745, allocations: 0 / 427 MB, free: 12.21 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002854/0.1748, allocations: 51.83 kB / 427.1 MB, free: 12.16 MB / 302.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.0006623/0.1755, allocations: 0.9623 MB / 428 MB, free: 11.21 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002049/0.1757, allocations: 119.8 kB / 428.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1757, allocations: 4 kB / 428.2 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 8.765e-05/0.1758, allocations: 63.91 kB / 428.2 MB, free: 11.03 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.1761, allocations: 23.02 kB / 428.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/0.1775, allocations: 1.887 MB / 430.1 MB, free: 8.984 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001091/0.1777, allocations: 0.7119 MB / 430.8 MB, free: 8.246 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.244e-05/0.1777, allocations: 28.8 kB / 430.9 MB, free: 8.219 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.1778, allocations: 39.42 kB / 430.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1778, allocations: 0 / 430.9 MB, free: 8.18 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06988/0.2477, allocations: 3.484 MB / 434.4 MB, free: 4.914 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001572/0.2478, allocations: 297.3 kB / 434.7 MB, free: 4.535 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.741/1.989, allocations: 0 / 434.7 MB, free: 4.535 MB / 302.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)