Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.001652/0.001652, allocations: 114.9 kB / 17.88 MB, free: 5.051 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.001579/0.001579, allocations: 212.5 kB / 20.84 MB, free: 2.105 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.562/1.562, allocations: 230.6 MB / 254.2 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.1316/0.1316, allocations: 12.21 MB / 322.5 MB, free: 13.27 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.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001959/0.001959, allocations: 63.66 kB / 448.8 MB, free: 38.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1085, allocations: 56.37 MB / 0.4933 GB, free: 1.648 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.003958/0.1125, allocations: 2.874 MB / 0.4961 GB, free: 14.76 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001964/0.1144, allocations: 1.11 MB / 0.4972 GB, free: 13.64 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001938/0.1146, allocations: 15.88 kB / 0.4972 GB, free: 13.63 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003282/0.1149, allocations: 75.22 kB / 0.4973 GB, free: 13.55 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00022/0.1152, allocations: 59.44 kB / 0.4974 GB, free: 13.5 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:139:5-153:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:98:7-105:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:155:5-169:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.0008422/0.116, allocations: 291.3 kB / 0.4976 GB, free: 13.21 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000578/0.1166, allocations: 458.9 kB / 0.4981 GB, free: 12.76 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003236/0.1169, allocations: 180.6 kB / 0.4983 GB, free: 12.58 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002756/0.1172, allocations: 239.3 kB / 0.4985 GB, free: 12.35 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003212/0.1175, allocations: 270.8 kB / 0.4987 GB, free: 12.08 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.331e-05/0.1176, allocations: 56 kB / 0.4988 GB, free: 12.03 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002317/0.1178, allocations: 131.9 kB / 0.4989 GB, free: 11.9 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002177/0.118, allocations: 191.5 kB / 0.4991 GB, free: 11.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002468/0.1183, allocations: 238.7 kB / 0.4993 GB, free: 11.48 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008457/0.1191, allocations: 0.6848 MB / 0.5 GB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.1191, allocations: 3.938 kB / 0.5 GB, free: 10.79 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1191, allocations: 0 / 0.5 GB, free: 10.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1191, allocations: 0 / 0.5 GB, free: 10.79 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002187/0.1213, allocations: 1.296 MB / 0.5013 GB, free: 9.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1214, allocations: 16.03 kB / 0.5013 GB, free: 9.367 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.684e-05/0.1214, allocations: 13.19 kB / 0.5013 GB, free: 9.355 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001161/0.1215, allocations: 86.7 kB / 0.5014 GB, free: 9.262 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1216, allocations: 52.61 kB / 0.5014 GB, free: 9.211 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.1221, allocations: 340.3 kB / 0.5018 GB, free: 8.836 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.095e-05/0.1221, allocations: 37.36 kB / 0.5018 GB, free: 8.801 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.305e-05/0.1222, allocations: 48.36 kB / 0.5018 GB, free: 8.754 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009185/0.1231, allocations: 0.5021 MB / 0.5023 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1231, allocations: 0 / 0.5023 GB, free: 8.234 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/0.1232, allocations: 19.98 kB / 0.5023 GB, free: 8.215 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.1232, allocations: 12 kB / 0.5024 GB, free: 8.203 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005517/0.1237, allocations: 290.4 kB / 0.5026 GB, free: 7.918 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001743/0.1255, allocations: 1.21 MB / 0.5038 GB, free: 6.648 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007994/0.1263, allocations: 331.9 kB / 0.5041 GB, free: 6.297 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002489/0.1265, allocations: 146.5 kB / 0.5043 GB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.953e-05/0.1266, allocations: 4 kB / 0.5043 GB, free: 6.141 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004769/0.1271, allocations: 238.8 kB / 0.5045 GB, free: 5.883 MB / 366.1 MB Notification: Performance of pre-optimization done (n=39): time 2.544e-06/0.1271, allocations: 4 kB / 0.5045 GB, free: 5.879 MB / 366.1 MB Notification: Performance of matching and sorting (n=39): time 0.00117/0.1282, allocations: 0.5724 MB / 0.5051 GB, free: 5.301 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.1283, allocations: 127 kB / 0.5052 GB, free: 5.152 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002697/0.1286, allocations: 226.6 kB / 0.5054 GB, free: 4.918 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.1287, allocations: 45.69 kB / 0.5054 GB, free: 4.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002164/0.1289, allocations: 221.2 kB / 0.5057 GB, free: 4.648 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.729e-05/0.129, allocations: 99.3 kB / 0.5058 GB, free: 4.551 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.1292, allocations: 118.2 kB / 0.5059 GB, free: 4.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1293, allocations: 346.8 kB / 0.5062 GB, free: 4.082 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002137/0.1296, allocations: 117 kB / 0.5063 GB, free: 3.969 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.1299, allocations: 301.5 kB / 0.5066 GB, free: 3.586 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006365/0.1306, allocations: 459.5 kB / 0.507 GB, free: 3.051 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.1306, allocations: 8 kB / 0.507 GB, free: 3.043 MB / 366.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007853/0.1313, allocations: 461.7 kB / 0.5075 GB, free: 2.586 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1314, allocations: 8 kB / 0.5075 GB, free: 2.578 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.1314, allocations: 8 kB / 0.5075 GB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/0.1314, allocations: 8 kB / 0.5075 GB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002933/0.1317, allocations: 83.77 kB / 0.5076 GB, free: 2.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.634e-05/0.1317, allocations: 8.391 kB / 0.5076 GB, free: 2.473 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1319, allocations: 35.83 kB / 0.5076 GB, free: 2.438 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.132, allocations: 27.94 kB / 0.5077 GB, free: 2.41 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 60 (getBoolean.dummy,$PRE.getBoolean.dummy,addBoolean.pkgOut[1].dummy,$PRE.addBoolean.pkgOut[1].dummy,unpackInt1.dummy,$PRE.unpackInt1.dummy,unpackInt1.y,$PRE.unpackInt1.y,unpackInt1.pkgOut[1].dummy,$PRE.unpackInt1.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getInteger.pkgOut[1].dummy,$PRE.getInteger.pkgOut[1].dummy,unpackInt.dummy,$PRE.unpackInt.dummy,unpackInt.y,$PRE.unpackInt.y,unpackInt.pkgOut[1].dummy,$PRE.unpackInt.pkgOut[1].dummy,resetPointer.dummy,$PRE.resetPointer.dummy,resetPointer.pkgOut[1].dummy,$PRE.resetPointer.pkgOut[1].dummy,packInt1.pkgOut[1].dummy,$PRE.packInt1.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packInt.pkgOut[1].dummy,$PRE.packInt.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,$whenCondition2,addBoolean.pkgOut[1].trigger,$whenCondition1,getBoolean.y_int[1],$PRE.getBoolean.y_int[1],getBoolean.y[1],booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,addBoolean.u_int[1],addBoolean.u[1],integerExpression.y,addInteger.u[1],integerExpression1.y,getBoolean.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.backwardTrigger,addBoolean.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0003175/0.1323, allocations: 245.7 kB / 0.5079 GB, free: 2.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.1324, allocations: 31.8 kB / 0.5079 GB, free: 2.129 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.1324, allocations: 26.55 kB / 0.5079 GB, free: 2.105 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.044e-06/0.1324, allocations: 7.938 kB / 0.508 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.1324, allocations: 0 / 0.508 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1324, allocations: 0 / 0.508 GB, free: 2.098 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.1339, allocations: 0.9535 MB / 0.5089 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.1339, allocations: 0 / 0.5089 GB, free: 1.09 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.165e-05/0.134, allocations: 15.92 kB / 0.5089 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.134, allocations: 0 / 0.5089 GB, free: 1.074 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.901e-05/0.134, allocations: 11.98 kB / 0.5089 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.134, allocations: 0 / 0.5089 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.134, allocations: 0 / 0.5089 GB, free: 1.062 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008977/0.1349, allocations: 0.5786 MB / 0.5095 GB, free: 476 kB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.609e-05/0.135, allocations: 112.8 kB / 0.5096 GB, free: 344 kB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.135, allocations: 4 kB / 0.5096 GB, free: 340 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.1352, allocations: 19.97 kB / 0.5096 GB, free: 320 kB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.921e-05/0.1353, allocations: 31.84 kB / 0.5096 GB, free: 288 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-05/0.1353, allocations: 11.98 kB / 0.5096 GB, free: 276 kB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001274/0.1354, allocations: 135.3 kB / 0.5098 GB, free: 140 kB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1354, allocations: 8 kB / 0.5098 GB, free: 132 kB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006028/0.136, allocations: 139.6 kB / 0.5099 GB, free: 15.99 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 39 (unpackInt.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].trigger,$whenCondition2,$whenCondition1,integerExpression.y,packager.pkgOut.dummy,packInt.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],integerExpression1.y,packInt1.pkgOut[1].dummy,resetPointer.pkgOut[1].dummy,resetPointer.dummy,unpackInt.pkgOut[1].dummy,unpackInt.y,unpackInt.dummy,getInteger.pkgOut[1].dummy,getInteger.y[1],getInteger.dummy,unpackInt1.pkgOut[1].dummy,unpackInt1.y,unpackInt1.dummy,addBoolean.pkgOut[1].dummy,addBoolean.u[1],addBoolean.u_int[1],getBoolean.y[1],getBoolean.y_int[1],getBoolean.dummy,booleanPulse.pulseStart,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packInt1.pkgIn.autoPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,addBoolean.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 26 * If-equations: 0 * 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.001839/0.1379, allocations: 1.197 MB / 0.5111 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006342/0.1385, allocations: 315.5 kB / 0.5114 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1385, allocations: 1.5 kB / 0.5114 GB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002857/0.1388, allocations: 147.2 kB / 0.5115 GB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000604/0.1394, allocations: 85.48 kB / 0.5116 GB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004476/0.1439, allocations: 3.284 MB / 0.5148 GB, free: 10.7 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000549/0.1444, allocations: 0.8193 MB / 0.5156 GB, free: 9.855 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001869/0.1446, allocations: 50.94 kB / 0.5157 GB, free: 9.809 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001791/0.1448, allocations: 111.4 kB / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.1448, allocations: 0 / 0.5158 GB, free: 9.699 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02799/0.1728, allocations: 7.836 MB / 0.5234 GB, free: 2.062 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.022/9.195, allocations: 15.31 kB / 0.5234 GB, free: 2.051 MB / 382.1 MB " [Timeout remaining time 651] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.175310819991864] Failed to read output from testmodel.py, exit status != 0: 9.324021778011229 9.340339744 9.218001576 Calling exit ...