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.001346/0.001346, allocations: 101 kB / 20.52 MB, free: 1.449 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.001406/0.001406, allocations: 209.7 kB / 23.84 MB, free: 4.664 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.583/1.583, allocations: 230.6 MB / 257.6 MB, free: 7.984 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.06408/0.06408, allocations: 12.21 MB / 326.2 MB, free: 7.246 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.002786/0.002786, allocations: 59.89 kB / 454.2 MB, free: 8.992 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1257/0.1285, allocations: 56.39 MB / 0.4986 GB, free: 0.5078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.004771/0.1332, allocations: 2.783 MB / 0.5013 GB, free: 13.71 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.1351, allocations: 0.9385 MB / 0.5022 GB, free: 12.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1353, allocations: 7.938 kB / 0.5022 GB, free: 12.76 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002214/0.1355, allocations: 51.47 kB / 0.5023 GB, free: 12.71 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.1358, allocations: 71.52 kB / 0.5023 GB, free: 12.64 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.0008324/0.1366, allocations: 261.6 kB / 0.5026 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003456/0.137, allocations: 275.4 kB / 0.5029 GB, free: 12.12 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002189/0.1372, allocations: 101.7 kB / 0.5029 GB, free: 12.01 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000157/0.1373, allocations: 131.5 kB / 0.5031 GB, free: 11.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.1376, allocations: 167.3 kB / 0.5032 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.1e-05/0.1376, allocations: 32 kB / 0.5033 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003096/0.1379, allocations: 199.8 kB / 0.5035 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.1381, allocations: 99.72 kB / 0.5036 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1382, allocations: 143.1 kB / 0.5037 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006539/0.1389, allocations: 0.498 MB / 0.5042 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1389, allocations: 4 kB / 0.5042 GB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1389, allocations: 0 / 0.5042 GB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1389, allocations: 0 / 0.5042 GB, free: 10.75 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.001488/0.1404, allocations: 0.9141 MB / 0.5051 GB, free: 9.758 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.334e-05/0.1404, allocations: 12.03 kB / 0.5051 GB, free: 9.746 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.049e-05/0.1404, allocations: 8.844 kB / 0.5051 GB, free: 9.738 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.463e-05/0.1405, allocations: 66.72 kB / 0.5052 GB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.093e-05/0.1406, allocations: 32.75 kB / 0.5052 GB, free: 9.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003335/0.1409, allocations: 217.7 kB / 0.5054 GB, free: 9.398 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.0001203/0.1411, allocations: 66.28 kB / 0.5055 GB, free: 9.328 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.787e-05/0.1411, allocations: 28 kB / 0.5055 GB, free: 9.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.1427, allocations: 0.8938 MB / 0.5064 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1427, allocations: 0 / 0.5064 GB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.1427, allocations: 12 kB / 0.5064 GB, free: 8.367 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.188e-05/0.1427, allocations: 8 kB / 0.5064 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003886/0.1431, allocations: 181.8 kB / 0.5065 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000754/0.1439, allocations: 0.5341 MB / 0.5071 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000892/0.1447, allocations: 0.5175 MB / 0.5076 GB, free: 7.051 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004726/0.1452, allocations: 286.6 kB / 0.5078 GB, free: 6.762 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.1454, allocations: 36.55 kB / 0.5079 GB, free: 6.727 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.1454, allocations: 43 kB / 0.5079 GB, free: 6.676 MB / 382.1 MB Notification: Performance of pre-optimization done (n=63): time 2.354e-06/0.1454, allocations: 0 / 0.5079 GB, free: 6.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=63): time 0.001175/0.1466, allocations: 0.5944 MB / 0.5085 GB, free: 6.078 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001667/0.1468, allocations: 148.7 kB / 0.5086 GB, free: 5.906 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.1469, allocations: 162.3 kB / 0.5088 GB, free: 5.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/0.147, allocations: 33.7 kB / 0.5088 GB, free: 5.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.511e-05/0.1471, allocations: 117.3 kB / 0.5089 GB, free: 5.574 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/0.1471, allocations: 43.8 kB / 0.509 GB, free: 5.531 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.1472, allocations: 102.3 kB / 0.5091 GB, free: 5.422 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001717/0.1474, allocations: 347 kB / 0.5094 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.1476, allocations: 73.27 kB / 0.5095 GB, free: 5.004 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004763/0.148, allocations: 467.2 kB / 0.5099 GB, free: 4.352 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006607/0.1487, allocations: 0.591 MB / 0.5105 GB, free: 3.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/0.1487, allocations: 4 kB / 0.5105 GB, free: 3.562 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007634/0.1495, allocations: 0.5057 MB / 0.511 GB, free: 3.051 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.635e-05/0.1495, allocations: 16.12 kB / 0.511 GB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.393e-05/0.1495, allocations: 16 kB / 0.511 GB, free: 3.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.1496, allocations: 23.98 kB / 0.5111 GB, free: 2.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/0.1499, allocations: 115.8 kB / 0.5112 GB, free: 2.883 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.16e-05/0.1499, allocations: 31.86 kB / 0.5112 GB, free: 2.852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.1501, allocations: 43.72 kB / 0.5112 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.845e-05/0.1502, allocations: 36 kB / 0.5113 GB, free: 2.773 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.0002775/0.1505, allocations: 222.7 kB / 0.5115 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007955/0.1512, allocations: 437.3 kB / 0.5119 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/0.1522, allocations: 494.5 kB / 0.5124 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.1522, allocations: 4 kB / 0.5124 GB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.1522, allocations: 4 kB / 0.5124 GB, free: 1.629 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.548e-06/0.1522, allocations: 3.984 kB / 0.5124 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.1526, allocations: 320.1 kB / 0.5127 GB, free: 1.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.1527, allocations: 4 kB / 0.5127 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003393/0.153, allocations: 91.89 kB / 0.5128 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.153, allocations: 7.938 kB / 0.5128 GB, free: 1.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.128e-05/0.153, allocations: 16 kB / 0.5128 GB, free: 1.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.807e-06/0.153, allocations: 7.938 kB / 0.5128 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1531, allocations: 3.984 kB / 0.5128 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009204/0.154, allocations: 0.6377 MB / 0.5134 GB, free: 496 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.675e-05/0.154, allocations: 31.69 kB / 0.5135 GB, free: 464 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.1541, allocations: 19.94 kB / 0.5135 GB, free: 444 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.1542, allocations: 16 kB / 0.5135 GB, free: 428 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.1543, allocations: 11.98 kB / 0.5135 GB, free: 416 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.417e-05/0.1543, allocations: 16 kB / 0.5135 GB, free: 400 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001174/0.1544, allocations: 110.1 kB / 0.5136 GB, free: 292 kB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1544, allocations: 4 kB / 0.5136 GB, free: 288 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007836/0.1552, allocations: 127.7 kB / 0.5138 GB, free: 160 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.245/0.4002, allocations: 1.639 MB / 0.5154 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007549/0.401, allocations: 389.8 kB / 0.5157 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.658e-06/0.401, allocations: 2.094 kB / 0.5157 GB, free: 20.65 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.08e-05/0.401, allocations: 5.953 kB / 0.5157 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.001367/0.4024, allocations: 1.105 MB / 0.5168 GB, free: 19.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004315/0.4067, allocations: 3.522 MB / 0.5203 GB, free: 17.47 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003663/0.4071, allocations: 0.8119 MB / 0.5211 GB, free: 16.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001314/0.4072, allocations: 34.64 kB / 0.5211 GB, free: 16.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.4073, allocations: 84.7 kB / 0.5212 GB, free: 16.75 MB / 382.1 MB Notification: Performance of SimCode: time 1.703e-06/0.4073, allocations: 3.188 kB / 0.5212 GB, free: 16.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03573/0.4431, allocations: 8.865 MB / 0.5298 GB, free: 15.71 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.61/13.06, allocations: 21.98 kB / 0.5299 GB, free: 15.7 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.05910989397671] Failed to read output from testmodel.py, exit status != 0: 13.231611417024396 13.25378509 13.110687167 Calling exit ...