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.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.001853/0.001853, allocations: 115.5 kB / 19.74 MB, free: 2.152 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002107/0.002107, allocations: 225.2 kB / 23.05 MB, free: 4.992 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.529/1.529, allocations: 230.6 MB / 256.8 MB, free: 8.043 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.06662/0.06662, allocations: 12.22 MB / 325.5 MB, free: 7.312 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,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 453.4 MB, free: 9.074 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1162, allocations: 56.41 MB / 0.4978 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005404/0.1217, allocations: 3.025 MB / 0.5008 GB, free: 13.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002315/0.124, allocations: 1.129 MB / 0.5019 GB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.1242, allocations: 15.88 kB / 0.5019 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003778/0.1246, allocations: 63.33 kB / 0.502 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002385/0.1248, allocations: 55.53 kB / 0.502 GB, free: 12.26 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'. Notification: Performance of NFTyping.typeClassSections: time 0.001167/0.126, allocations: 299.2 kB / 0.5023 GB, free: 11.97 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005575/0.1265, allocations: 403.6 kB / 0.5027 GB, free: 11.57 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003169/0.1268, allocations: 131.5 kB / 0.5028 GB, free: 11.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002506/0.1271, allocations: 187.4 kB / 0.503 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003551/0.1274, allocations: 231 kB / 0.5032 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.177e-05/0.1275, allocations: 44 kB / 0.5033 GB, free: 10.98 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002907/0.1278, allocations: 143.9 kB / 0.5034 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001896/0.128, allocations: 139.6 kB / 0.5035 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002516/0.1282, allocations: 194.9 kB / 0.5037 GB, free: 10.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008307/0.1291, allocations: 0.5719 MB / 0.5043 GB, free: 9.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/0.1291, allocations: 3.938 kB / 0.5043 GB, free: 9.934 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1291, allocations: 0 / 0.5043 GB, free: 9.934 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.1291, allocations: 0 / 0.5043 GB, free: 9.934 MB / 382.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.002057/0.1312, allocations: 1.143 MB / 0.5054 GB, free: 8.703 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1312, allocations: 12.03 kB / 0.5054 GB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.476e-05/0.1313, allocations: 78.7 kB / 0.5055 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.1314, allocations: 52.69 kB / 0.5055 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.1318, allocations: 251.7 kB / 0.5058 GB, free: 8.281 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.0001062/0.1319, allocations: 63.25 kB / 0.5058 GB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.042e-05/0.132, allocations: 36.38 kB / 0.5059 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/0.1341, allocations: 1.227 MB / 0.5071 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.1341, allocations: 0 / 0.5071 GB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.487e-05/0.1341, allocations: 20 kB / 0.5071 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.826e-05/0.1341, allocations: 11.94 kB / 0.5071 GB, free: 6.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004956/0.1346, allocations: 254.4 kB / 0.5073 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001093/0.1357, allocations: 0.8045 MB / 0.5081 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.137, allocations: 0.7192 MB / 0.5088 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/0.1376, allocations: 392.2 kB / 0.5092 GB, free: 4.625 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001178/0.1377, allocations: 32.7 kB / 0.5092 GB, free: 4.594 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.1379, allocations: 111.4 kB / 0.5093 GB, free: 4.461 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.585e-06/0.1379, allocations: 0 / 0.5093 GB, free: 4.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001558/0.1394, allocations: 0.7826 MB / 0.5101 GB, free: 3.672 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000204/0.1396, allocations: 204.7 kB / 0.5103 GB, free: 3.434 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.1399, allocations: 203.1 kB / 0.5105 GB, free: 3.223 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.262e-05/0.1399, allocations: 42.08 kB / 0.5105 GB, free: 3.176 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001249/0.14, allocations: 137.9 kB / 0.5107 GB, free: 3.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.1401, allocations: 63.75 kB / 0.5107 GB, free: 2.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.1403, allocations: 138.6 kB / 0.5108 GB, free: 2.832 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1405, allocations: 346.8 kB / 0.5112 GB, free: 2.484 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.1407, allocations: 109.9 kB / 0.5113 GB, free: 2.379 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006898/0.1413, allocations: 0.6026 MB / 0.5119 GB, free: 1.52 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009607/0.1423, allocations: 0.7794 MB / 0.5126 GB, free: 496 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/0.1423, allocations: 11.94 kB / 0.5126 GB, free: 484 kB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2635/0.4058, allocations: 0.6577 MB / 0.5133 GB, free: 20.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.688e-05/0.4059, allocations: 14.62 kB / 0.5133 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.721e-05/0.4059, allocations: 19.72 kB / 0.5133 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.499e-05/0.4059, allocations: 22.34 kB / 0.5133 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004244/0.4063, allocations: 164.1 kB / 0.5135 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.981e-05/0.4064, allocations: 36.69 kB / 0.5135 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.4068, allocations: 68.44 kB / 0.5136 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-05/0.4068, allocations: 45.52 kB / 0.5136 GB, free: 20.46 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.0003521/0.4072, allocations: 269 kB / 0.5139 GB, free: 20.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008897/0.4081, allocations: 0.5343 MB / 0.5144 GB, free: 20.3 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009305/0.409, allocations: 0.606 MB / 0.515 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.409, allocations: 12.33 kB / 0.515 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.409, allocations: 1.312 kB / 0.515 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.409, allocations: 8.609 kB / 0.515 GB, free: 20.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000333/0.4094, allocations: 382.7 kB / 0.5154 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.687e-05/0.4094, allocations: 6.719 kB / 0.5154 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.4098, allocations: 123.9 kB / 0.5155 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.4098, allocations: 3.156 kB / 0.5155 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.865e-05/0.4098, allocations: 19.34 kB / 0.5155 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.4098, allocations: 10.56 kB / 0.5156 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4098, allocations: 0 / 0.5156 GB, free: 20.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008768/0.4107, allocations: 0.6806 MB / 0.5162 GB, free: 19.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.405e-05/0.4107, allocations: 46.42 kB / 0.5163 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.402e-05/0.4108, allocations: 17.94 kB / 0.5163 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001509/0.4109, allocations: 21.55 kB / 0.5163 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/0.411, allocations: 11.45 kB / 0.5163 GB, free: 19.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-05/0.4111, allocations: 26.25 kB / 0.5163 GB, free: 19.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.926e-05/0.4111, allocations: 128.6 kB / 0.5165 GB, free: 19.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4111, allocations: 1.781 kB / 0.5165 GB, free: 19.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006606/0.4118, allocations: 123.6 kB / 0.5166 GB, free: 19.85 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.001963/0.4138, allocations: 1.684 MB / 0.5182 GB, free: 19.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000835/0.4146, allocations: 0.5096 MB / 0.5187 GB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4146, allocations: 0 / 0.5187 GB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.596e-05/0.4147, allocations: 23.78 kB / 0.5187 GB, free: 19.15 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.4161, allocations: 1.245 MB / 0.52 GB, free: 18.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.4205, allocations: 4.23 MB / 0.5241 GB, free: 15.52 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.4209, allocations: 0.8655 MB / 0.5249 GB, free: 14.8 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001418/0.421, allocations: 45.59 kB / 0.525 GB, free: 14.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001854/0.4212, allocations: 124.7 kB / 0.5251 GB, free: 14.79 MB / 382.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4212, allocations: 3.938 kB / 0.5251 GB, free: 14.78 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04649/0.4677, allocations: 10.52 MB / 0.5354 GB, free: 12.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.1/12.56, allocations: 5.875 kB / 0.5354 GB, free: 12.39 MB / 382.1 MB " [Timeout remaining time 647] (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 & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.412016588998085] Failed to read output from testmodel.py, exit status != 0: 12.675151632000052 12.688030361000001 12.55637711 Calling exit ...