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.001372/0.001372, allocations: 111.2 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.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.001464/0.001464, allocations: 186.6 kB / 23.03 MB, free: 5.016 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.604/1.604, allocations: 225.6 MB / 251.8 MB, free: 13 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.06554/0.06554, allocations: 12.18 MB / 319.2 MB, free: 12.82 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.002122/0.002122, allocations: 67.89 kB / 445.3 MB, free: 3.871 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1182, allocations: 55.2 MB / 0.4888 GB, free: 12.57 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005777/0.1239, allocations: 3.014 MB / 0.4917 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002573/0.1265, allocations: 1.098 MB / 0.4928 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000383/0.1269, allocations: 11.88 kB / 0.4928 GB, free: 8.434 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.1273, allocations: 75.27 kB / 0.4929 GB, free: 8.359 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003542/0.1276, allocations: 47.53 kB / 0.4929 GB, free: 8.312 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.00126/0.1289, allocations: 294.2 kB / 0.4932 GB, free: 8.027 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.1296, allocations: 403.7 kB / 0.4936 GB, free: 7.633 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003344/0.1299, allocations: 131.2 kB / 0.4937 GB, free: 7.492 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003072/0.1302, allocations: 195.3 kB / 0.4939 GB, free: 7.301 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003884/0.1306, allocations: 231 kB / 0.4941 GB, free: 7.074 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.664e-05/0.1307, allocations: 44 kB / 0.4941 GB, free: 7.031 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002924/0.131, allocations: 139.9 kB / 0.4943 GB, free: 6.895 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.1312, allocations: 135.6 kB / 0.4944 GB, free: 6.762 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002056/0.1314, allocations: 198.9 kB / 0.4946 GB, free: 6.566 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000741/0.1321, allocations: 0.5757 MB / 0.4952 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1321, allocations: 0 / 0.4952 GB, free: 5.988 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.487e-06/0.1321, allocations: 4 kB / 0.4952 GB, free: 5.984 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.1321, allocations: 0 / 0.4952 GB, free: 5.984 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.002032/0.1341, allocations: 1.135 MB / 0.4963 GB, free: 4.762 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.1342, allocations: 8.031 kB / 0.4963 GB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.1343, allocations: 48.66 kB / 0.4963 GB, free: 4.707 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.1347, allocations: 263.7 kB / 0.4966 GB, free: 4.422 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.135e-05/0.1348, allocations: 59.27 kB / 0.4966 GB, free: 4.355 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.1348, allocations: 36.38 kB / 0.4967 GB, free: 4.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001993/0.1368, allocations: 1.231 MB / 0.4979 GB, free: 3.062 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/0.1369, allocations: 7.938 kB / 0.4979 GB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.076e-05/0.1369, allocations: 15.98 kB / 0.4979 GB, free: 3.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.162e-05/0.1369, allocations: 12 kB / 0.4979 GB, free: 3.027 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004937/0.1374, allocations: 250.4 kB / 0.4981 GB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001037/0.1384, allocations: 0.8084 MB / 0.4989 GB, free: 1.914 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.1396, allocations: 0.7115 MB / 0.4996 GB, free: 1.168 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006459/0.1402, allocations: 396.2 kB / 0.5 GB, free: 0.7578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001121/0.1404, allocations: 28.64 kB / 0.5 GB, free: 0.7305 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.1405, allocations: 103.4 kB / 0.5001 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.765e-06/0.1405, allocations: 0 / 0.5001 GB, free: 0.6055 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001511/0.142, allocations: 0.7826 MB / 0.5009 GB, free: 15.81 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001807/0.1422, allocations: 208.7 kB / 0.5011 GB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002133/0.1424, allocations: 211.1 kB / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.1425, allocations: 37.7 kB / 0.5013 GB, free: 15.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.1426, allocations: 134.3 kB / 0.5015 GB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.216e-05/0.1426, allocations: 59.8 kB / 0.5015 GB, free: 15.12 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1428, allocations: 138.7 kB / 0.5016 GB, free: 14.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.143, allocations: 346.8 kB / 0.502 GB, free: 14.63 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.1431, allocations: 109.9 kB / 0.5021 GB, free: 14.52 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005963/0.1437, allocations: 0.6104 MB / 0.5027 GB, free: 13.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008666/0.1446, allocations: 0.7832 MB / 0.5034 GB, free: 12.62 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.884e-06/0.1446, allocations: 4 kB / 0.5034 GB, free: 12.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001012/0.1456, allocations: 0.6773 MB / 0.5041 GB, free: 11.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.515e-05/0.1457, allocations: 12 kB / 0.5041 GB, free: 11.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.1457, allocations: 19.94 kB / 0.5041 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.1457, allocations: 24 kB / 0.5042 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004574/0.1462, allocations: 159.7 kB / 0.5043 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.676e-05/0.1462, allocations: 39.8 kB / 0.5043 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003306/0.1465, allocations: 64.06 kB / 0.5044 GB, free: 11.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.989e-05/0.1466, allocations: 52 kB / 0.5045 GB, free: 11.57 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.0003357/0.1469, allocations: 261.6 kB / 0.5047 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000957/0.1479, allocations: 0.54 MB / 0.5052 GB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001142/0.149, allocations: 0.5991 MB / 0.5058 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.149, allocations: 8 kB / 0.5058 GB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.138e-06/0.1491, allocations: 11.94 kB / 0.5058 GB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/0.1491, allocations: 3.984 kB / 0.5058 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004438/0.1495, allocations: 388 kB / 0.5062 GB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.852e-05/0.1495, allocations: 4 kB / 0.5062 GB, free: 9.703 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004335/0.15, allocations: 119.8 kB / 0.5063 GB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.15, allocations: 4 kB / 0.5063 GB, free: 9.582 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.15, allocations: 27.98 kB / 0.5064 GB, free: 9.555 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.15, allocations: 4 kB / 0.5064 GB, free: 9.551 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.15, allocations: 3.938 kB / 0.5064 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.1512, allocations: 0.6692 MB / 0.507 GB, free: 8.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.232e-05/0.1512, allocations: 55.5 kB / 0.5071 GB, free: 8.801 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.1513, allocations: 16 kB / 0.5071 GB, free: 8.785 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001681/0.1515, allocations: 20 kB / 0.5071 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.558e-05/0.1515, allocations: 15.92 kB / 0.5071 GB, free: 8.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.1516, allocations: 31.98 kB / 0.5072 GB, free: 8.719 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001197/0.1517, allocations: 124.1 kB / 0.5073 GB, free: 8.598 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1517, allocations: 0 / 0.5073 GB, free: 8.598 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006604/0.1524, allocations: 123.8 kB / 0.5074 GB, free: 8.477 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.0005467/0.1529, allocations: 257.9 kB / 0.5076 GB, free: 8.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009448/0.1538, allocations: 0.5106 MB / 0.5081 GB, free: 7.723 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1539, allocations: 3.938 kB / 0.5081 GB, free: 7.719 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.62e-05/0.1539, allocations: 23.92 kB / 0.5082 GB, free: 7.695 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.1556, allocations: 1.24 MB / 0.5094 GB, free: 6.41 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.1572, allocations: 0.8493 MB / 0.5102 GB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/0.1577, allocations: 0.852 MB / 0.511 GB, free: 4.641 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001351/0.1578, allocations: 52.53 kB / 0.5111 GB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.539e-05/0.1579, allocations: 35.44 kB / 0.5111 GB, free: 4.551 MB / 382.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1579, allocations: 3.938 kB / 0.5111 GB, free: 4.547 MB / 382.1 MB Notification: Performance of Templates: time 0.2194/0.3773, allocations: 6.742 MB / 0.5177 GB, free: 29.12 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 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.256808426231146] Failed to read output from testmodel.py, exit status != 0: 0.3847190737724304 0.40068932900000004 0.265716973 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f85f8a757b0>