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.001996/0.001996, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.002956/0.002956, allocations: 218.3 kB / 23.03 MB, free: 5.016 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.685/1.685, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.0662/0.0662, allocations: 12.23 MB / 325.4 MB, free: 7.086 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.002135/0.002135, allocations: 71.89 kB / 453.3 MB, free: 8.859 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1241, allocations: 56.39 MB / 0.4977 GB, free: 384 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.005237/0.1293, allocations: 2.727 MB / 0.5004 GB, free: 13.64 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.1313, allocations: 0.8918 MB / 0.5013 GB, free: 12.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1314, allocations: 7.938 kB / 0.5013 GB, free: 12.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.1316, allocations: 51.47 kB / 0.5013 GB, free: 12.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002973/0.1319, allocations: 75.5 kB / 0.5014 GB, free: 12.61 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.0009261/0.1329, allocations: 262.1 kB / 0.5017 GB, free: 12.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003472/0.1332, allocations: 271.4 kB / 0.5019 GB, free: 12.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.1334, allocations: 89.72 kB / 0.502 GB, free: 11.99 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001667/0.1336, allocations: 135.5 kB / 0.5021 GB, free: 11.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.1339, allocations: 147.3 kB / 0.5023 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.435e-05/0.1339, allocations: 32 kB / 0.5023 GB, free: 11.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.1342, allocations: 187.8 kB / 0.5025 GB, free: 11.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001311/0.1344, allocations: 99.72 kB / 0.5026 GB, free: 11.4 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001273/0.1345, allocations: 115.4 kB / 0.5027 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006437/0.1351, allocations: 0.4942 MB / 0.5032 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1351, allocations: 0 / 0.5032 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1351, allocations: 0 / 0.5032 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1351, allocations: 3.938 kB / 0.5032 GB, free: 10.79 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.001537/0.1367, allocations: 0.9219 MB / 0.5041 GB, free: 9.789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.1367, allocations: 8.031 kB / 0.5041 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.95e-05/0.1368, allocations: 70.67 kB / 0.5041 GB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.416e-05/0.1369, allocations: 32.75 kB / 0.5042 GB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1372, allocations: 223.2 kB / 0.5044 GB, free: 9.43 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.437e-05/0.1373, allocations: 65.12 kB / 0.5044 GB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.294e-05/0.1374, allocations: 24 kB / 0.5045 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001561/0.1389, allocations: 0.948 MB / 0.5054 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.1389, allocations: 7.984 kB / 0.5054 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.139, allocations: 8 kB / 0.5054 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.45e-05/0.139, allocations: 8 kB / 0.5054 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003728/0.1394, allocations: 177.9 kB / 0.5056 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006827/0.14, allocations: 495 kB / 0.5061 GB, free: 7.621 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008756/0.1409, allocations: 0.5116 MB / 0.5066 GB, free: 7.078 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004577/0.1414, allocations: 282.7 kB / 0.5068 GB, free: 6.793 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000147/0.1415, allocations: 40.47 kB / 0.5069 GB, free: 6.754 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/0.1416, allocations: 43 kB / 0.5069 GB, free: 6.703 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.374e-06/0.1416, allocations: 4 kB / 0.5069 GB, free: 6.699 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001141/0.1427, allocations: 0.5866 MB / 0.5075 GB, free: 6.109 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.1429, allocations: 140.8 kB / 0.5076 GB, free: 5.945 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.143, allocations: 165.1 kB / 0.5078 GB, free: 5.77 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.1431, allocations: 37.69 kB / 0.5078 GB, free: 5.727 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.1432, allocations: 117.3 kB / 0.5079 GB, free: 5.609 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.929e-05/0.1432, allocations: 39.81 kB / 0.508 GB, free: 5.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.1433, allocations: 110.3 kB / 0.5081 GB, free: 5.457 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001723/0.1435, allocations: 342.8 kB / 0.5084 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/0.1437, allocations: 81.5 kB / 0.5085 GB, free: 5.031 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/0.1441, allocations: 463.2 kB / 0.5089 GB, free: 4.383 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/0.1448, allocations: 0.5949 MB / 0.5095 GB, free: 3.594 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.1448, allocations: 4 kB / 0.5095 GB, free: 3.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007706/0.1456, allocations: 0.5057 MB / 0.51 GB, free: 3.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.1456, allocations: 12 kB / 0.51 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.1456, allocations: 15.94 kB / 0.51 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.863e-05/0.1456, allocations: 24.06 kB / 0.51 GB, free: 3.027 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003314/0.146, allocations: 115.8 kB / 0.5102 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/0.146, allocations: 27.92 kB / 0.5102 GB, free: 2.887 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.1462, allocations: 39.78 kB / 0.5102 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.1463, allocations: 39.94 kB / 0.5103 GB, free: 2.809 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.0002854/0.1465, allocations: 230.7 kB / 0.5105 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007826/0.1473, allocations: 429.4 kB / 0.5109 GB, free: 2.152 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000911/0.1482, allocations: 0.4915 MB / 0.5114 GB, free: 1.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.1482, allocations: 7.938 kB / 0.5114 GB, free: 1.652 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.1482, allocations: 4 kB / 0.5114 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.1483, allocations: 3.984 kB / 0.5114 GB, free: 1.645 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003921/0.1486, allocations: 264.3 kB / 0.5116 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.1487, allocations: 0 / 0.5116 GB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003168/0.149, allocations: 91.89 kB / 0.5117 GB, free: 1.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/0.149, allocations: 4 kB / 0.5117 GB, free: 1.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.149, allocations: 15.94 kB / 0.5117 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.149, allocations: 4 kB / 0.5117 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.149, allocations: 0 / 0.5117 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000906/0.1499, allocations: 0.6493 MB / 0.5124 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.15, allocations: 39.69 kB / 0.5124 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.1e-05/0.15, allocations: 15.94 kB / 0.5124 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.1502, allocations: 12 kB / 0.5124 GB, free: 0.4961 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.956e-05/0.1502, allocations: 3.984 kB / 0.5124 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.1503, allocations: 20 kB / 0.5125 GB, free: 484 kB / 382.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.1504, allocations: 111.2 kB / 0.5126 GB, free: 372 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1504, allocations: 0 / 0.5126 GB, free: 372 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007/0.1511, allocations: 127.6 kB / 0.5127 GB, free: 244 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.2408/0.3919, allocations: 1.645 MB / 0.5143 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006571/0.3925, allocations: 387.9 kB / 0.5147 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.3925, allocations: 5.625 kB / 0.5147 GB, free: 20.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.348e-05/0.3926, allocations: 14.05 kB / 0.5147 GB, free: 20.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.3938, allocations: 1.106 MB / 0.5158 GB, free: 19.94 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00304/0.3969, allocations: 3.525 MB / 0.5192 GB, free: 17.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000161/0.397, allocations: 208.1 kB / 0.5194 GB, free: 17.44 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.907e-05/0.3971, allocations: 31.92 kB / 0.5194 GB, free: 17.43 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.3972, allocations: 89.33 kB / 0.5195 GB, free: 17.42 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3972, allocations: 2.297 kB / 0.5195 GB, free: 17.42 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04157/0.4388, allocations: 9.125 MB / 0.5284 GB, free: 15.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.5/12.93, allocations: 12.62 kB / 0.5285 GB, free: 15.92 MB / 382.1 MB " [Timeout remaining time 647] (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.972710208036005] Failed to read output from testmodel.py, exit status != 0: 13.050914714112878 13.071625313 12.932764967 Calling exit ...