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.0007587/0.0007587, allocations: 102.9 kB / 16.07 MB, free: 32 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.0007843/0.0007844, allocations: 180.5 kB / 16.96 MB, free: 6.879 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.249/1.249, allocations: 223.3 MB / 241 MB, free: 5.25 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.1554/0.1554, allocations: 12.04 MB / 304.2 MB, free: 1.762 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002891/0.0002891, allocations: 8 kB / 368.4 MB, free: 8.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09763/0.09793, allocations: 53.34 MB / 421.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Incubate.Examples.TestSerialPackager_UDPMinimalForOMCTest): time 0.002834/0.1008, allocations: 2.073 MB / 423.8 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006529/0.1015, allocations: 410.7 kB / 424.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.1016, allocations: 7.938 kB / 424.2 MB, free: 1.113 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001809/0.1017, allocations: 27.86 kB / 424.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.832e-05/0.1018, allocations: 11.92 kB / 424.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002175/0.1021, allocations: 83.8 kB / 424.3 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1023, allocations: 131.7 kB / 424.5 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1025, allocations: 92.58 kB / 424.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.836e-05/0.1025, allocations: 43.78 kB / 424.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001393/0.1027, allocations: 67.62 kB / 424.7 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.056e-05/0.1027, allocations: 4 kB / 424.7 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.1029, allocations: 63.95 kB / 424.7 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.373e-05/0.1029, allocations: 31.86 kB / 424.8 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.574e-05/0.103, allocations: 89.3 kB / 424.8 MB, free: 484 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002601/0.1033, allocations: 215.3 kB / 425.1 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1033, allocations: 0 / 425.1 MB, free: 268 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1033, allocations: 0 / 425.1 MB, free: 268 kB / 350.1 MB Notification: Performance of Transformations before backend: time 6.031e-06/0.1033, allocations: 0 / 425.1 MB, free: 268 kB / 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.1543/0.2577, allocations: 0.5035 MB / 425.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.2577, allocations: 10.44 kB / 425.6 MB, free: 39.3 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.273e-05/0.2578, allocations: 54.02 kB / 425.6 MB, free: 39.26 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.683e-05/0.2578, allocations: 19 kB / 425.6 MB, free: 39.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.258, allocations: 220.2 kB / 425.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.462e-05/0.258, allocations: 12.27 kB / 425.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.258, allocations: 16.05 kB / 425.9 MB, free: 39.05 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002931/0.2583, allocations: 181.1 kB / 426.1 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.2584, allocations: 3.938 kB / 426.1 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.717e-05/0.2584, allocations: 8.219 kB / 426.1 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2584, allocations: 1.25 kB / 426.1 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001638/0.2586, allocations: 94 kB / 426.2 MB, free: 39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005733/0.2591, allocations: 0.5608 MB / 426.7 MB, free: 38.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/0.2594, allocations: 124.9 kB / 426.9 MB, free: 38.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.983e-05/0.2595, allocations: 60.27 kB / 426.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.2595, allocations: 4.312 kB / 426.9 MB, free: 38.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001373/0.2596, allocations: 128.7 kB / 427 MB, free: 38.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.2596, allocations: 0 / 427 MB, free: 38.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004184/0.2601, allocations: 237.4 kB / 427.3 MB, free: 38.47 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.409e-05/0.2601, allocations: 85.47 kB / 427.4 MB, free: 38.38 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/0.2602, allocations: 146.3 kB / 427.5 MB, free: 38.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.2602, allocations: 31.3 kB / 427.5 MB, free: 38.24 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.238e-05/0.2603, allocations: 123.1 kB / 427.6 MB, free: 38.14 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.2603, allocations: 33.34 kB / 427.7 MB, free: 38.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2603, allocations: 34.08 kB / 427.7 MB, free: 38.11 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 4.307e-05/0.2604, allocations: 326.8 kB / 428 MB, free: 37.79 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.727e-05/0.2605, allocations: 39.02 kB / 428.1 MB, free: 37.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-05/0.2605, allocations: 98.5 kB / 428.2 MB, free: 37.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001514/0.2607, allocations: 145.2 kB / 428.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.2607, allocations: 0 / 428.3 MB, free: 37.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002085/0.2609, allocations: 160 kB / 428.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.2609, allocations: 6.719 kB / 428.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.261, allocations: 4.875 kB / 428.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.261, allocations: 2.938 kB / 428.5 MB, free: 37.62 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.732e-05/0.2611, allocations: 27.8 kB / 428.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.2611, allocations: 4.125 kB / 428.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.491e-05/0.2611, allocations: 17.75 kB / 428.5 MB, free: 37.61 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.086e-05/0.2611, allocations: 6.969 kB / 428.5 MB, free: 37.61 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 9.169e-05/0.2612, allocations: 154 kB / 428.7 MB, free: 37.48 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.2613, allocations: 10.36 kB / 428.7 MB, free: 37.47 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.2615, allocations: 154 kB / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.2615, allocations: 2.656 kB / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2615, allocations: 0 / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.556e-06/0.2615, allocations: 0 / 428.8 MB, free: 37.43 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003754/0.2619, allocations: 0.4886 MB / 429.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.2619, allocations: 3.344 kB / 429.3 MB, free: 37.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.839e-05/0.2619, allocations: 12.91 kB / 429.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.2619, allocations: 0 / 429.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.262, allocations: 4.875 kB / 429.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/0.262, allocations: 0 / 429.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.262, allocations: 8.5 kB / 429.4 MB, free: 37.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002564/0.2622, allocations: 305.1 kB / 429.7 MB, free: 36.97 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.146e-05/0.2623, allocations: 90.95 kB / 429.8 MB, free: 36.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.032e-05/0.2623, allocations: 7 kB / 429.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.732e-05/0.2624, allocations: 3.234 kB / 429.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.2624, allocations: 16.8 kB / 429.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2624, allocations: 6.562 kB / 429.8 MB, free: 36.86 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.573e-05/0.2625, allocations: 101.5 kB / 429.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2625, allocations: 2.719 kB / 429.9 MB, free: 36.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002875/0.2628, allocations: 52.19 kB / 429.9 MB, free: 36.78 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.0006963/0.2635, allocations: 0.9475 MB / 430.9 MB, free: 36.1 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001949/0.2637, allocations: 117.6 kB / 431 MB, free: 36.09 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2637, allocations: 0 / 431 MB, free: 36.09 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.929e-05/0.2638, allocations: 66.88 kB / 431.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002742/0.2641, allocations: 21.78 kB / 431.1 MB, free: 36.08 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.2655, allocations: 1.886 MB / 433 MB, free: 34.66 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001204/0.2656, allocations: 0.7209 MB / 433.7 MB, free: 33.97 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.372e-05/0.2657, allocations: 23.95 kB / 433.7 MB, free: 33.96 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.979e-05/0.2658, allocations: 38.78 kB / 433.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2658, allocations: 0 / 433.8 MB, free: 33.95 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01201/0.2778, allocations: 3.277 MB / 437 MB, free: 33.68 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/0.278, allocations: 289.5 kB / 437.3 MB, free: 33.3 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/1.985, allocations: 5.25 kB / 437.3 MB, free: 33.3 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)