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.001605/0.001605, allocations: 101.9 kB / 20.52 MB, free: 1.348 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.001535/0.001535, allocations: 216.2 kB / 23.81 MB, free: 4.512 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.526/1.526, allocations: 230.6 MB / 257.6 MB, free: 7.801 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.06411/0.06411, allocations: 12.24 MB / 326.2 MB, free: 7.035 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 63.91 kB / 454.1 MB, free: 8.836 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1212, allocations: 56.39 MB / 0.4985 GB, free: 352 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.005074/0.1263, allocations: 2.707 MB / 0.5011 GB, free: 13.62 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002039/0.1283, allocations: 0.8957 MB / 0.502 GB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1285, allocations: 11.88 kB / 0.502 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002617/0.1288, allocations: 51.47 kB / 0.5021 GB, free: 12.66 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003336/0.1291, allocations: 71.45 kB / 0.5022 GB, free: 12.59 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.001163/0.1303, allocations: 259.3 kB / 0.5024 GB, free: 12.34 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.1307, allocations: 275.4 kB / 0.5027 GB, free: 12.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.131, allocations: 93.72 kB / 0.5028 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001911/0.1312, allocations: 139.5 kB / 0.5029 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003007/0.1315, allocations: 171.2 kB / 0.503 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.236e-05/0.1316, allocations: 32 kB / 0.5031 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000387/0.132, allocations: 187.8 kB / 0.5033 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.1321, allocations: 107.7 kB / 0.5034 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.1323, allocations: 103.4 kB / 0.5035 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007323/0.133, allocations: 0.5019 MB / 0.5039 GB, free: 10.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.198e-05/0.133, allocations: 4 kB / 0.504 GB, free: 10.73 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.133, allocations: 0 / 0.504 GB, free: 10.73 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.234e-05/0.133, allocations: 0 / 0.504 GB, free: 10.73 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.001626/0.1347, allocations: 0.9181 MB / 0.5048 GB, free: 9.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.764e-05/0.1347, allocations: 8.031 kB / 0.5049 GB, free: 9.73 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.159e-05/0.1347, allocations: 8.844 kB / 0.5049 GB, free: 9.723 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.256e-05/0.1348, allocations: 70.72 kB / 0.5049 GB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.888e-05/0.1349, allocations: 36.69 kB / 0.505 GB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.1353, allocations: 215.3 kB / 0.5052 GB, free: 9.375 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 0.000111/0.1354, allocations: 50.3 kB / 0.5052 GB, free: 9.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.434e-05/0.1354, allocations: 32 kB / 0.5053 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/0.1371, allocations: 0.9518 MB / 0.5062 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.1371, allocations: 0 / 0.5062 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.1371, allocations: 15.94 kB / 0.5062 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.1372, allocations: 8 kB / 0.5062 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003616/0.1375, allocations: 181.8 kB / 0.5064 GB, free: 8.098 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.1382, allocations: 495 kB / 0.5069 GB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008997/0.1391, allocations: 0.5175 MB / 0.5074 GB, free: 7.016 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000464/0.1396, allocations: 282.7 kB / 0.5076 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.1397, allocations: 36.48 kB / 0.5077 GB, free: 6.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.772e-05/0.1398, allocations: 43.06 kB / 0.5077 GB, free: 6.645 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.224e-06/0.1398, allocations: 0 / 0.5077 GB, free: 6.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001192/0.141, allocations: 0.5865 MB / 0.5083 GB, free: 6.055 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001463/0.1411, allocations: 149.1 kB / 0.5084 GB, free: 5.883 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.1413, allocations: 166.1 kB / 0.5086 GB, free: 5.707 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.1413, allocations: 37.7 kB / 0.5086 GB, free: 5.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.1414, allocations: 121.2 kB / 0.5087 GB, free: 5.543 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.286e-05/0.1415, allocations: 39.81 kB / 0.5088 GB, free: 5.504 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1416, allocations: 106.3 kB / 0.5089 GB, free: 5.391 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1418, allocations: 334.8 kB / 0.5092 GB, free: 5.055 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001333/0.1419, allocations: 81.25 kB / 0.5093 GB, free: 4.977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004748/0.1424, allocations: 471.1 kB / 0.5097 GB, free: 4.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006984/0.1431, allocations: 0.5833 MB / 0.5103 GB, free: 3.543 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/0.1431, allocations: 4 kB / 0.5103 GB, free: 3.539 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007928/0.1439, allocations: 0.513 MB / 0.5108 GB, free: 3.02 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.1439, allocations: 11.94 kB / 0.5108 GB, free: 3.008 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.1439, allocations: 16 kB / 0.5108 GB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.144, allocations: 16 kB / 0.5108 GB, free: 2.977 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000384/0.1443, allocations: 123.8 kB / 0.5109 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.371e-05/0.1444, allocations: 24.5 kB / 0.511 GB, free: 2.832 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.1446, allocations: 47.78 kB / 0.511 GB, free: 2.785 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.155e-05/0.1446, allocations: 36 kB / 0.511 GB, free: 2.75 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.0003007/0.1449, allocations: 230.7 kB / 0.5113 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008339/0.1458, allocations: 437.2 kB / 0.5117 GB, free: 2.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009167/0.1467, allocations: 486.8 kB / 0.5122 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.678e-06/0.1467, allocations: 4 kB / 0.5122 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.1467, allocations: 0 / 0.5122 GB, free: 1.609 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.337e-06/0.1467, allocations: 7.984 kB / 0.5122 GB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.1471, allocations: 272.4 kB / 0.5124 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.494e-05/0.1471, allocations: 4 kB / 0.5124 GB, free: 1.289 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003478/0.1475, allocations: 95.83 kB / 0.5125 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.357e-06/0.1475, allocations: 7.938 kB / 0.5125 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1475, allocations: 12 kB / 0.5125 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/0.1475, allocations: 7.984 kB / 0.5125 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1475, allocations: 0 / 0.5125 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009307/0.1485, allocations: 0.6415 MB / 0.5132 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.1485, allocations: 39.62 kB / 0.5132 GB, free: 480 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.1486, allocations: 19.94 kB / 0.5132 GB, free: 460 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.1488, allocations: 19.98 kB / 0.5132 GB, free: 440 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.1488, allocations: 3.938 kB / 0.5132 GB, free: 436 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.395e-05/0.1488, allocations: 20 kB / 0.5133 GB, free: 416 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001011/0.149, allocations: 107.2 kB / 0.5134 GB, free: 308 kB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.149, allocations: 0 / 0.5134 GB, free: 308 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006839/0.1496, allocations: 127.7 kB / 0.5135 GB, free: 180 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.2831/0.4328, allocations: 1.645 MB / 0.5151 GB, free: 20.64 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007482/0.4335, allocations: 393.9 kB / 0.5155 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4335, allocations: 0 / 0.5155 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.038e-05/0.4335, allocations: 5.516 kB / 0.5155 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.001423/0.435, allocations: 1.112 MB / 0.5166 GB, free: 19.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004005/0.439, allocations: 3.519 MB / 0.52 GB, free: 17.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.4392, allocations: 207 kB / 0.5202 GB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.4393, allocations: 31.94 kB / 0.5202 GB, free: 17.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001633/0.4394, allocations: 90.44 kB / 0.5203 GB, free: 17.31 MB / 382.1 MB Notification: Performance of SimCode: time 1.804e-06/0.4394, allocations: 0 / 0.5203 GB, free: 17.31 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03832/0.4778, allocations: 8.872 MB / 0.529 GB, free: 16.19 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.85/13.33, allocations: 7.531 kB / 0.529 GB, free: 16.19 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_String_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 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: 16.23374387808144] Failed to read output from testmodel.py, exit status != 0: 13.499053968931548 13.511285543 13.375638059 Calling exit ...