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.001319/0.001319, allocations: 110.9 kB / 17.17 MB, free: 5.855 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.001441/0.001441, allocations: 211.2 kB / 20.14 MB, free: 2.898 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.526/1.526, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.06317/0.06317, allocations: 12.22 MB / 321.8 MB, free: 13.26 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.001963/0.001963, allocations: 72.58 kB / 448.1 MB, free: 38.54 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.12, allocations: 56.37 MB / 0.4926 GB, free: 1.762 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.00457/0.1246, allocations: 2.909 MB / 0.4955 GB, free: 14.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0024/0.127, allocations: 1.125 MB / 0.4966 GB, free: 13.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002036/0.1272, allocations: 15.88 kB / 0.4966 GB, free: 13.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002785/0.1275, allocations: 71.25 kB / 0.4967 GB, free: 13.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1277, allocations: 51.53 kB / 0.4967 GB, free: 13.57 MB / 366.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.001009/0.1287, allocations: 291.3 kB / 0.497 GB, free: 13.29 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004919/0.1292, allocations: 395.7 kB / 0.4974 GB, free: 12.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003136/0.1295, allocations: 162.9 kB / 0.4975 GB, free: 12.73 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000221/0.1297, allocations: 191.3 kB / 0.4977 GB, free: 12.54 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.13, allocations: 231 kB / 0.4979 GB, free: 12.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.57e-05/0.1301, allocations: 40 kB / 0.498 GB, free: 12.28 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002463/0.1303, allocations: 135.9 kB / 0.4981 GB, free: 12.14 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1305, allocations: 139.6 kB / 0.4982 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002059/0.1307, allocations: 194.9 kB / 0.4984 GB, free: 11.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007255/0.1314, allocations: 0.5641 MB / 0.499 GB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.1314, allocations: 4 kB / 0.499 GB, free: 11.25 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1314, allocations: 0 / 0.499 GB, free: 11.25 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1314, allocations: 0 / 0.499 GB, free: 11.25 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.001909/0.1333, allocations: 1.23 MB / 0.5002 GB, free: 9.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.1334, allocations: 12.03 kB / 0.5002 GB, free: 9.895 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.8e-05/0.1335, allocations: 74.72 kB / 0.5003 GB, free: 9.812 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1336, allocations: 52.58 kB / 0.5003 GB, free: 9.762 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004136/0.134, allocations: 313.5 kB / 0.5006 GB, free: 9.414 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.0001065/0.1341, allocations: 71.2 kB / 0.5007 GB, free: 9.34 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.937e-05/0.1341, allocations: 40.38 kB / 0.5007 GB, free: 9.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001988/0.1361, allocations: 1.242 MB / 0.5019 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1361, allocations: 0 / 0.5019 GB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.389e-05/0.1362, allocations: 19.98 kB / 0.5019 GB, free: 8.016 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.1362, allocations: 12 kB / 0.502 GB, free: 8.004 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005097/0.1367, allocations: 250.4 kB / 0.5022 GB, free: 7.758 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1378, allocations: 0.8327 MB / 0.503 GB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.1391, allocations: 0.9339 MB / 0.5039 GB, free: 5.832 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006374/0.1397, allocations: 391.6 kB / 0.5043 GB, free: 5.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001157/0.1398, allocations: 40.7 kB / 0.5043 GB, free: 5.391 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/0.14, allocations: 95.42 kB / 0.5044 GB, free: 5.273 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 2.474e-06/0.14, allocations: 0 / 0.5044 GB, free: 5.273 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001546/0.1415, allocations: 0.7829 MB / 0.5052 GB, free: 4.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000195/0.1417, allocations: 212.7 kB / 0.5054 GB, free: 4.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002052/0.1419, allocations: 199.1 kB / 0.5056 GB, free: 4.039 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.08e-05/0.142, allocations: 41.7 kB / 0.5056 GB, free: 3.992 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1421, allocations: 133.9 kB / 0.5057 GB, free: 3.855 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.253e-05/0.1422, allocations: 51.81 kB / 0.5058 GB, free: 3.805 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.1423, allocations: 134.7 kB / 0.5059 GB, free: 3.668 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1425, allocations: 354.8 kB / 0.5063 GB, free: 3.312 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.1427, allocations: 105.9 kB / 0.5064 GB, free: 3.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006204/0.1433, allocations: 0.6221 MB / 0.507 GB, free: 2.332 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008838/0.1442, allocations: 0.7757 MB / 0.5077 GB, free: 1.301 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.1442, allocations: 8 kB / 0.5077 GB, free: 1.293 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001008/0.1452, allocations: 0.6699 MB / 0.5084 GB, free: 0.6172 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.681e-05/0.1452, allocations: 20.03 kB / 0.5084 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.1453, allocations: 16 kB / 0.5084 GB, free: 0.582 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.263e-05/0.1453, allocations: 24 kB / 0.5085 GB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004452/0.1457, allocations: 159.6 kB / 0.5086 GB, free: 412 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.528e-05/0.1458, allocations: 35.86 kB / 0.5086 GB, free: 376 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003275/0.1461, allocations: 67.61 kB / 0.5087 GB, free: 308 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.1461, allocations: 44 kB / 0.5087 GB, free: 264 kB / 366.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.0003336/0.1465, allocations: 269.4 kB / 0.509 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009547/0.1474, allocations: 0.5439 MB / 0.5095 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00114/0.1486, allocations: 0.603 MB / 0.5101 GB, free: 14.83 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.1486, allocations: 11.94 kB / 0.5101 GB, free: 14.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1486, allocations: 4 kB / 0.5101 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.1486, allocations: 3.984 kB / 0.5101 GB, free: 14.81 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004463/0.149, allocations: 416.9 kB / 0.5105 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-05/0.1491, allocations: 4 kB / 0.5105 GB, free: 14.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004222/0.1495, allocations: 127.8 kB / 0.5107 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.1495, allocations: 4 kB / 0.5107 GB, free: 14.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.1495, allocations: 15.98 kB / 0.5107 GB, free: 14.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/0.1495, allocations: 11.88 kB / 0.5107 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.1495, allocations: 4 kB / 0.5107 GB, free: 14.19 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001087/0.1506, allocations: 0.6615 MB / 0.5113 GB, free: 13.5 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1507, allocations: 132.6 kB / 0.5115 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.845e-05/0.1508, allocations: 20 kB / 0.5115 GB, free: 13.33 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00016/0.151, allocations: 19.94 kB / 0.5115 GB, free: 13.31 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.151, allocations: 15.92 kB / 0.5115 GB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.1511, allocations: 23.98 kB / 0.5115 GB, free: 13.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001243/0.1512, allocations: 133.2 kB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1512, allocations: 4 kB / 0.5117 GB, free: 13.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006299/0.1518, allocations: 119.8 kB / 0.5118 GB, free: 13.02 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.002459/0.1543, allocations: 1.68 MB / 0.5134 GB, free: 11.31 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009474/0.1552, allocations: 0.5144 MB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1552, allocations: 4.25 kB / 0.5139 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.905e-05/0.1553, allocations: 31.91 kB / 0.514 GB, free: 10.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00176/0.1571, allocations: 1.235 MB / 0.5152 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005315/0.1624, allocations: 4.248 MB / 0.5193 GB, free: 4.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005228/0.1629, allocations: 0.8598 MB / 0.5202 GB, free: 3.734 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001324/0.163, allocations: 40.28 kB / 0.5202 GB, free: 3.695 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.1632, allocations: 130.1 kB / 0.5203 GB, free: 3.574 MB / 382.1 MB Notification: Performance of SimCode: time 8.31e-07/0.1632, allocations: 0 / 0.5203 GB, free: 3.574 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03714/0.2004, allocations: 9.867 MB / 0.53 GB, free: 9.895 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.802/9.002, allocations: 4 kB / 0.53 GB, free: 9.891 MB / 398.1 MB " [Timeout remaining time 651] (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: 11.852369732994703] Failed to read output from testmodel.py, exit status != 0: 9.080751285990118 9.107766151 8.971649386 Calling exit ...