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.001348/0.001348, allocations: 108.3 kB / 19.75 MB, free: 1.879 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.001501/0.001501, allocations: 220.1 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.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.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.988 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.0645/0.0645, allocations: 12.22 MB / 325.4 MB, free: 7.082 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.002117/0.002117, allocations: 63.91 kB / 453.3 MB, free: 8.863 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1245, allocations: 56.4 MB / 0.4977 GB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005286/0.1298, allocations: 2.94 MB / 0.5006 GB, free: 13.41 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1318, allocations: 1.075 MB / 0.5017 GB, free: 12.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001522/0.132, allocations: 11.88 kB / 0.5017 GB, free: 12.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003166/0.1323, allocations: 71.27 kB / 0.5017 GB, free: 12.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.1325, allocations: 47.53 kB / 0.5018 GB, free: 12.2 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.001441/0.134, allocations: 294 kB / 0.5021 GB, free: 11.92 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006833/0.1347, allocations: 395.6 kB / 0.5024 GB, free: 11.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003675/0.135, allocations: 131.4 kB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.1354, allocations: 195.4 kB / 0.5028 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004055/0.1358, allocations: 203 kB / 0.503 GB, free: 11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.1359, allocations: 44 kB / 0.503 GB, free: 10.96 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003294/0.1362, allocations: 135.9 kB / 0.5031 GB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002506/0.1364, allocations: 143.6 kB / 0.5033 GB, free: 10.68 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.1367, allocations: 151.2 kB / 0.5034 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009853/0.1377, allocations: 0.5719 MB / 0.504 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1377, allocations: 0 / 0.504 GB, free: 9.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1377, allocations: 0 / 0.504 GB, free: 9.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.143e-06/0.1377, allocations: 3.938 kB / 0.504 GB, free: 9.957 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.002832/0.1405, allocations: 1.143 MB / 0.5051 GB, free: 8.727 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.693e-05/0.1406, allocations: 8.031 kB / 0.5051 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001677/0.1408, allocations: 82.66 kB / 0.5052 GB, free: 8.629 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/0.1409, allocations: 40.7 kB / 0.5052 GB, free: 8.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000565/0.1415, allocations: 259.7 kB / 0.5055 GB, free: 8.309 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.0001461/0.1416, allocations: 67.2 kB / 0.5055 GB, free: 8.234 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.352e-05/0.1417, allocations: 36.38 kB / 0.5056 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.144, allocations: 1.285 MB / 0.5068 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.1441, allocations: 0 / 0.5068 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.257e-05/0.1441, allocations: 16 kB / 0.5068 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.1441, allocations: 8 kB / 0.5068 GB, free: 6.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005379/0.1447, allocations: 254.4 kB / 0.5071 GB, free: 6.598 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001165/0.1458, allocations: 0.7382 MB / 0.5078 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.147, allocations: 0.718 MB / 0.5085 GB, free: 5.047 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.1477, allocations: 388.1 kB / 0.5089 GB, free: 4.656 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001109/0.1478, allocations: 28.64 kB / 0.5089 GB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000149/0.1479, allocations: 111.4 kB / 0.509 GB, free: 4.496 MB / 382.1 MB Notification: Performance of pre-optimization done (n=84): time 2.495e-06/0.1479, allocations: 0 / 0.509 GB, free: 4.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=84): time 0.001453/0.1494, allocations: 0.7787 MB / 0.5098 GB, free: 3.711 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.1496, allocations: 212.7 kB / 0.51 GB, free: 3.465 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/0.1498, allocations: 203.1 kB / 0.5102 GB, free: 3.254 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.667e-05/0.1498, allocations: 42.08 kB / 0.5102 GB, free: 3.207 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.15, allocations: 141.8 kB / 0.5103 GB, free: 3.062 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.65e-05/0.15, allocations: 55.75 kB / 0.5104 GB, free: 3.008 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.1502, allocations: 138.7 kB / 0.5105 GB, free: 2.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.1504, allocations: 346.8 kB / 0.5109 GB, free: 2.52 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.1506, allocations: 109.9 kB / 0.511 GB, free: 2.41 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006303/0.1512, allocations: 0.6143 MB / 0.5116 GB, free: 1.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.1521, allocations: 0.7795 MB / 0.5123 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.1521, allocations: 4 kB / 0.5123 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.2168/0.369, allocations: 0.6625 MB / 0.513 GB, free: 20.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.654e-05/0.369, allocations: 14.06 kB / 0.513 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.75e-05/0.369, allocations: 18.09 kB / 0.513 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.584e-05/0.3691, allocations: 24.72 kB / 0.513 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004059/0.3695, allocations: 161.6 kB / 0.5132 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.113e-05/0.3695, allocations: 35.66 kB / 0.5132 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004337/0.3699, allocations: 66.11 kB / 0.5133 GB, free: 20.99 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/0.37, allocations: 46.88 kB / 0.5133 GB, free: 20.99 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.0003523/0.3703, allocations: 269.6 kB / 0.5136 GB, free: 20.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008366/0.3712, allocations: 0.5385 MB / 0.5141 GB, free: 20.83 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001002/0.3722, allocations: 0.6012 MB / 0.5147 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.3722, allocations: 12.86 kB / 0.5147 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3722, allocations: 0 / 0.5147 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.168e-06/0.3722, allocations: 4.828 kB / 0.5147 GB, free: 20.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002906/0.3725, allocations: 326.5 kB / 0.515 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.318e-05/0.3725, allocations: 2.156 kB / 0.515 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003701/0.3729, allocations: 116.8 kB / 0.5151 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3729, allocations: 8.75 kB / 0.5151 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.3729, allocations: 21.69 kB / 0.5152 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3729, allocations: 6.578 kB / 0.5152 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3729, allocations: 1.219 kB / 0.5152 GB, free: 20.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008966/0.3738, allocations: 0.6771 MB / 0.5158 GB, free: 20.48 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.3739, allocations: 50.61 kB / 0.5159 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.134e-05/0.3739, allocations: 19.39 kB / 0.5159 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001517/0.3741, allocations: 21.12 kB / 0.5159 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.3741, allocations: 10.33 kB / 0.5159 GB, free: 20.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.3742, allocations: 27.31 kB / 0.516 GB, free: 20.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.818e-05/0.3742, allocations: 127.4 kB / 0.5161 GB, free: 20.38 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3742, allocations: 0 / 0.5161 GB, free: 20.38 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006341/0.3749, allocations: 121.3 kB / 0.5162 GB, free: 20.38 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.001979/0.3769, allocations: 1.698 MB / 0.5178 GB, free: 19.69 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0008305/0.3777, allocations: 0.5109 MB / 0.5183 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.3777, allocations: 2.812 kB / 0.5183 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.686e-05/0.3777, allocations: 22.42 kB / 0.5184 GB, free: 19.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001382/0.3791, allocations: 1.242 MB / 0.5196 GB, free: 18.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.3836, allocations: 4.224 MB / 0.5237 GB, free: 15.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.3839, allocations: 261 kB / 0.524 GB, free: 15.83 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001659/0.3841, allocations: 46.78 kB / 0.524 GB, free: 15.82 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/0.3842, allocations: 119.3 kB / 0.5241 GB, free: 15.74 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3842, allocations: 0 / 0.5241 GB, free: 15.74 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04473/0.429, allocations: 10.87 MB / 0.5347 GB, free: 13.01 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.11, allocations: 17.17 kB / 0.5347 GB, free: 13 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.95061243372038] Failed to read output from testmodel.py, exit status != 0: 13.231551764067262 13.252049842 13.110843086 Calling exit ...