Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001432/0.001432, allocations: 72.55 kB / 19.96 MB, free: 4.598 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 173.9 kB / 23.25 MB, free: 1.312 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9005/0.9005, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03387/0.03387, allocations: 9.139 MB / 269.1 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 397.1 MB, free: 1.254 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.808e-05/1.997e-05, allocations: 2.281 kB / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger): time 0.003021/0.003041, allocations: 2.723 MB / 399.8 MB, free: 14.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007493/0.003791, allocations: 0.6692 MB / 400.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.497e-05/0.003876, allocations: 11.88 kB / 400.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004843/0.00436, allocations: 59.41 kB / 400.5 MB, free: 13.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.004501, allocations: 55.39 kB / 400.6 MB, free: 13.71 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0004248/0.004926, allocations: 231.2 kB / 400.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.005179, allocations: 343.1 kB / 401.1 MB, free: 13.15 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001847/0.005364, allocations: 103.4 kB / 401.2 MB, free: 13.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001655/0.005529, allocations: 251.5 kB / 401.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.00569, allocations: 155.5 kB / 401.6 MB, free: 12.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.873e-05/0.005728, allocations: 44 kB / 401.7 MB, free: 12.61 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001344/0.005863, allocations: 131.7 kB / 401.8 MB, free: 12.48 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.00597, allocations: 135.6 kB / 401.9 MB, free: 12.35 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.992e-05/0.00605, allocations: 119.7 kB / 402.1 MB, free: 12.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003972/0.006447, allocations: 0.5606 MB / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.006449, allocations: 0 / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.006451, allocations: 0 / 402.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.006456, allocations: 0 / 402.6 MB, free: 11.67 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg packager.pkgOut.pkg = packInt.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001015/0.00747, allocations: 0.9605 MB / 403.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.007505, allocations: 12.03 kB / 403.6 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.069e-05/0.007555, allocations: 74.72 kB / 403.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.089e-05/0.007606, allocations: 44.69 kB / 403.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001937/0.0078, allocations: 227.8 kB / 403.9 MB, free: 10.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.007826, allocations: 25.38 kB / 404 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.93e-05/0.007855, allocations: 36.36 kB / 404 MB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004127/0.008268, allocations: 402.4 kB / 404.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.008278, allocations: 192 / 404.4 MB, free: 9.781 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.295e-05/0.008301, allocations: 20.36 kB / 404.4 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.619e-05/0.008317, allocations: 20.06 kB / 404.4 MB, free: 9.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002533/0.008571, allocations: 215.9 kB / 404.6 MB, free: 9.531 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008245/0.009395, allocations: 0.9881 MB / 405.6 MB, free: 8.484 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002994/0.009695, allocations: 246.3 kB / 405.9 MB, free: 8.207 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.009798, allocations: 103.5 kB / 406 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.009818, allocations: 4 kB / 406 MB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.009992, allocations: 206.5 kB / 406.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.322e-06/0.009994, allocations: 0 / 406.2 MB, free: 7.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005256/0.01052, allocations: 451 kB / 406.6 MB, free: 7.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.01058, allocations: 148.5 kB / 406.8 MB, free: 7.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000117/0.0107, allocations: 192.1 kB / 406.9 MB, free: 7.039 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.01072, allocations: 41.69 kB / 407 MB, free: 6.992 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.898e-05/0.0108, allocations: 192.9 kB / 407.2 MB, free: 6.801 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.01084, allocations: 71.47 kB / 407.2 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.16e-05/0.01092, allocations: 94.11 kB / 407.3 MB, free: 6.633 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003163/0.01124, allocations: 338.8 kB / 407.7 MB, free: 6.293 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.785e-05/0.01133, allocations: 80.95 kB / 407.7 MB, free: 6.215 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/0.01148, allocations: 231.8 kB / 408 MB, free: 5.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000267/0.01174, allocations: 362.8 kB / 408.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.01175, allocations: 0 / 408.3 MB, free: 5.496 MB / 378.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0003212/0.01207, allocations: 365 kB / 408.7 MB, free: 5.133 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.01208, allocations: 8 kB / 408.7 MB, free: 5.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.01209, allocations: 4 kB / 408.7 MB, free: 5.121 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.0121, allocations: 8 kB / 408.7 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.01221, allocations: 63.78 kB / 408.8 MB, free: 5.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.01222, allocations: 7.984 kB / 408.8 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.605e-05/0.0123, allocations: 32.34 kB / 408.8 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01231, allocations: 23.94 kB / 408.8 MB, free: 4.988 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 46 (unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],iExp2.y,unpackInt1.pkgOut[1].trigger,iExp.y,$PRE.iExp.y,$whenCondition1,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,packager.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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 0.0001403/0.01245, allocations: 206.9 kB / 409 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.01248, allocations: 23.84 kB / 409 MB, free: 4.754 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.01251, allocations: 21.2 kB / 409.1 MB, free: 4.734 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.01251, allocations: 3.984 kB / 409.1 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.01252, allocations: 4 kB / 409.1 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.01252, allocations: 4 kB / 409.1 MB, free: 4.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005814/0.0131, allocations: 0.7081 MB / 409.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01311, allocations: 0 / 409.8 MB, free: 3.965 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.296e-05/0.01313, allocations: 8 kB / 409.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.305e-06/0.01313, allocations: 0 / 409.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.01315, allocations: 15.98 kB / 409.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.01315, allocations: 0 / 409.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01315, allocations: 3.938 kB / 409.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.01352, allocations: 476.4 kB / 410.3 MB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.503e-05/0.01354, allocations: 19.84 kB / 410.3 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.894e-05/0.01356, allocations: 8.234 kB / 410.3 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.181e-05/0.01361, allocations: 19.92 kB / 410.3 MB, free: 3.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.821e-05/0.01365, allocations: 15.98 kB / 410.3 MB, free: 3.387 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.01366, allocations: 11.98 kB / 410.4 MB, free: 3.375 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.01371, allocations: 127.1 kB / 410.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01371, allocations: 0 / 410.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002743/0.01399, allocations: 115.6 kB / 410.6 MB, free: 3.137 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 29 (packager.internalTrigger,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].trigger,$whenCondition1,iExp.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],iExp2.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (iExp.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.0007362/0.01472, allocations: 1.095 MB / 411.7 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.015, allocations: 249.2 kB / 411.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.015, allocations: 0 / 411.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001143/0.01512, allocations: 103.9 kB / 412 MB, free: 1.672 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.01539, allocations: 55.88 kB / 412.1 MB, free: 1.617 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002162/0.01755, allocations: 2.715 MB / 414.8 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001107/0.01767, allocations: 175.5 kB / 415 MB, free: 14.47 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.116e-05/0.01773, allocations: 30.44 kB / 415 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.01781, allocations: 84.47 kB / 415.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.01781, allocations: 0 / 415.1 MB, free: 14.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.018/0.03581, allocations: 7.13 MB / 422.2 MB, free: 7.449 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.458, allocations: 6.734 kB / 422.2 MB, free: 7.445 MB / 394.7 MB " [Timeout remaining time 652] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_ExternalTrigger.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_ExternalTrigger.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.315832710824907] Failed to read output from testmodel.py, exit status != 0: 7.542608546093106 7.554372316 7.546223137 Calling exit ...