Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.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.0009591/0.0009591, allocations: 80.53 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.0009942/0.0009942, 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.9325/0.9325, allocations: 177.1 MB / 203.6 MB, free: 5.75 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.04149/0.04149, allocations: 9.144 MB / 269.1 MB, free: 4.484 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_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_String",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_String",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 397.1 MB, free: 1.25 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/2.036e-05, allocations: 2.281 kB / 397.1 MB, free: 1.246 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.003298/0.003319, allocations: 2.705 MB / 399.8 MB, free: 14.52 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001171/0.004489, allocations: 0.8837 MB / 400.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.00462, allocations: 7.938 kB / 400.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002337/0.004854, allocations: 59.39 kB / 400.7 MB, free: 13.57 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002985/0.005152, allocations: 83.31 kB / 400.8 MB, free: 13.48 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:52:7-61:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:119:7-128:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.005739, allocations: 255.1 kB / 401.1 MB, free: 13.23 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005577/0.006297, allocations: 335.1 kB / 401.4 MB, free: 12.91 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001942/0.006491, allocations: 102.5 kB / 401.5 MB, free: 12.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.006699, allocations: 243.5 kB / 401.7 MB, free: 12.56 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.006887, allocations: 155.5 kB / 401.9 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 3.937e-05/0.006926, allocations: 40 kB / 401.9 MB, free: 12.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000253/0.007179, allocations: 191.7 kB / 402.1 MB, free: 12.18 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001164/0.007296, allocations: 131.6 kB / 402.2 MB, free: 12.05 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.729e-05/0.007383, allocations: 123.6 kB / 402.3 MB, free: 11.93 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005106/0.007894, allocations: 0.619 MB / 403 MB, free: 11.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.007897, allocations: 8 kB / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.007899, allocations: 0 / 403 MB, free: 11.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.007905, allocations: 0 / 403 MB, free: 11.3 MB / 378.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getString.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addString.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.pkgIn.pkg getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.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.001176/0.009081, allocations: 0.9613 MB / 403.9 MB, free: 10.27 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.009118, allocations: 12.03 kB / 403.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.326e-05/0.009171, allocations: 78.7 kB / 404 MB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.824e-05/0.009229, allocations: 36.7 kB / 404.1 MB, free: 10.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001955/0.009425, allocations: 233.7 kB / 404.3 MB, free: 9.887 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.009451, allocations: 29.36 kB / 404.3 MB, free: 9.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.009483, allocations: 36.38 kB / 404.3 MB, free: 9.824 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004478/0.00993, allocations: 413.9 kB / 404.8 MB, free: 9.406 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.009942, allocations: 4 kB / 404.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.275e-05/0.009964, allocations: 12 kB / 404.8 MB, free: 9.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.009972, allocations: 8 kB / 404.8 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002719/0.01024, allocations: 225.8 kB / 405 MB, free: 9.16 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009358/0.01118, allocations: 0.8932 MB / 405.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.01145, allocations: 230.5 kB / 406.1 MB, free: 7.965 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01156, allocations: 106.6 kB / 406.2 MB, free: 7.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.317e-05/0.01164, allocations: 8 kB / 406.2 MB, free: 7.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001956/0.01183, allocations: 195.4 kB / 406.4 MB, free: 7.629 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.342e-06/0.01184, allocations: 0 / 406.4 MB, free: 7.629 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005262/0.01236, allocations: 419 kB / 406.8 MB, free: 7.215 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.476e-05/0.01243, allocations: 130.8 kB / 407 MB, free: 7.062 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.01255, allocations: 198.1 kB / 407.1 MB, free: 6.859 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.01257, allocations: 37.69 kB / 407.2 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.452e-05/0.01267, allocations: 184.8 kB / 407.4 MB, free: 6.633 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.231e-05/0.01271, allocations: 67.52 kB / 407.4 MB, free: 6.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.608e-05/0.0128, allocations: 98 kB / 407.5 MB, free: 6.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.2e-05/0.01289, allocations: 342.7 kB / 407.9 MB, free: 6.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.3e-05/0.01298, allocations: 80.7 kB / 407.9 MB, free: 6.043 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001454/0.01313, allocations: 232.1 kB / 408.2 MB, free: 5.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006846/0.01381, allocations: 362.5 kB / 408.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.06e-06/0.01382, allocations: 0 / 408.5 MB, free: 5.328 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0003736/0.01419, allocations: 349 kB / 408.9 MB, free: 4.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01421, allocations: 11.98 kB / 408.9 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.637e-06/0.01422, allocations: 4 kB / 408.9 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.01423, allocations: 8.594 kB / 408.9 MB, free: 4.957 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.01436, allocations: 64.09 kB / 408.9 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.01437, allocations: 11.94 kB / 409 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.802e-05/0.01445, allocations: 31.78 kB / 409 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.01446, allocations: 20 kB / 409 MB, free: 4.832 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: getString.data:DISCRETE(fixed = true ) \"Output string (read from package)\" type: String Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 44 (getString.dummy,$PRE.getString.dummy,getString.pkgOut[1].dummy,$PRE.getString.pkgOut[1].dummy,addString.pkgOut[1].dummy,$PRE.addString.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,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,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,addInteger.u[1],$PRE.getString.data,findString.y,getString.data,getString.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,addString.pkgIn.autoPkgBitSize,resetPointer.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 (46): * Single equations (assignments): 46 * 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.000206/0.01467, allocations: 215.6 kB / 409.2 MB, free: 4.613 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.01469, allocations: 19.91 kB / 409.2 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.015, allocations: 266.6 kB / 409.5 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.015, allocations: 4 kB / 409.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01501, allocations: 0 / 409.5 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.01501, allocations: 3.984 kB / 409.5 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006222/0.01564, allocations: 0.7106 MB / 410.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.01564, allocations: 0 / 410.2 MB, free: 3.559 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.876e-05/0.01567, allocations: 11.98 kB / 410.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.01567, allocations: 0 / 410.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.01569, allocations: 7.984 kB / 410.2 MB, free: 3.539 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.01569, allocations: 4 kB / 410.2 MB, free: 3.535 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.01569, allocations: 7.938 kB / 410.3 MB, free: 3.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003693/0.01606, allocations: 463.9 kB / 410.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.712e-05/0.01608, allocations: 19.84 kB / 410.7 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.0161, allocations: 7.984 kB / 410.7 MB, free: 3.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.917e-05/0.01617, allocations: 4 kB / 410.7 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.0162, allocations: 27.89 kB / 410.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.466e-05/0.01622, allocations: 11.98 kB / 410.8 MB, free: 2.984 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.768e-05/0.01628, allocations: 120.3 kB / 410.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01628, allocations: 0 / 410.9 MB, free: 2.867 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003611/0.01664, allocations: 135.5 kB / 411 MB, free: 2.734 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 28 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].trigger,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.y[1],getInteger.dummy,addString.pkgOut[1].dummy,getString.pkgOut[1].dummy,getString.data,getString.dummy,findString.y,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addString.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 5 * 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.0009158/0.01755, allocations: 1.193 MB / 412.2 MB, free: 1.551 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003007/0.01785, allocations: 239.6 kB / 412.5 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.01786, allocations: 0 / 412.5 MB, free: 1.316 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.01797, allocations: 103.9 kB / 412.6 MB, free: 1.215 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.01825, allocations: 53.44 kB / 412.6 MB, free: 1.164 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002421/0.02067, allocations: 2.699 MB / 415.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001181/0.02079, allocations: 171.8 kB / 415.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.617e-05/0.02087, allocations: 30.28 kB / 415.5 MB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.835e-05/0.02096, allocations: 84.47 kB / 415.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of SimCode: time 9.51e-07/0.02096, allocations: 0 / 415.6 MB, free: 13.93 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02199/0.04295, allocations: 7.727 MB / 423.3 MB, free: 6.375 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.153/7.196, allocations: 0 / 423.3 MB, free: 6.375 MB / 394.7 MB " [Timeout remaining time 653] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String_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_String.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.096468273550272] Failed to read output from testmodel.py, exit status != 0: 7.278472449630499 7.288486539 7.278448889 Calling exit ...