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.001446/0.001446, allocations: 118 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001814/0.001814, allocations: 222.2 kB / 23.05 MB, free: 5 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 8.062 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.06311/0.06311, allocations: 12.22 MB / 325.5 MB, free: 7.285 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.002081/0.002081, allocations: 64.09 kB / 453.4 MB, free: 9.043 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1291/0.1312, allocations: 56.39 MB / 0.4978 GB, free: 0.5508 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.00527/0.1365, allocations: 2.784 MB / 0.5005 GB, free: 13.76 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.1384, allocations: 0.9385 MB / 0.5014 GB, free: 12.81 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001867/0.1386, allocations: 11.88 kB / 0.5015 GB, free: 12.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002514/0.1388, allocations: 51.47 kB / 0.5015 GB, free: 12.75 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003441/0.1392, allocations: 71.5 kB / 0.5016 GB, free: 12.68 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:54:9-63:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addString'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:121:9-130:22:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getString' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getString'. Notification: Performance of NFTyping.typeClassSections: time 0.0009897/0.1402, allocations: 259.3 kB / 0.5018 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004293/0.1406, allocations: 275.4 kB / 0.5021 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002389/0.1408, allocations: 93.66 kB / 0.5022 GB, free: 12.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002126/0.1411, allocations: 135.5 kB / 0.5023 GB, free: 11.93 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002956/0.1413, allocations: 171.3 kB / 0.5025 GB, free: 11.76 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.228e-05/0.1414, allocations: 32 kB / 0.5025 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003739/0.1418, allocations: 199.9 kB / 0.5027 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.142, allocations: 103.6 kB / 0.5028 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.1421, allocations: 139.2 kB / 0.5029 GB, free: 11.29 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007935/0.1429, allocations: 0.498 MB / 0.5034 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1429, allocations: 4 kB / 0.5034 GB, free: 10.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.1429, allocations: 0 / 0.5034 GB, free: 10.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.1429, allocations: 0 / 0.5034 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.001687/0.1446, allocations: 0.918 MB / 0.5043 GB, free: 9.793 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.1447, allocations: 12.03 kB / 0.5043 GB, free: 9.781 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.455e-05/0.1447, allocations: 66.72 kB / 0.5044 GB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.777e-05/0.1448, allocations: 32.75 kB / 0.5044 GB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003464/0.1452, allocations: 211.3 kB / 0.5046 GB, free: 9.445 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.1453, allocations: 66.47 kB / 0.5047 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.199e-05/0.1453, allocations: 28 kB / 0.5047 GB, free: 9.348 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/0.1469, allocations: 0.89 MB / 0.5056 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.692e-05/0.147, allocations: 4 kB / 0.5056 GB, free: 8.426 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.147, allocations: 8 kB / 0.5056 GB, free: 8.418 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.147, allocations: 8 kB / 0.5056 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003806/0.1474, allocations: 177.8 kB / 0.5058 GB, free: 8.238 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/0.1481, allocations: 0.538 MB / 0.5063 GB, free: 7.648 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009645/0.1491, allocations: 0.5213 MB / 0.5068 GB, free: 7.098 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.1496, allocations: 290.6 kB / 0.5071 GB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/0.1498, allocations: 32.48 kB / 0.5071 GB, free: 6.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.1498, allocations: 39.06 kB / 0.5071 GB, free: 6.727 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.345e-06/0.1498, allocations: 7.938 kB / 0.5072 GB, free: 6.719 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001242/0.1511, allocations: 0.5905 MB / 0.5077 GB, free: 6.125 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.1512, allocations: 144.8 kB / 0.5079 GB, free: 5.957 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001748/0.1514, allocations: 165.3 kB / 0.508 GB, free: 5.781 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.148e-05/0.1514, allocations: 33.7 kB / 0.5081 GB, free: 5.742 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.456e-05/0.1515, allocations: 125.3 kB / 0.5082 GB, free: 5.617 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.447e-05/0.1516, allocations: 39.81 kB / 0.5082 GB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.1517, allocations: 110.6 kB / 0.5083 GB, free: 5.465 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.1519, allocations: 338.8 kB / 0.5086 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001417/0.1521, allocations: 77.25 kB / 0.5087 GB, free: 5.047 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.1525, allocations: 471.1 kB / 0.5092 GB, free: 4.391 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008087/0.1534, allocations: 0.5833 MB / 0.5097 GB, free: 3.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-05/0.1534, allocations: 4 kB / 0.5097 GB, free: 3.609 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.00101/0.1544, allocations: 0.5058 MB / 0.5102 GB, free: 3.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/0.1544, allocations: 16 kB / 0.5102 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.85e-05/0.1544, allocations: 15.94 kB / 0.5103 GB, free: 3.066 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.951e-05/0.1545, allocations: 20 kB / 0.5103 GB, free: 3.047 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003719/0.1548, allocations: 119.8 kB / 0.5104 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-05/0.1549, allocations: 31.81 kB / 0.5104 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002422/0.1551, allocations: 47.73 kB / 0.5105 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.754e-05/0.1552, allocations: 39.98 kB / 0.5105 GB, free: 2.812 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.0002858/0.1555, allocations: 222.7 kB / 0.5107 GB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008248/0.1563, allocations: 425.4 kB / 0.5111 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009421/0.1572, allocations: 498.4 kB / 0.5116 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.1572, allocations: 4 kB / 0.5116 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.1572, allocations: 4 kB / 0.5116 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/0.1573, allocations: 7.969 kB / 0.5116 GB, free: 1.668 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004614/0.1577, allocations: 312.2 kB / 0.5119 GB, free: 1.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/0.1577, allocations: 7.938 kB / 0.5119 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003484/0.1581, allocations: 95.83 kB / 0.512 GB, free: 1.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.636e-06/0.1581, allocations: 8 kB / 0.512 GB, free: 1.211 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-05/0.1581, allocations: 15.94 kB / 0.512 GB, free: 1.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.234e-06/0.1581, allocations: 4 kB / 0.512 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1581, allocations: 0 / 0.512 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009744/0.1591, allocations: 0.6416 MB / 0.5127 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.679e-05/0.1592, allocations: 31.69 kB / 0.5127 GB, free: 0.5 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.358e-05/0.1592, allocations: 23.94 kB / 0.5127 GB, free: 488 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1594, allocations: 12 kB / 0.5127 GB, free: 476 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.977e-05/0.1594, allocations: 11.92 kB / 0.5127 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-05/0.1595, allocations: 16 kB / 0.5128 GB, free: 448 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001051/0.1596, allocations: 111.2 kB / 0.5129 GB, free: 336 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1596, allocations: 0 / 0.5129 GB, free: 336 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007341/0.1603, allocations: 123.7 kB / 0.513 GB, free: 212 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.2296/0.3899, allocations: 1.644 MB / 0.5146 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000628/0.3905, allocations: 389.1 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.3905, allocations: 0 / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.3906, allocations: 9.266 kB / 0.515 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.3918, allocations: 1.108 MB / 0.5161 GB, free: 19.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003029/0.3948, allocations: 3.521 MB / 0.5195 GB, free: 17.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.395, allocations: 0.8102 MB / 0.5203 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.639e-05/0.3951, allocations: 37.59 kB / 0.5203 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.3952, allocations: 88.25 kB / 0.5204 GB, free: 16.74 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3952, allocations: 0 / 0.5204 GB, free: 16.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04148/0.4367, allocations: 8.837 MB / 0.529 GB, free: 15.67 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/13.54, allocations: 4.094 kB / 0.529 GB, free: 15.67 MB / 382.1 MB " [Timeout remaining time 646] (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.43460192414932] Failed to read output from testmodel.py, exit status != 0: 13.654174956958741 13.678442553 13.531277345 Calling exit ...