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.00124/0.00124, allocations: 80.12 kB / 20.55 MB, free: 1.234 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.00152/0.00152, allocations: 169.9 kB / 23.8 MB, free: 4.441 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.52/1.52, allocations: 177.2 MB / 204.2 MB, free: 8.98 MB / 190.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.05932/0.05932, allocations: 9.157 MB / 269.7 MB, free: 7.883 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 63.89 kB / 398 MB, free: 6.555 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1404, allocations: 56.34 MB / 454.4 MB, free: 14.11 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String): time 0.005676/0.1461, allocations: 2.735 MB / 457.1 MB, free: 11.36 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.1482, allocations: 0.8957 MB / 458 MB, free: 10.46 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000176/0.1484, allocations: 7.938 kB / 458 MB, free: 10.45 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1487, allocations: 55.41 kB / 458.1 MB, free: 10.39 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003493/0.149, allocations: 67.52 kB / 458.1 MB, free: 10.33 MB / 430.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.0009522/0.15, allocations: 266.9 kB / 458.4 MB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.1504, allocations: 275.4 kB / 458.7 MB, free: 9.801 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.1506, allocations: 85.73 kB / 458.7 MB, free: 9.711 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.1508, allocations: 139.5 kB / 458.9 MB, free: 9.574 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.151, allocations: 147.3 kB / 459 MB, free: 9.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 6.153e-05/0.1511, allocations: 32 kB / 459.1 MB, free: 9.398 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.1514, allocations: 187.8 kB / 459.2 MB, free: 9.215 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.1516, allocations: 99.72 kB / 459.3 MB, free: 9.117 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001269/0.1517, allocations: 107.4 kB / 459.4 MB, free: 9.012 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009174/0.1526, allocations: 0.5058 MB / 460 MB, free: 8.504 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1526, allocations: 7.938 kB / 460 MB, free: 8.496 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.855e-06/0.1526, allocations: 0 / 460 MB, free: 8.496 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.1526, allocations: 0 / 460 MB, free: 8.496 MB / 430.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.001779/0.1544, allocations: 0.9075 MB / 460.9 MB, free: 7.512 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/0.1545, allocations: 8.031 kB / 460.9 MB, free: 7.504 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.1546, allocations: 32.75 kB / 460.9 MB, free: 7.473 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.1549, allocations: 226.2 kB / 461.1 MB, free: 7.23 MB / 430.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.0001054/0.155, allocations: 54.67 kB / 461.2 MB, free: 7.172 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.1551, allocations: 35.98 kB / 461.2 MB, free: 7.137 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.1568, allocations: 0.9404 MB / 462.2 MB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1568, allocations: 0 / 462.2 MB, free: 6.16 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.357e-05/0.1569, allocations: 12 kB / 462.2 MB, free: 6.148 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/0.1569, allocations: 11.94 kB / 462.2 MB, free: 6.137 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004519/0.1573, allocations: 189.8 kB / 462.4 MB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007262/0.1581, allocations: 431.6 kB / 462.8 MB, free: 5.492 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.1591, allocations: 0.514 MB / 463.3 MB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005164/0.1596, allocations: 283.7 kB / 463.6 MB, free: 4.668 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/0.1598, allocations: 40.48 kB / 463.6 MB, free: 4.629 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.164e-05/0.1599, allocations: 43 kB / 463.7 MB, free: 4.578 MB / 430.1 MB Notification: Performance of pre-optimization done (n=63): time 3.747e-06/0.1599, allocations: 0 / 463.7 MB, free: 4.578 MB / 430.1 MB Notification: Performance of matching and sorting (n=63): time 0.001395/0.1613, allocations: 0.5945 MB / 464.3 MB, free: 3.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.1614, allocations: 140.8 kB / 464.4 MB, free: 3.816 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000201/0.1616, allocations: 158.3 kB / 464.5 MB, free: 3.645 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.78e-05/0.1617, allocations: 37.7 kB / 464.6 MB, free: 3.602 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.1618, allocations: 121.2 kB / 464.7 MB, free: 3.477 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.255e-05/0.1619, allocations: 43.8 kB / 464.7 MB, free: 3.434 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.162, allocations: 102.3 kB / 464.8 MB, free: 3.328 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002405/0.1622, allocations: 342.8 kB / 465.2 MB, free: 2.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001398/0.1624, allocations: 73.27 kB / 465.3 MB, free: 2.91 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005752/0.163, allocations: 467.2 kB / 465.7 MB, free: 2.262 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007683/0.1637, allocations: 0.5873 MB / 466.3 MB, free: 1.48 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.1637, allocations: 8 kB / 466.3 MB, free: 1.473 MB / 430.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009434/0.1647, allocations: 0.509 MB / 466.8 MB, free: 0.957 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.1647, allocations: 11.12 kB / 466.8 MB, free: 0.9492 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.755e-05/0.1647, allocations: 16 kB / 466.8 MB, free: 0.9336 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.974e-05/0.1648, allocations: 16.75 kB / 466.9 MB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00037/0.1652, allocations: 123.7 kB / 467 MB, free: 0.7969 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.48e-05/0.1652, allocations: 35.86 kB / 467 MB, free: 0.7617 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000244/0.1654, allocations: 43.73 kB / 467.1 MB, free: 0.7188 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.309e-05/0.1655, allocations: 36 kB / 467.1 MB, free: 0.6836 MB / 430.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.0003497/0.1659, allocations: 230.6 kB / 467.3 MB, free: 460 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008458/0.1667, allocations: 421.4 kB / 467.7 MB, free: 32 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.1678, allocations: 495.3 kB / 468.2 MB, free: 15.55 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/0.1678, allocations: 7.938 kB / 468.2 MB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.1678, allocations: 4 kB / 468.2 MB, free: 15.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.01e-05/0.1678, allocations: 7.984 kB / 468.2 MB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003674/0.1682, allocations: 185 kB / 468.4 MB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.1682, allocations: 0 / 468.4 MB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.1686, allocations: 95.89 kB / 468.5 MB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/0.1686, allocations: 4 kB / 468.5 MB, free: 15.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.1687, allocations: 15.98 kB / 468.5 MB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1687, allocations: 4 kB / 468.5 MB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/0.1687, allocations: 3.938 kB / 468.5 MB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/0.1697, allocations: 0.6416 MB / 469.2 MB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.824e-05/0.1698, allocations: 51.55 kB / 469.2 MB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.059e-05/0.1698, allocations: 16 kB / 469.2 MB, free: 14.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001725/0.17, allocations: 12 kB / 469.2 MB, free: 14.46 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.332e-05/0.17, allocations: 7.938 kB / 469.3 MB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.1701, allocations: 19.98 kB / 469.3 MB, free: 14.43 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1702, allocations: 110.6 kB / 469.4 MB, free: 14.32 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1702, allocations: 0 / 469.4 MB, free: 14.32 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007849/0.171, allocations: 131.7 kB / 469.5 MB, free: 14.2 MB / 446.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.001006/0.172, allocations: 347.4 kB / 469.9 MB, free: 13.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009225/0.1729, allocations: 387.6 kB / 470.2 MB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.1729, allocations: 0 / 470.2 MB, free: 13.52 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.74e-05/0.173, allocations: 15.92 kB / 470.2 MB, free: 13.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002015/0.175, allocations: 1.099 MB / 471.3 MB, free: 12.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001284/0.1763, allocations: 0.6422 MB / 472 MB, free: 11.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002822/0.1766, allocations: 200.3 kB / 472.2 MB, free: 11.47 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.776e-05/0.1766, allocations: 35.27 kB / 472.2 MB, free: 11.44 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.1768, allocations: 32.59 kB / 472.2 MB, free: 11.41 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1768, allocations: 0 / 472.2 MB, free: 11.41 MB / 446.1 MB Notification: Performance of Templates: time 0.01303/0.1898, allocations: 5.741 MB / 478 MB, free: 5.746 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.makefile [Timeout 660] (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 & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_String.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.021604093024507] Failed to read output from testmodel.py, exit status != 0: 0.19970962405204773 0.42282012900000004 0.26554698400000004 Calling exit ...