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.000942/0.000942, allocations: 76.55 kB / 19.97 MB, free: 4.594 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.001561/0.001561, 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.9153/0.9153, allocations: 177.1 MB / 203.6 MB, free: 5.746 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.03492/0.03492, allocations: 9.129 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.984e-06/1.984e-06, allocations: 0 / 397.1 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.073e-05/2.271e-05, allocations: 2.281 kB / 397.1 MB, free: 1.27 MB / 362.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_String): time 0.004307/0.00433, allocations: 2.712 MB / 399.8 MB, free: 14.54 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.005609, allocations: 0.8876 MB / 400.7 MB, free: 13.64 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000191/0.0058, allocations: 11.88 kB / 400.7 MB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003028/0.006103, allocations: 51.42 kB / 400.7 MB, free: 13.58 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003733/0.006476, allocations: 87.3 kB / 400.8 MB, free: 13.5 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.0009033/0.007379, allocations: 251.1 kB / 401.1 MB, free: 13.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007691/0.008148, allocations: 335.1 kB / 401.4 MB, free: 12.92 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002807/0.008429, allocations: 98.45 kB / 401.5 MB, free: 12.82 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002648/0.008694, allocations: 243.5 kB / 401.7 MB, free: 12.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.008913, allocations: 159.5 kB / 401.9 MB, free: 12.43 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 4.447e-05/0.008957, allocations: 40 kB / 401.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.009346, allocations: 191.7 kB / 402.1 MB, free: 12.2 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001787/0.009525, allocations: 135.6 kB / 402.2 MB, free: 12.07 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 9.776e-05/0.009623, allocations: 119.7 kB / 402.3 MB, free: 11.95 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006144/0.01024, allocations: 0.619 MB / 403 MB, free: 11.33 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.01024, allocations: 4 kB / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.01024, allocations: 0 / 403 MB, free: 11.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.934e-06/0.01025, allocations: 3.938 kB / 403 MB, free: 11.32 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.001366/0.01162, allocations: 0.9574 MB / 403.9 MB, free: 10.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/0.01166, allocations: 12.03 kB / 403.9 MB, free: 10.28 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.09e-05/0.01172, allocations: 78.7 kB / 404 MB, free: 10.2 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.386e-05/0.0118, allocations: 40.7 kB / 404.1 MB, free: 10.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002507/0.01205, allocations: 221.8 kB / 404.3 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.325e-05/0.01208, allocations: 37.34 kB / 404.3 MB, free: 9.879 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.412e-05/0.01212, allocations: 32.38 kB / 404.3 MB, free: 9.848 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005141/0.01263, allocations: 413.9 kB / 404.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.01264, allocations: 0 / 404.7 MB, free: 9.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.01267, allocations: 16 kB / 404.8 MB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.796e-06/0.01267, allocations: 11.98 kB / 404.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002665/0.01294, allocations: 217.8 kB / 405 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01398, allocations: 0.8971 MB / 405.9 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.01426, allocations: 231.6 kB / 406.1 MB, free: 7.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01437, allocations: 102.6 kB / 406.2 MB, free: 7.875 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-05/0.01446, allocations: 19.92 kB / 406.2 MB, free: 7.855 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.01469, allocations: 187.4 kB / 406.4 MB, free: 7.648 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 1.773e-06/0.01469, allocations: 0 / 406.4 MB, free: 7.648 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.0005985/0.01529, allocations: 427.9 kB / 406.8 MB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.01535, allocations: 122.8 kB / 407 MB, free: 7.082 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.0155, allocations: 194.1 kB / 407.1 MB, free: 6.883 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.517e-05/0.01553, allocations: 49.69 kB / 407.2 MB, free: 6.828 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.01565, allocations: 180.8 kB / 407.4 MB, free: 6.648 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.214e-05/0.01572, allocations: 67.52 kB / 407.4 MB, free: 6.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001022/0.01582, allocations: 102 kB / 407.5 MB, free: 6.477 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003442/0.01616, allocations: 330.8 kB / 407.9 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.01627, allocations: 80.7 kB / 407.9 MB, free: 6.066 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001612/0.01643, allocations: 232.3 kB / 408.2 MB, free: 5.773 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004292/0.01686, allocations: 366.5 kB / 408.5 MB, free: 5.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/0.01686, allocations: 4 kB / 408.5 MB, free: 5.344 MB / 378.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000376/0.01724, allocations: 349.3 kB / 408.9 MB, free: 4.996 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.01726, allocations: 8 kB / 408.9 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.809e-06/0.01727, allocations: 4 kB / 408.9 MB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.01728, allocations: 8 kB / 408.9 MB, free: 4.977 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.01742, allocations: 59.84 kB / 408.9 MB, free: 4.918 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.01743, allocations: 8 kB / 408.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.01752, allocations: 35.72 kB / 409 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.01753, allocations: 19.98 kB / 409 MB, free: 4.855 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.0002114/0.01775, allocations: 223.8 kB / 409.2 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.01777, allocations: 19.89 kB / 409.2 MB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003323/0.0181, allocations: 266.6 kB / 409.5 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.01811, allocations: 4 kB / 409.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.01812, allocations: 0 / 409.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.01812, allocations: 0 / 409.5 MB, free: 4.336 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/0.01879, allocations: 0.7068 MB / 410.2 MB, free: 3.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.01879, allocations: 4 kB / 410.2 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.01883, allocations: 11.94 kB / 410.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-06/0.01883, allocations: 0 / 410.2 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.656e-05/0.01885, allocations: 11.98 kB / 410.2 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.01885, allocations: 4 kB / 410.2 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01885, allocations: 3.938 kB / 410.2 MB, free: 3.547 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004006/0.01925, allocations: 460 kB / 410.7 MB, free: 3.078 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.032e-05/0.01927, allocations: 23.83 kB / 410.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.01929, allocations: 0 / 410.7 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.781e-05/0.01936, allocations: 11.98 kB / 410.7 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.01941, allocations: 23.86 kB / 410.8 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.01942, allocations: 15.98 kB / 410.8 MB, free: 3.004 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.191e-05/0.01949, allocations: 116.3 kB / 410.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01949, allocations: 0 / 410.9 MB, free: 2.891 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004008/0.01989, allocations: 135.5 kB / 411 MB, free: 2.758 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.001083/0.02097, allocations: 1.204 MB / 412.2 MB, free: 1.566 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003517/0.02132, allocations: 236.6 kB / 412.5 MB, free: 1.336 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.02132, allocations: 4.188 kB / 412.5 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.02145, allocations: 99.88 kB / 412.6 MB, free: 1.234 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/0.02176, allocations: 56.09 kB / 412.6 MB, free: 1.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/0.02456, allocations: 2.699 MB / 415.3 MB, free: 14.25 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001397/0.0247, allocations: 167.8 kB / 415.5 MB, free: 14.06 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 8.836e-05/0.02479, allocations: 26.56 kB / 415.5 MB, free: 14.04 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/0.02489, allocations: 92.45 kB / 415.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of SimCode: time 9.02e-07/0.02489, allocations: 0 / 415.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02386/0.04875, allocations: 7.723 MB / 423.3 MB, free: 6.395 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.091/7.14, allocations: 0 / 423.3 MB, free: 6.395 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_String_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 8.933185719884932] Failed to read output from testmodel.py, exit status != 0: 7.2253363635391 7.236151651 7.223963167 Calling exit ...