Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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.001365/0.001365, allocations: 118.2 kB / 19.74 MB, free: 2.152 MB / 14.72 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.001424/0.001424, allocations: 222.2 kB / 23.05 MB, free: 4.996 MB / 14.72 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 1.601/1.601, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] 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.06509/0.06509, allocations: 12.23 MB / 325.5 MB, free: 7.297 MB / 254.1 MB " [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.ClockedBlocks.Examples.TestSerialPackager_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.89 kB / 453.4 MB, free: 9.051 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1272, allocations: 56.4 MB / 0.4978 GB, free: 0.5547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.005006/0.1322, allocations: 2.774 MB / 0.5005 GB, free: 13.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.134, allocations: 0.9423 MB / 0.5014 GB, free: 12.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.1341, allocations: 15.81 kB / 0.5015 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1344, allocations: 51.47 kB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1346, allocations: 79.5 kB / 0.5016 GB, free: 12.68 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:54:9-63:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:121:9-130:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0008048/0.1354, allocations: 257.6 kB / 0.5018 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003337/0.1358, allocations: 271.5 kB / 0.5021 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.136, allocations: 89.72 kB / 0.5022 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.1362, allocations: 139.5 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002301/0.1364, allocations: 163.3 kB / 0.5025 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.515e-05/0.1364, allocations: 32 kB / 0.5025 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002853/0.1367, allocations: 203.8 kB / 0.5027 GB, free: 11.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.1369, allocations: 99.67 kB / 0.5028 GB, free: 11.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.137, allocations: 143.2 kB / 0.5029 GB, free: 11.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00063/0.1376, allocations: 0.498 MB / 0.5034 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1376, allocations: 0 / 0.5034 GB, free: 10.8 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1376, allocations: 0 / 0.5034 GB, free: 10.8 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.1376, allocations: 0 / 0.5034 GB, free: 10.8 MB / 382.1 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 getString.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = getString.pkgIn.pkg addString.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = addString.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg addInteger.pkgOut[1].pkg = resetPointer.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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.001484/0.1391, allocations: 0.9219 MB / 0.5043 GB, free: 9.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1392, allocations: 8.031 kB / 0.5043 GB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.985e-05/0.1392, allocations: 66.73 kB / 0.5044 GB, free: 9.719 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.428e-05/0.1393, allocations: 32.69 kB / 0.5044 GB, free: 9.688 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003302/0.1396, allocations: 223.3 kB / 0.5046 GB, free: 9.445 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.361e-05/0.1397, allocations: 58.47 kB / 0.5047 GB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.403e-05/0.1398, allocations: 28 kB / 0.5047 GB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001517/0.1413, allocations: 0.8978 MB / 0.5056 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1413, allocations: 0 / 0.5056 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.25e-05/0.1413, allocations: 12 kB / 0.5056 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.39e-05/0.1414, allocations: 7.984 kB / 0.5056 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003884/0.1418, allocations: 177.8 kB / 0.5058 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007564/0.1425, allocations: 0.5419 MB / 0.5063 GB, free: 7.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009168/0.1434, allocations: 0.5174 MB / 0.5068 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004614/0.1439, allocations: 282.7 kB / 0.5071 GB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.144, allocations: 36.55 kB / 0.5071 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.467e-05/0.1441, allocations: 43.06 kB / 0.5072 GB, free: 6.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.144e-06/0.1441, allocations: 0 / 0.5072 GB, free: 6.727 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001155/0.1452, allocations: 0.5905 MB / 0.5077 GB, free: 6.133 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001371/0.1454, allocations: 148.7 kB / 0.5079 GB, free: 5.961 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.1456, allocations: 161.1 kB / 0.508 GB, free: 5.789 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.488e-05/0.1456, allocations: 37.7 kB / 0.5081 GB, free: 5.746 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.484e-05/0.1457, allocations: 117.3 kB / 0.5082 GB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.877e-05/0.1457, allocations: 48.05 kB / 0.5082 GB, free: 5.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000118/0.1458, allocations: 106.3 kB / 0.5083 GB, free: 5.473 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.146, allocations: 338.8 kB / 0.5086 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000134/0.1461, allocations: 77.27 kB / 0.5087 GB, free: 5.055 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004455/0.1466, allocations: 471.1 kB / 0.5092 GB, free: 4.398 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006603/0.1472, allocations: 0.5794 MB / 0.5097 GB, free: 3.625 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.1472, allocations: 4 kB / 0.5097 GB, free: 3.621 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007409/0.148, allocations: 0.5135 MB / 0.5102 GB, free: 3.102 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.148, allocations: 12 kB / 0.5102 GB, free: 3.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.148, allocations: 15.94 kB / 0.5103 GB, free: 3.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.992e-05/0.1481, allocations: 20 kB / 0.5103 GB, free: 3.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000327/0.1484, allocations: 119.8 kB / 0.5104 GB, free: 2.938 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.1484, allocations: 31.86 kB / 0.5104 GB, free: 2.906 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000205/0.1486, allocations: 43.78 kB / 0.5105 GB, free: 2.863 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/0.1487, allocations: 32 kB / 0.5105 GB, free: 2.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,findString.y,getString.pkgOut[1].autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgIn.userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgIn.userPkgBitSize,sample3.y,sample1.y,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.0002461/0.1489, allocations: 230.8 kB / 0.5107 GB, free: 2.598 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007431/0.1496, allocations: 425.4 kB / 0.5111 GB, free: 2.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008506/0.1505, allocations: 499.2 kB / 0.5116 GB, free: 1.691 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.1505, allocations: 8 kB / 0.5116 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1505, allocations: 3.938 kB / 0.5116 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.1505, allocations: 3.984 kB / 0.5116 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003958/0.1509, allocations: 316.2 kB / 0.5119 GB, free: 1.324 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.578e-06/0.1509, allocations: 3.938 kB / 0.5119 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.1512, allocations: 95.89 kB / 0.512 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.1512, allocations: 7.938 kB / 0.512 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.1513, allocations: 19.92 kB / 0.512 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1513, allocations: 4 kB / 0.512 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1513, allocations: 0 / 0.512 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008554/0.1521, allocations: 0.6377 MB / 0.5127 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.62e-05/0.1522, allocations: 39.69 kB / 0.5127 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.617e-05/0.1522, allocations: 23.92 kB / 0.5127 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1524, allocations: 8 kB / 0.5127 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.457e-05/0.1524, allocations: 4 kB / 0.5127 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.231e-05/0.1524, allocations: 23.98 kB / 0.5128 GB, free: 452 kB / 382.1 MB Notification: Performance of sorting global known variables: time 7.672e-05/0.1525, allocations: 107.2 kB / 0.5129 GB, free: 344 kB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1525, allocations: 0 / 0.5129 GB, free: 344 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006207/0.1531, allocations: 127.7 kB / 0.513 GB, free: 216 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 43 (integerExpression.y,integerExpression2.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],sample1.y,sample3.y,addString.pkgIn.userPkgBitSize,addString.pkgIn.autoPkgBitSize,addString.pkgOut[1].userPkgBitSize,addString.pkgOut[1].autoPkgBitSize,getString.pkgIn.userPkgBitSize,getString.pkgIn.autoPkgBitSize,getString.pkgOut[1].userPkgBitSize,getString.pkgOut[1].autoPkgBitSize,findString.y) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 1 * 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.2381/0.3912, allocations: 1.639 MB / 0.5146 GB, free: 20.63 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007572/0.392, allocations: 383.4 kB / 0.515 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.392, allocations: 5.359 kB / 0.515 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 1.949e-05/0.392, allocations: 5.391 kB / 0.515 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3933, allocations: 1.115 MB / 0.5161 GB, free: 19.83 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003454/0.3968, allocations: 3.526 MB / 0.5195 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003116/0.3971, allocations: 0.8074 MB / 0.5203 GB, free: 16.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.592e-05/0.3972, allocations: 35.14 kB / 0.5203 GB, free: 16.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001417/0.3973, allocations: 88.83 kB / 0.5204 GB, free: 16.72 MB / 382.1 MB Notification: Performance of SimCode: time 9.12e-07/0.3973, allocations: 0 / 0.5204 GB, free: 16.72 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04337/0.4407, allocations: 8.838 MB / 0.529 GB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.84/12.28, allocations: 0.625 kB / 0.529 GB, free: 15.67 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.sim & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.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_ClockedBlocks_Examples_TestSerialPackager_String.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.184734502996434] Failed to read output from testmodel.py, exit status != 0: 12.38580201700097 12.399726452 12.259384969 Calling exit ...