Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 108.6 kB / 20.38 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00179/0.00179, allocations: 193.4 kB / 23.64 MB, free: 4.957 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.459/1.459, allocations: 225.6 MB / 252.3 MB, free: 13.07 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06243/0.06243, allocations: 12.18 MB / 319.7 MB, free: 12.91 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 75.88 kB / 445.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1111, allocations: 55.2 MB / 0.4891 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.004736/0.1158, allocations: 3.015 MB / 0.4921 GB, free: 9.941 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001891/0.1177, allocations: 1.094 MB / 0.4931 GB, free: 8.84 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001222/0.1178, allocations: 11.88 kB / 0.4931 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1181, allocations: 67.33 kB / 0.4932 GB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001743/0.1182, allocations: 51.47 kB / 0.4932 GB, free: 8.711 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008535/0.1191, allocations: 295.3 kB / 0.4935 GB, free: 8.422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004499/0.1195, allocations: 403.6 kB / 0.4939 GB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002594/0.1198, allocations: 135.2 kB / 0.494 GB, free: 7.883 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.12, allocations: 187.3 kB / 0.4942 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002852/0.1203, allocations: 231 kB / 0.4944 GB, free: 7.473 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.9e-05/0.1204, allocations: 44 kB / 0.4945 GB, free: 7.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.1206, allocations: 147.9 kB / 0.4946 GB, free: 7.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001643/0.1208, allocations: 139.6 kB / 0.4948 GB, free: 7.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.1209, allocations: 198.9 kB / 0.4949 GB, free: 6.953 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006687/0.1216, allocations: 0.5641 MB / 0.4955 GB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1216, allocations: 0 / 0.4955 GB, free: 6.387 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1216, allocations: 4 kB / 0.4955 GB, free: 6.383 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.1216, allocations: 0 / 0.4955 GB, free: 6.383 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: addBoolean.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getInteger.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg resetPointer.pkgOut[1].pkg = resetPointer.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg addBoolean.pkgOut[1].pkg = resetPointer.pkgIn.pkg getInteger.pkgOut[1].pkg = getBoolean.pkgIn.pkg addInteger.pkgOut[1].pkg = addBoolean.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg resetPointer.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.001906/0.1235, allocations: 1.135 MB / 0.4966 GB, free: 5.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1236, allocations: 8.031 kB / 0.4966 GB, free: 5.152 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.1237, allocations: 48.66 kB / 0.4967 GB, free: 5.105 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004911/0.1242, allocations: 247.8 kB / 0.4969 GB, free: 4.836 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 0.0001201/0.1243, allocations: 73.94 kB / 0.497 GB, free: 4.758 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.93e-05/0.1244, allocations: 36.38 kB / 0.497 GB, free: 4.723 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002204/0.1266, allocations: 1.289 MB / 0.4983 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.1266, allocations: 0 / 0.4983 GB, free: 3.395 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.198e-05/0.1267, allocations: 20 kB / 0.4983 GB, free: 3.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.1267, allocations: 12 kB / 0.4983 GB, free: 3.363 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004988/0.1272, allocations: 254.4 kB / 0.4985 GB, free: 3.113 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00104/0.1282, allocations: 0.8006 MB / 0.4993 GB, free: 2.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1294, allocations: 0.7114 MB / 0.5 GB, free: 1.508 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006119/0.13, allocations: 400.1 kB / 0.5004 GB, free: 1.094 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001067/0.1301, allocations: 36.7 kB / 0.5004 GB, free: 1.059 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001345/0.1302, allocations: 95.42 kB / 0.5005 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.364e-06/0.1302, allocations: 0 / 0.5005 GB, free: 0.9414 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001478/0.1317, allocations: 0.7865 MB / 0.5013 GB, free: 152 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001826/0.1319, allocations: 200.8 kB / 0.5015 GB, free: 15.92 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002129/0.1321, allocations: 207.1 kB / 0.5017 GB, free: 15.7 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.689e-05/0.1322, allocations: 41.7 kB / 0.5017 GB, free: 15.66 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.1323, allocations: 133.9 kB / 0.5018 GB, free: 15.52 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.1323, allocations: 55.8 kB / 0.5019 GB, free: 15.46 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1325, allocations: 143 kB / 0.502 GB, free: 15.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1327, allocations: 346.8 kB / 0.5024 GB, free: 14.97 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.1328, allocations: 113.9 kB / 0.5025 GB, free: 14.86 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005865/0.1334, allocations: 0.6104 MB / 0.5031 GB, free: 14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008616/0.1343, allocations: 0.7796 MB / 0.5038 GB, free: 12.96 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.1343, allocations: 4 kB / 0.5038 GB, free: 12.96 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009979/0.1353, allocations: 0.6776 MB / 0.5045 GB, free: 12.27 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.579e-05/0.1353, allocations: 15.94 kB / 0.5045 GB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.1353, allocations: 20 kB / 0.5045 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.291e-05/0.1354, allocations: 24 kB / 0.5046 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004423/0.1358, allocations: 155.7 kB / 0.5047 GB, free: 12.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.839e-05/0.1359, allocations: 39.8 kB / 0.5047 GB, free: 12.02 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.1362, allocations: 59.67 kB / 0.5048 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/0.1362, allocations: 51.98 kB / 0.5048 GB, free: 11.91 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 63 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,getBoolean.y_int[1],getBoolean.y[1],getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,sample4.y,addBoolean.u_int[1],addBoolean.u[1],addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgIn.userPkgBitSize,sample3.y,sample2.y,sample1.y,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.userPkgBitSize,getInteger.y[1],getInteger.pkgOut[1].autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,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,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.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 (89): * Single equations (assignments): 89 * 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.0003363/0.1366, allocations: 265.5 kB / 0.5051 GB, free: 11.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000951/0.1375, allocations: 0.5439 MB / 0.5056 GB, free: 11.09 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.1386, allocations: 0.6024 MB / 0.5062 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.015e-05/0.1387, allocations: 12 kB / 0.5062 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.1387, allocations: 7.938 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.1387, allocations: 3.984 kB / 0.5062 GB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.1391, allocations: 384.1 kB / 0.5066 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/0.1391, allocations: 8 kB / 0.5066 GB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/0.1396, allocations: 119.8 kB / 0.5067 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.923e-06/0.1396, allocations: 4 kB / 0.5067 GB, free: 9.914 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.205e-05/0.1396, allocations: 20 kB / 0.5068 GB, free: 9.895 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.1396, allocations: 7.938 kB / 0.5068 GB, free: 9.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.1396, allocations: 7.922 kB / 0.5068 GB, free: 9.879 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001075/0.1407, allocations: 0.6653 MB / 0.5074 GB, free: 9.191 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.494e-05/0.1408, allocations: 47.58 kB / 0.5075 GB, free: 9.145 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.401e-05/0.1408, allocations: 23.98 kB / 0.5075 GB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.141, allocations: 16 kB / 0.5075 GB, free: 9.105 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.24e-05/0.1411, allocations: 23.8 kB / 0.5075 GB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-05/0.1411, allocations: 31.92 kB / 0.5076 GB, free: 9.051 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.1412, allocations: 128.1 kB / 0.5077 GB, free: 8.926 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1412, allocations: 0 / 0.5077 GB, free: 8.926 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006663/0.1419, allocations: 123.8 kB / 0.5078 GB, free: 8.805 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,sample4.u,booleanPulse.pulseStart,integerExpression1.y,integerExpression2.y,integerExpression.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],packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,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.pkgOut[1].userPkgBitSize,getInteger.pkgOut[1].autoPkgBitSize,getInteger.y[1],unpackInt1.pkgIn.userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,sample1.y,sample2.y,sample3.y,addBoolean.pkgIn.userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.u[1],addBoolean.u_int[1],sample4.y,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.y[1],getBoolean.y_int[1]) * 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 (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.000578/0.1425, allocations: 252.9 kB / 0.508 GB, free: 8.562 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008646/0.1433, allocations: 0.5056 MB / 0.5085 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1433, allocations: 0 / 0.5085 GB, free: 8.059 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.351e-05/0.1434, allocations: 23.92 kB / 0.5086 GB, free: 8.035 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001741/0.1451, allocations: 1.244 MB / 0.5098 GB, free: 6.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.1466, allocations: 0.8416 MB / 0.5106 GB, free: 5.871 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006133/0.1472, allocations: 0.8597 MB / 0.5114 GB, free: 4.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000124/0.1474, allocations: 52.25 kB / 0.5115 GB, free: 4.926 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.525e-05/0.1475, allocations: 35.44 kB / 0.5115 GB, free: 4.891 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1475, allocations: 3.938 kB / 0.5115 GB, free: 4.887 MB / 382.1 MB Notification: Performance of Templates: time 0.2295/0.377, allocations: 6.741 MB / 0.5181 GB, free: 28.91 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.039283882011659] Failed to read output from testmodel.py, exit status != 0: 0.3841013739584014 0.398044338 0.273553257 Calling exit ...