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.001276/0.001276, allocations: 76.55 kB / 19.96 MB, free: 4.598 MB / 18.57 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.001052/0.001052, allocations: 177.9 kB / 23.25 MB, free: 1.309 MB / 18.57 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 0.9872/0.9872, allocations: 177.1 MB / 203.6 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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.03837/0.03837, allocations: 9.14 MB / 269.1 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers_Blocks_Examples_TestSerialPackager",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.763e-06/1.763e-06, allocations: 0 / 397.1 MB, free: 68 kB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.481e-05, allocations: 2.281 kB / 397.1 MB, free: 64 kB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.00337/0.003385, allocations: 2.898 MB / 400 MB, free: 13.14 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.004943, allocations: 1.043 MB / 401 MB, free: 12.09 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000152/0.005095, allocations: 15.81 kB / 401 MB, free: 12.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002421/0.005337, allocations: 91.06 kB / 401.1 MB, free: 11.99 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.0055, allocations: 55.47 kB / 401.2 MB, free: 11.93 MB / 330.7 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.0006487/0.006149, allocations: 299 kB / 401.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003855/0.006534, allocations: 474.5 kB / 401.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002114/0.006745, allocations: 141 kB / 402.1 MB, free: 11.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002468/0.006992, allocations: 331.4 kB / 402.4 MB, free: 10.71 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.007284, allocations: 207.4 kB / 402.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.398e-05/0.007368, allocations: 56 kB / 402.6 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002286/0.007596, allocations: 131.9 kB / 402.8 MB, free: 10.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001804/0.007777, allocations: 191.5 kB / 402.9 MB, free: 10.14 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001679/0.007944, allocations: 159.6 kB / 403.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.008531, allocations: 0.7163 MB / 403.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.008534, allocations: 0 / 403.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.008535, allocations: 0 / 403.8 MB, free: 9.262 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.008543, allocations: 0 / 403.8 MB, free: 9.262 MB / 330.7 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.001494/0.01004, allocations: 1.202 MB / 405 MB, free: 7.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/0.01008, allocations: 12.03 kB / 405 MB, free: 7.969 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.778e-05/0.01015, allocations: 90.64 kB / 405.1 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.402e-05/0.01022, allocations: 48.66 kB / 405.2 MB, free: 7.824 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000541/0.01076, allocations: 277.8 kB / 405.4 MB, free: 7.523 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.074e-05/0.01079, allocations: 37.36 kB / 405.5 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.01083, allocations: 44.38 kB / 405.5 MB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005309/0.01136, allocations: 0.4988 MB / 406 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01138, allocations: 192 / 406 MB, free: 6.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.791e-05/0.0114, allocations: 24.11 kB / 406 MB, free: 6.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01141, allocations: 12 kB / 406.1 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003328/0.01175, allocations: 294.4 kB / 406.3 MB, free: 6.609 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001116/0.01286, allocations: 1.072 MB / 407.4 MB, free: 5.484 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004568/0.01332, allocations: 327.8 kB / 407.7 MB, free: 5.137 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001795/0.0135, allocations: 134.6 kB / 407.9 MB, free: 4.996 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.66e-05/0.01352, allocations: 4 kB / 407.9 MB, free: 4.992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002497/0.01377, allocations: 247.4 kB / 408.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of pre-optimization done (n=39): time 1.533e-06/0.01378, allocations: 0 / 408.1 MB, free: 4.727 MB / 330.7 MB Notification: Performance of matching and sorting (n=39): time 0.0007123/0.01449, allocations: 0.569 MB / 408.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.925e-05/0.01457, allocations: 135 kB / 408.8 MB, free: 3.996 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.01474, allocations: 227 kB / 409 MB, free: 3.762 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.01478, allocations: 45.69 kB / 409.1 MB, free: 3.711 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001258/0.0149, allocations: 221.2 kB / 409.3 MB, free: 3.488 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.01496, allocations: 91.38 kB / 409.4 MB, free: 3.398 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.01507, allocations: 126.1 kB / 409.5 MB, free: 3.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.01519, allocations: 342.8 kB / 409.8 MB, free: 2.926 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.01532, allocations: 108.9 kB / 409.9 MB, free: 2.816 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002146/0.01553, allocations: 308.9 kB / 410.3 MB, free: 2.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003818/0.01592, allocations: 459.6 kB / 410.7 MB, free: 1.895 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.01592, allocations: 4 kB / 410.7 MB, free: 1.891 MB / 330.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0004527/0.01637, allocations: 469.7 kB / 411.2 MB, free: 1.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.01639, allocations: 8 kB / 411.2 MB, free: 1.418 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.0164, allocations: 12 kB / 411.2 MB, free: 1.406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.01641, allocations: 8 kB / 411.2 MB, free: 1.398 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01655, allocations: 83.77 kB / 411.3 MB, free: 1.316 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.01656, allocations: 8 kB / 411.3 MB, free: 1.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001053/0.01667, allocations: 35.73 kB / 411.3 MB, free: 1.273 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.326e-05/0.01669, allocations: 27.98 kB / 411.3 MB, free: 1.246 MB / 330.7 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.0001829/0.01687, allocations: 242.1 kB / 411.6 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.0169, allocations: 39.78 kB / 411.6 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.507e-05/0.01694, allocations: 26.62 kB / 411.6 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.01694, allocations: 4 kB / 411.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.01695, allocations: 0 / 411.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01695, allocations: 0 / 411.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1603/0.1772, allocations: 0.8876 MB / 412.5 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.658e-06/0.1773, allocations: 0.875 kB / 412.5 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.24e-05/0.1773, allocations: 12.17 kB / 412.5 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.1774, allocations: 5.344 kB / 412.6 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.618e-05/0.1774, allocations: 11.91 kB / 412.6 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.1774, allocations: 1.766 kB / 412.6 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1774, allocations: 1.094 kB / 412.6 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006343/0.1781, allocations: 0.5766 MB / 413.1 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1781, allocations: 24.91 kB / 413.2 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.1781, allocations: 8.938 kB / 413.2 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.64e-05/0.1782, allocations: 12.62 kB / 413.2 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.459e-05/0.1783, allocations: 24.42 kB / 413.2 MB, free: 27.08 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.09e-05/0.1783, allocations: 22.2 kB / 413.2 MB, free: 27.08 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.999e-05/0.1784, allocations: 135.7 kB / 413.4 MB, free: 27 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1784, allocations: 1.156 kB / 413.4 MB, free: 27 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004361/0.1788, allocations: 137.6 kB / 413.5 MB, free: 27 MB / 330.7 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.0009445/0.1798, allocations: 1.223 MB / 414.7 MB, free: 26.32 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004417/0.1802, allocations: 323.8 kB / 415 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1802, allocations: 1.125 kB / 415 MB, free: 26.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001625/0.1804, allocations: 140.7 kB / 415.2 MB, free: 26.19 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.1807, allocations: 80.81 kB / 415.3 MB, free: 26.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002433/0.1832, allocations: 3.272 MB / 418.5 MB, free: 23.9 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.1833, allocations: 215 kB / 418.7 MB, free: 23.81 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001003/0.1834, allocations: 44.55 kB / 418.8 MB, free: 23.8 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.1835, allocations: 112.8 kB / 418.9 MB, free: 23.72 MB / 330.7 MB Notification: Performance of SimCode: time 4.81e-07/0.1835, allocations: 1.406 kB / 418.9 MB, free: 23.72 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02192/0.2054, allocations: 8.894 MB / 427.8 MB, free: 21.15 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.338/7.544, allocations: 5.344 kB / 427.8 MB, free: 21.15 MB / 330.7 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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_Blocks_Examples_TestSerialPackager.fmu > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.528653089888394] Failed to read output from testmodel.py, exit status != 0: 7.630327753722668 7.64129054 7.630556932 Calling exit ...