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.001339/0.001339, allocations: 70.75 kB / 19.97 MB, free: 1.73 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.001462/0.001462, allocations: 172.5 kB / 23.26 MB, free: 4.855 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.417/1.417, allocations: 177.1 MB / 203.6 MB, free: 9.168 MB / 190.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.09776/0.09776, allocations: 9.168 MB / 269.1 MB, free: 7.898 MB / 254.1 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: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.303e-06/1.303e-06, allocations: 0 / 397.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.961e-05, allocations: 6.281 kB / 397.6 MB, free: 5.266 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager): time 0.004349/0.004369, allocations: 2.891 MB / 400.5 MB, free: 2.355 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001868/0.006237, allocations: 1.051 MB / 401.5 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001124/0.006349, allocations: 15.88 kB / 401.5 MB, free: 1.281 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002533/0.006603, allocations: 75.2 kB / 401.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.006787, allocations: 67.27 kB / 401.7 MB, free: 1.141 MB / 318.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.0007207/0.007508, allocations: 291 kB / 401.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005561/0.008064, allocations: 474.5 kB / 402.4 MB, free: 400 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002655/0.008329, allocations: 141 kB / 402.5 MB, free: 256 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.008708, allocations: 331.4 kB / 402.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.008994, allocations: 207.4 kB / 403.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.536e-05/0.009079, allocations: 52 kB / 403.1 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002246/0.009304, allocations: 147.7 kB / 403.3 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.009517, allocations: 183.5 kB / 403.4 MB, free: 15.35 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001839/0.009701, allocations: 155.6 kB / 403.6 MB, free: 15.2 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007798/0.01048, allocations: 0.7164 MB / 404.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01048, allocations: 0 / 404.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.32e-07/0.01048, allocations: 0 / 404.3 MB, free: 14.48 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.01049, allocations: 4 kB / 404.3 MB, free: 14.47 MB / 334.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.001928/0.01242, allocations: 1.202 MB / 405.5 MB, free: 13.19 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.094e-05/0.01245, allocations: 8.031 kB / 405.5 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.01256, allocations: 48.66 kB / 405.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.01296, allocations: 273.9 kB / 405.8 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.01302, allocations: 33.38 kB / 405.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.61e-05/0.01309, allocations: 52.36 kB / 405.9 MB, free: 12.76 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000858/0.01395, allocations: 0.4948 MB / 406.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.01396, allocations: 192 / 406.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.508e-05/0.01402, allocations: 28.36 kB / 406.5 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.01404, allocations: 19.92 kB / 406.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005396/0.01457, allocations: 294.4 kB / 406.8 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.01606, allocations: 0.9518 MB / 407.7 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007853/0.01685, allocations: 327.8 kB / 408 MB, free: 10.57 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002217/0.01707, allocations: 135.3 kB / 408.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.0171, allocations: 8 kB / 408.2 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.0175, allocations: 263.3 kB / 408.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.853e-06/0.0175, allocations: 0 / 408.4 MB, free: 10.14 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.00109/0.01859, allocations: 0.5719 MB / 409 MB, free: 9.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.806e-05/0.01869, allocations: 131 kB / 409.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002432/0.01893, allocations: 234.9 kB / 409.4 MB, free: 9.172 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.77e-05/0.01898, allocations: 45.69 kB / 409.4 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.01914, allocations: 225.2 kB / 409.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.164e-05/0.01923, allocations: 87.38 kB / 409.7 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.0194, allocations: 134.1 kB / 409.8 MB, free: 8.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.01955, allocations: 338.8 kB / 410.2 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/0.01977, allocations: 104.9 kB / 410.3 MB, free: 8.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.02013, allocations: 310.3 kB / 410.6 MB, free: 7.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005957/0.02072, allocations: 455.6 kB / 411 MB, free: 7.309 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.02073, allocations: 4 kB / 411 MB, free: 7.305 MB / 334.1 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.000738/0.02146, allocations: 457 kB / 411.5 MB, free: 6.852 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.855e-05/0.02148, allocations: 7.938 kB / 411.5 MB, free: 6.844 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02149, allocations: 8 kB / 411.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.02151, allocations: 8 kB / 411.5 MB, free: 6.828 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.02177, allocations: 75.84 kB / 411.6 MB, free: 6.754 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.75e-05/0.02179, allocations: 15.92 kB / 411.6 MB, free: 6.738 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.022, allocations: 40.27 kB / 411.6 MB, free: 6.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.595e-05/0.02203, allocations: 31.98 kB / 411.7 MB, free: 6.668 MB / 334.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.0002755/0.02231, allocations: 241.9 kB / 411.9 MB, free: 6.422 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.24e-05/0.02236, allocations: 27.86 kB / 411.9 MB, free: 6.395 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.642e-05/0.02242, allocations: 26.58 kB / 411.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.02242, allocations: 4 kB / 411.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.02243, allocations: 4 kB / 412 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.02243, allocations: 0 / 412 MB, free: 6.359 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001173/0.0236, allocations: 0.7791 MB / 412.7 MB, free: 5.543 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.02361, allocations: 7.938 kB / 412.7 MB, free: 5.535 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.42e-05/0.02366, allocations: 8 kB / 412.7 MB, free: 5.527 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.02367, allocations: 4 kB / 412.7 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.0237, allocations: 19.91 kB / 412.8 MB, free: 5.504 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.791e-06/0.02371, allocations: 4.391 kB / 412.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.02371, allocations: 0 / 412.8 MB, free: 5.5 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008361/0.02454, allocations: 0.5676 MB / 413.3 MB, free: 4.914 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.676e-05/0.02458, allocations: 31.73 kB / 413.4 MB, free: 4.883 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.55e-05/0.02463, allocations: 11.98 kB / 413.4 MB, free: 4.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.02478, allocations: 11.98 kB / 413.4 MB, free: 4.859 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.183e-05/0.02486, allocations: 27.94 kB / 413.4 MB, free: 4.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.248e-05/0.02489, allocations: 19.98 kB / 413.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001125/0.02501, allocations: 136.1 kB / 413.6 MB, free: 4.68 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.02501, allocations: 3.938 kB / 413.6 MB, free: 4.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005058/0.02551, allocations: 139.5 kB / 413.7 MB, free: 4.539 MB / 334.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.008408/0.03392, allocations: 219.2 kB / 413.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007667/0.03469, allocations: 323.5 kB / 414.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.03469, allocations: 1.5 kB / 414.2 MB, free: 4.012 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003088/0.035, allocations: 143.8 kB / 414.4 MB, free: 3.871 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006005/0.0356, allocations: 86.55 kB / 414.5 MB, free: 3.789 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001415/0.03701, allocations: 0.6857 MB / 415.2 MB, free: 3.07 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.03728, allocations: 215.2 kB / 415.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.03742, allocations: 46.95 kB / 415.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.848e-05/0.03749, allocations: 24.5 kB / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of SimCode: time 3.11e-07/0.03749, allocations: 0 / 415.4 MB, free: 2.77 MB / 334.1 MB Notification: Performance of Templates: time 0.01102/0.04851, allocations: 5.055 MB / 420.5 MB, free: 13.79 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.makefile [Timeout 660] (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 & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.4573481641709805] Failed to read output from testmodel.py, exit status != 0: 0.05660746619105339 0.071214493 0.057711546 Calling exit ...