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.001312/0.001312, allocations: 109.4 kB / 17.16 MB, free: 5.855 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.001359/0.001359, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06495/0.06495, allocations: 12.22 MB / 321.8 MB, free: 13.26 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.00199/0.00199, allocations: 67.67 kB / 448.1 MB, free: 38.43 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09623/0.09822, allocations: 56.36 MB / 0.4926 GB, free: 1.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.00427/0.1025, allocations: 2.683 MB / 0.4952 GB, free: 15.07 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001875/0.1044, allocations: 0.9345 MB / 0.4962 GB, free: 14.13 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.1045, allocations: 11.88 kB / 0.4962 GB, free: 14.12 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1048, allocations: 47.47 kB / 0.4962 GB, free: 14.07 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003258/0.1051, allocations: 71.52 kB / 0.4963 GB, free: 14 MB / 366.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.0008373/0.1059, allocations: 255.3 kB / 0.4965 GB, free: 13.75 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003584/0.1063, allocations: 275.4 kB / 0.4968 GB, free: 13.48 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/0.1065, allocations: 125 kB / 0.4969 GB, free: 13.35 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001585/0.1067, allocations: 131.5 kB / 0.497 GB, free: 13.22 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002397/0.1069, allocations: 167.3 kB / 0.4972 GB, free: 13.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.945e-05/0.107, allocations: 32 kB / 0.4972 GB, free: 13.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003296/0.1073, allocations: 195.8 kB / 0.4974 GB, free: 12.84 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001357/0.1075, allocations: 99.72 kB / 0.4975 GB, free: 12.74 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1076, allocations: 135.3 kB / 0.4976 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006472/0.1083, allocations: 0.498 MB / 0.4981 GB, free: 12.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/0.1083, allocations: 8 kB / 0.4981 GB, free: 12.1 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1083, allocations: 0 / 0.4981 GB, free: 12.1 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1083, allocations: 0 / 0.4981 GB, free: 12.1 MB / 366.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.001558/0.1098, allocations: 0.9971 MB / 0.4991 GB, free: 11.01 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.1099, allocations: 8.031 kB / 0.4991 GB, free: 11 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.153e-05/0.11, allocations: 70.72 kB / 0.4992 GB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.344e-05/0.11, allocations: 32.75 kB / 0.4992 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.1104, allocations: 284.1 kB / 0.4995 GB, free: 10.58 MB / 366.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 0.0001065/0.1105, allocations: 62.38 kB / 0.4995 GB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/0.1106, allocations: 28 kB / 0.4996 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001536/0.1121, allocations: 0.8959 MB / 0.5004 GB, free: 9.566 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1121, allocations: 3.938 kB / 0.5004 GB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.52e-05/0.1121, allocations: 16 kB / 0.5005 GB, free: 9.547 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.1122, allocations: 11.94 kB / 0.5005 GB, free: 9.535 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003898/0.1125, allocations: 178.1 kB / 0.5006 GB, free: 9.359 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007066/0.1132, allocations: 0.5665 MB / 0.5012 GB, free: 8.738 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009532/0.1142, allocations: 0.6685 MB / 0.5019 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.1147, allocations: 278.8 kB / 0.5021 GB, free: 7.727 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/0.1149, allocations: 117.7 kB / 0.5022 GB, free: 7.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.909e-05/0.1149, allocations: 39.12 kB / 0.5023 GB, free: 7.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.314e-06/0.1149, allocations: 7.938 kB / 0.5023 GB, free: 7.535 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001153/0.1161, allocations: 0.5885 MB / 0.5028 GB, free: 6.941 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/0.1162, allocations: 141 kB / 0.503 GB, free: 6.781 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.1164, allocations: 162.3 kB / 0.5031 GB, free: 6.605 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.1164, allocations: 33.7 kB / 0.5032 GB, free: 6.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.871e-05/0.1165, allocations: 121.3 kB / 0.5033 GB, free: 6.445 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.1165, allocations: 35.88 kB / 0.5033 GB, free: 6.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.1166, allocations: 110.5 kB / 0.5034 GB, free: 6.297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000152/0.1168, allocations: 338.8 kB / 0.5037 GB, free: 5.957 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001308/0.1169, allocations: 73.08 kB / 0.5038 GB, free: 5.887 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004312/0.1174, allocations: 473.8 kB / 0.5043 GB, free: 5.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.118, allocations: 0.5911 MB / 0.5048 GB, free: 4.445 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.118, allocations: 4 kB / 0.5049 GB, free: 4.441 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007465/0.1187, allocations: 0.5135 MB / 0.5054 GB, free: 3.922 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.1188, allocations: 12 kB / 0.5054 GB, free: 3.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.261e-05/0.1188, allocations: 15.94 kB / 0.5054 GB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.117e-05/0.1188, allocations: 20 kB / 0.5054 GB, free: 3.875 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003548/0.1192, allocations: 115.8 kB / 0.5055 GB, free: 3.762 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.09e-05/0.1192, allocations: 27.92 kB / 0.5055 GB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1194, allocations: 43.72 kB / 0.5056 GB, free: 3.691 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/0.1195, allocations: 36 kB / 0.5056 GB, free: 3.656 MB / 366.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.0002515/0.1197, allocations: 234.7 kB / 0.5058 GB, free: 3.414 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007669/0.1205, allocations: 430.8 kB / 0.5062 GB, free: 2.984 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008845/0.1214, allocations: 497.8 kB / 0.5067 GB, free: 2.496 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.566e-06/0.1214, allocations: 4 kB / 0.5067 GB, free: 2.492 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1214, allocations: 4 kB / 0.5067 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1214, allocations: 0 / 0.5067 GB, free: 2.488 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004089/0.1218, allocations: 337.2 kB / 0.507 GB, free: 2.109 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-05/0.1218, allocations: 11.98 kB / 0.5071 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/0.1222, allocations: 91.84 kB / 0.5071 GB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/0.1222, allocations: 8 kB / 0.5072 GB, free: 2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.1222, allocations: 19.92 kB / 0.5072 GB, free: 1.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.1222, allocations: 4 kB / 0.5072 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1222, allocations: 0 / 0.5072 GB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/0.1231, allocations: 0.6441 MB / 0.5078 GB, free: 1.312 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.698e-05/0.1232, allocations: 116.7 kB / 0.5079 GB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.1232, allocations: 19.94 kB / 0.5079 GB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.1234, allocations: 12 kB / 0.508 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1234, allocations: 0 / 0.508 GB, free: 1.148 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.937e-05/0.1235, allocations: 27.98 kB / 0.508 GB, free: 1.121 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.276e-05/0.1236, allocations: 106.3 kB / 0.5081 GB, free: 1.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1236, allocations: 0 / 0.5081 GB, free: 1.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000664/0.1242, allocations: 123.7 kB / 0.5082 GB, free: 0.8984 MB / 366.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.00233/0.1265, allocations: 1.655 MB / 0.5098 GB, free: 15.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007055/0.1273, allocations: 387.5 kB / 0.5102 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1273, allocations: 0 / 0.5102 GB, free: 14.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.405e-05/0.1273, allocations: 16.11 kB / 0.5102 GB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001591/0.1289, allocations: 1.097 MB / 0.5113 GB, free: 13.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004294/0.1332, allocations: 3.527 MB / 0.5147 GB, free: 9.734 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005272/0.1337, allocations: 0.816 MB / 0.5155 GB, free: 8.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.792e-05/0.1338, allocations: 31.28 kB / 0.5155 GB, free: 8.867 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.1339, allocations: 83.41 kB / 0.5156 GB, free: 8.785 MB / 382.1 MB Notification: Performance of SimCode: time 1.262e-06/0.1339, allocations: 0 / 0.5156 GB, free: 8.785 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03556/0.1695, allocations: 8.301 MB / 0.5237 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.593/8.762, allocations: 11.3 kB / 0.5237 GB, free: 0.6641 MB / 382.1 MB " [Timeout remaining time 651] (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: 11.720045535999816] Failed to read output from testmodel.py, exit status != 0: 8.838390442004311 8.863448777 8.750604809 Calling exit ...