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: 119.8 kB / 17.89 MB, free: 5.047 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.001435/0.001435, allocations: 211.2 kB / 20.84 MB, free: 2.105 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.511/1.511, allocations: 230.6 MB / 254.2 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.06659/0.06659, allocations: 12.22 MB / 322.5 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="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.001961/0.001961, allocations: 58.84 kB / 448.8 MB, free: 38.27 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1237/0.1257, allocations: 56.36 MB / 0.4933 GB, free: 1.656 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.004604/0.1303, allocations: 2.681 MB / 0.4959 GB, free: 14.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001987/0.1323, allocations: 0.9268 MB / 0.4968 GB, free: 14.03 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.1324, allocations: 11.88 kB / 0.4969 GB, free: 14.02 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1327, allocations: 55.45 kB / 0.4969 GB, free: 13.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.133, allocations: 67.52 kB / 0.497 GB, free: 13.9 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.0008966/0.1339, allocations: 266.5 kB / 0.4972 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004164/0.1343, allocations: 267.5 kB / 0.4975 GB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000334/0.1347, allocations: 113.2 kB / 0.4976 GB, free: 13.26 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001735/0.1348, allocations: 147.5 kB / 0.4977 GB, free: 13.12 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.1351, allocations: 159.3 kB / 0.4979 GB, free: 12.96 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.1351, allocations: 31.94 kB / 0.4979 GB, free: 12.93 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003398/0.1355, allocations: 199.8 kB / 0.4981 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001569/0.1356, allocations: 107.7 kB / 0.4982 GB, free: 12.63 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1358, allocations: 127.3 kB / 0.4983 GB, free: 12.5 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006843/0.1365, allocations: 0.5058 MB / 0.4988 GB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.1365, allocations: 0 / 0.4988 GB, free: 12 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1365, allocations: 0 / 0.4988 GB, free: 12 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.626e-06/0.1365, allocations: 0 / 0.4988 GB, free: 12 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.001662/0.1382, allocations: 1.005 MB / 0.4998 GB, free: 10.9 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.1382, allocations: 12.02 kB / 0.4998 GB, free: 10.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.019e-05/0.1382, allocations: 8.75 kB / 0.4998 GB, free: 10.88 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.306e-05/0.1383, allocations: 58.73 kB / 0.4999 GB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.1384, allocations: 36.75 kB / 0.4999 GB, free: 10.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003649/0.1388, allocations: 280.1 kB / 0.5002 GB, free: 10.47 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 9.267e-05/0.1389, allocations: 62.17 kB / 0.5002 GB, free: 10.4 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.267e-05/0.1389, allocations: 32 kB / 0.5003 GB, free: 10.37 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.1404, allocations: 0.8959 MB / 0.5011 GB, free: 9.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1405, allocations: 4 kB / 0.5011 GB, free: 9.449 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.1405, allocations: 11.94 kB / 0.5012 GB, free: 9.438 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.1405, allocations: 11.94 kB / 0.5012 GB, free: 9.426 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003678/0.1409, allocations: 178.1 kB / 0.5013 GB, free: 9.25 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008053/0.1417, allocations: 0.5704 MB / 0.5019 GB, free: 8.621 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.1427, allocations: 0.6646 MB / 0.5025 GB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004695/0.1432, allocations: 286.9 kB / 0.5028 GB, free: 7.609 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002397/0.1434, allocations: 109.7 kB / 0.5029 GB, free: 7.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.1435, allocations: 39.12 kB / 0.503 GB, free: 7.434 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.195e-06/0.1435, allocations: 0 / 0.503 GB, free: 7.434 MB / 366.1 MB Notification: Performance of matching and sorting (n=63): time 0.001224/0.1447, allocations: 0.6041 MB / 0.5036 GB, free: 6.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.1448, allocations: 141.1 kB / 0.5037 GB, free: 6.664 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.145, allocations: 162.3 kB / 0.5038 GB, free: 6.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.145, allocations: 37.7 kB / 0.5039 GB, free: 6.445 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.859e-05/0.1451, allocations: 113.3 kB / 0.504 GB, free: 6.332 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.364e-05/0.1452, allocations: 43.81 kB / 0.504 GB, free: 6.289 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001353/0.1453, allocations: 102.2 kB / 0.5041 GB, free: 6.184 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002057/0.1455, allocations: 343.1 kB / 0.5045 GB, free: 5.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/0.1457, allocations: 81.06 kB / 0.5045 GB, free: 5.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005027/0.1462, allocations: 469.8 kB / 0.505 GB, free: 5.105 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006881/0.1469, allocations: 0.5872 MB / 0.5056 GB, free: 4.324 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.1469, allocations: 4 kB / 0.5056 GB, free: 4.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007683/0.1476, allocations: 0.5018 MB / 0.506 GB, free: 3.812 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/0.1477, allocations: 19.88 kB / 0.5061 GB, free: 3.793 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.1477, allocations: 16.12 kB / 0.5061 GB, free: 3.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/0.1477, allocations: 20 kB / 0.5061 GB, free: 3.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000353/0.1481, allocations: 119.8 kB / 0.5062 GB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/0.1481, allocations: 23.92 kB / 0.5062 GB, free: 3.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002091/0.1483, allocations: 47.77 kB / 0.5063 GB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.435e-05/0.1483, allocations: 35.94 kB / 0.5063 GB, free: 3.535 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.0002829/0.1486, allocations: 226.7 kB / 0.5065 GB, free: 3.301 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007949/0.1494, allocations: 438.8 kB / 0.5069 GB, free: 2.867 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009232/0.1503, allocations: 486.2 kB / 0.5074 GB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.196e-05/0.1504, allocations: 8 kB / 0.5074 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1504, allocations: 0 / 0.5074 GB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.988e-06/0.1504, allocations: 3.984 kB / 0.5074 GB, free: 2.375 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004528/0.1508, allocations: 341.2 kB / 0.5078 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.1508, allocations: 0 / 0.5078 GB, free: 1.992 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.1512, allocations: 99.83 kB / 0.5078 GB, free: 1.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.1512, allocations: 7.938 kB / 0.5079 GB, free: 1.887 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.198e-05/0.1512, allocations: 12 kB / 0.5079 GB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.089e-06/0.1512, allocations: 8 kB / 0.5079 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1512, allocations: 0 / 0.5079 GB, free: 1.867 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009319/0.1522, allocations: 0.6441 MB / 0.5085 GB, free: 1.203 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.897e-05/0.1522, allocations: 116.7 kB / 0.5086 GB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.1523, allocations: 19.92 kB / 0.5086 GB, free: 1.051 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001481/0.1524, allocations: 12 kB / 0.5086 GB, free: 1.039 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.1525, allocations: 11.98 kB / 0.5087 GB, free: 1.027 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.1525, allocations: 16 kB / 0.5087 GB, free: 1.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001054/0.1526, allocations: 118.4 kB / 0.5088 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1526, allocations: 0 / 0.5088 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006616/0.1533, allocations: 119.8 kB / 0.5089 GB, free: 0.7812 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.002439/0.1557, allocations: 1.655 MB / 0.5105 GB, free: 15.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008245/0.1566, allocations: 387.3 kB / 0.5109 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.1566, allocations: 0 / 0.5109 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.065e-05/0.1566, allocations: 11.92 kB / 0.5109 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001795/0.1584, allocations: 1.1 MB / 0.512 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004641/0.163, allocations: 3.531 MB / 0.5154 GB, free: 9.617 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005113/0.1635, allocations: 0.8082 MB / 0.5162 GB, free: 8.785 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.273e-05/0.1636, allocations: 27.3 kB / 0.5162 GB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.1638, allocations: 95.39 kB / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of SimCode: time 3e-07/0.1638, allocations: 0 / 0.5163 GB, free: 8.668 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1938, allocations: 8.338 MB / 0.5245 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.53/9.724, allocations: 6.672 kB / 0.5245 GB, free: 0.5352 MB / 382.1 MB " [Timeout remaining time 650] (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: 12.693118987022899] Failed to read output from testmodel.py, exit status != 0: 9.85993710794719 9.878920654 9.738980421 Calling exit ...