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.001758/0.001758, allocations: 93.91 kB / 20.52 MB, free: 1.328 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.002154/0.002154, allocations: 216.5 kB / 23.82 MB, free: 4.48 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.592/1.592, allocations: 230.6 MB / 257.6 MB, free: 7.797 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.1247/0.1247, allocations: 12.22 MB / 326.2 MB, free: 7.039 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.00219/0.00219, allocations: 63.89 kB / 454.1 MB, free: 8.832 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.119/0.1212, allocations: 56.39 MB / 0.4985 GB, free: 348 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.005274/0.1265, allocations: 2.886 MB / 0.5013 GB, free: 13.44 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002055/0.1286, allocations: 1.055 MB / 0.5024 GB, free: 12.38 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.1288, allocations: 15.88 kB / 0.5024 GB, free: 12.36 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000341/0.1291, allocations: 71.22 kB / 0.5024 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002425/0.1294, allocations: 67.38 kB / 0.5025 GB, free: 12.23 MB / 382.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.0009127/0.1303, allocations: 287.4 kB / 0.5028 GB, free: 11.95 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007879/0.1311, allocations: 462.9 kB / 0.5032 GB, free: 11.49 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.1314, allocations: 144.9 kB / 0.5034 GB, free: 11.34 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004427/0.1319, allocations: 235.2 kB / 0.5036 GB, free: 11.11 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006077/0.1325, allocations: 278.8 kB / 0.5039 GB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001688/0.1327, allocations: 56 kB / 0.5039 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000415/0.1331, allocations: 139.9 kB / 0.504 GB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003217/0.1334, allocations: 179.6 kB / 0.5042 GB, free: 10.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003218/0.1337, allocations: 199 kB / 0.5044 GB, free: 10.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.1349, allocations: 0.6886 MB / 0.5051 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.1349, allocations: 0 / 0.5051 GB, free: 9.586 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.1349, allocations: 0 / 0.5051 GB, free: 9.586 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.647e-05/0.1349, allocations: 0 / 0.5051 GB, free: 9.586 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.002552/0.1374, allocations: 1.205 MB / 0.5063 GB, free: 8.297 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/0.1375, allocations: 8.031 kB / 0.5063 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.963e-05/0.1375, allocations: 17.19 kB / 0.5063 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.1376, allocations: 82.7 kB / 0.5064 GB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001148/0.1377, allocations: 60.59 kB / 0.5064 GB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004239/0.1382, allocations: 270.6 kB / 0.5067 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.913e-05/0.1382, allocations: 37.3 kB / 0.5067 GB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.352e-05/0.1383, allocations: 52.36 kB / 0.5068 GB, free: 7.742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/0.1393, allocations: 0.5059 MB / 0.5072 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.1393, allocations: 0 / 0.5072 GB, free: 7.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.63e-05/0.1394, allocations: 23.98 kB / 0.5073 GB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1394, allocations: 8 kB / 0.5073 GB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006478/0.1401, allocations: 294.4 kB / 0.5076 GB, free: 6.906 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001989/0.1421, allocations: 1.076 MB / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007813/0.1428, allocations: 335.9 kB / 0.5089 GB, free: 5.426 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.1431, allocations: 138.6 kB / 0.5091 GB, free: 5.281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.042e-05/0.1431, allocations: 8 kB / 0.5091 GB, free: 5.273 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004194/0.1435, allocations: 242.7 kB / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of pre-optimization done (n=39): time 2.274e-06/0.1435, allocations: 0 / 0.5093 GB, free: 5.012 MB / 382.1 MB Notification: Performance of matching and sorting (n=39): time 0.001133/0.1447, allocations: 0.5673 MB / 0.5099 GB, free: 4.438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1448, allocations: 131.1 kB / 0.51 GB, free: 4.285 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002602/0.145, allocations: 231 kB / 0.5102 GB, free: 4.047 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.1451, allocations: 45.64 kB / 0.5102 GB, free: 3.996 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.1453, allocations: 221.2 kB / 0.5105 GB, free: 3.777 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.925e-05/0.1454, allocations: 91.36 kB / 0.5105 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.1455, allocations: 126.1 kB / 0.5107 GB, free: 3.555 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.1457, allocations: 342.8 kB / 0.511 GB, free: 3.211 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.1459, allocations: 108.9 kB / 0.5111 GB, free: 3.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003588/0.1463, allocations: 301 kB / 0.5114 GB, free: 2.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006396/0.1469, allocations: 463.6 kB / 0.5118 GB, free: 2.188 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.835e-06/0.1469, allocations: 4 kB / 0.5118 GB, free: 2.184 MB / 382.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007742/0.1477, allocations: 457.5 kB / 0.5123 GB, free: 1.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.1477, allocations: 12 kB / 0.5123 GB, free: 1.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1477, allocations: 7.938 kB / 0.5123 GB, free: 1.711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.1478, allocations: 12 kB / 0.5123 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002669/0.148, allocations: 75.83 kB / 0.5124 GB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.685e-05/0.148, allocations: 11.94 kB / 0.5124 GB, free: 1.613 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/0.1483, allocations: 43.77 kB / 0.5124 GB, free: 1.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.567e-05/0.1483, allocations: 20 kB / 0.5124 GB, free: 1.551 MB / 382.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.0003292/0.1486, allocations: 253.8 kB / 0.5127 GB, free: 1.293 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.1487, allocations: 27.81 kB / 0.5127 GB, free: 1.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.043e-05/0.1487, allocations: 22.64 kB / 0.5127 GB, free: 1.238 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1488, allocations: 4 kB / 0.5127 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.105e-06/0.1488, allocations: 0 / 0.5127 GB, free: 1.234 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.676e-06/0.1488, allocations: 7.984 kB / 0.5127 GB, free: 1.227 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00136/0.1501, allocations: 0.884 MB / 0.5136 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1501, allocations: 0 / 0.5136 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.1502, allocations: 19.92 kB / 0.5136 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.1502, allocations: 4 kB / 0.5136 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.896e-05/0.1502, allocations: 7.984 kB / 0.5136 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.192e-06/0.1502, allocations: 8 kB / 0.5136 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1502, allocations: 0 / 0.5136 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2221/0.3724, allocations: 0.5789 MB / 0.5142 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.3724, allocations: 26.27 kB / 0.5142 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.651e-05/0.3725, allocations: 11.52 kB / 0.5142 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001917/0.3727, allocations: 11.03 kB / 0.5143 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.939e-05/0.3728, allocations: 26.92 kB / 0.5143 GB, free: 21.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.3728, allocations: 18.11 kB / 0.5143 GB, free: 21.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001006/0.3729, allocations: 134.8 kB / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3729, allocations: 0 / 0.5144 GB, free: 21.28 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006486/0.3735, allocations: 143.5 kB / 0.5146 GB, free: 21.28 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.001137/0.3747, allocations: 1.212 MB / 0.5157 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005338/0.3752, allocations: 323 kB / 0.5161 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3752, allocations: 0.5312 kB / 0.5161 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002466/0.3755, allocations: 151.4 kB / 0.5162 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005499/0.376, allocations: 84.09 kB / 0.5163 GB, free: 20.6 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003438/0.3794, allocations: 3.255 MB / 0.5195 GB, free: 18.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.3796, allocations: 214.7 kB / 0.5197 GB, free: 18.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001487/0.3798, allocations: 45.39 kB / 0.5197 GB, free: 18.64 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.3799, allocations: 114.6 kB / 0.5198 GB, free: 18.63 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.3799, allocations: 2.594 kB / 0.5198 GB, free: 18.63 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.4153, allocations: 8.397 MB / 0.528 GB, free: 17.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.68/13.1, allocations: 13.17 kB / 0.528 GB, free: 17.55 MB / 382.1 MB " [Timeout remaining time 647] (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: 16.06863308500033] Failed to read output from testmodel.py, exit status != 0: 13.275987833971158 13.2978373 13.158898605 Calling exit ...