Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001898/0.001898, allocations: 79.97 kB / 20.56 MB, free: 1.242 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.002358/0.002358, allocations: 166.1 kB / 23.8 MB, free: 4.426 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.474/1.474, allocations: 177.2 MB / 204.2 MB, free: 8.98 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.06072/0.06072, allocations: 9.161 MB / 269.7 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.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 398 MB, free: 5.508 MB / 318.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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3625, allocations: 56.36 MB / 454.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager): time 0.005499/0.368, allocations: 2.953 MB / 457.3 MB, free: 11.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.3704, allocations: 1.056 MB / 458.4 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002298/0.3706, allocations: 18.94 kB / 458.4 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002978/0.3709, allocations: 66.42 kB / 458.5 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001965/0.3711, allocations: 45.81 kB / 458.5 MB, free: 10.62 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:100:9-107:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.resetPointer' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.resetPointer'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.3722, allocations: 303.7 kB / 458.8 MB, free: 10.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005223/0.3727, allocations: 403.8 kB / 459.2 MB, free: 10.28 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002714/0.373, allocations: 124.8 kB / 459.3 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000218/0.3732, allocations: 189 kB / 459.5 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003518/0.3736, allocations: 204.9 kB / 459.7 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.736e-05/0.3736, allocations: 43.12 kB / 459.8 MB, free: 10.02 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002985/0.3739, allocations: 141.1 kB / 459.9 MB, free: 9.977 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002068/0.3742, allocations: 138.5 kB / 460 MB, free: 9.902 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.3743, allocations: 153.5 kB / 460.2 MB, free: 9.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008817/0.3752, allocations: 0.5703 MB / 460.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3752, allocations: 0 / 460.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.3752, allocations: 0 / 460.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.458e-05/0.3753, allocations: 1.125 kB / 460.8 MB, free: 9.562 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.002117/0.3774, allocations: 1.146 MB / 461.9 MB, free: 8.707 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/0.3774, allocations: 14.53 kB / 461.9 MB, free: 8.703 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001439/0.3776, allocations: 41.83 kB / 462 MB, free: 8.684 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004095/0.378, allocations: 249.4 kB / 462.2 MB, free: 8.488 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.3781, allocations: 66.52 kB / 462.3 MB, free: 8.438 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.127e-05/0.3782, allocations: 37.16 kB / 462.3 MB, free: 8.426 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002308/0.3805, allocations: 1.295 MB / 463.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.3805, allocations: 0 / 463.6 MB, free: 7.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.623e-05/0.3805, allocations: 12.62 kB / 463.6 MB, free: 7.746 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.3806, allocations: 17.39 kB / 463.6 MB, free: 7.738 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005217/0.3811, allocations: 250.9 kB / 463.9 MB, free: 7.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007508/0.3818, allocations: 0.6504 MB / 464.5 MB, free: 7.102 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001404/0.3832, allocations: 0.7089 MB / 465.2 MB, free: 6.766 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007007/0.3839, allocations: 393.3 kB / 465.6 MB, free: 6.598 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000119/0.3841, allocations: 30.27 kB / 465.7 MB, free: 6.594 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001615/0.3842, allocations: 105.3 kB / 465.8 MB, free: 6.492 MB / 366.1 MB Notification: Performance of pre-optimization done (n=84): time 3.066e-06/0.3842, allocations: 4 kB / 465.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of matching and sorting (n=84): time 0.001701/0.3859, allocations: 0.7856 MB / 466.5 MB, free: 6.191 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.3861, allocations: 208.7 kB / 466.8 MB, free: 5.977 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002004/0.3863, allocations: 204.9 kB / 467 MB, free: 5.828 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.3863, allocations: 41.83 kB / 467 MB, free: 5.785 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.025e-05/0.3864, allocations: 142.8 kB / 467.1 MB, free: 5.656 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.913e-05/0.3865, allocations: 57.81 kB / 467.2 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3866, allocations: 136.3 kB / 467.3 MB, free: 5.559 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.725e-05/0.3867, allocations: 348.7 kB / 467.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.3869, allocations: 111.5 kB / 467.8 MB, free: 5.195 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.3873, allocations: 0.6149 MB / 468.4 MB, free: 4.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/0.388, allocations: 0.7816 MB / 469.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.169e-05/0.388, allocations: 5.812 kB / 469.2 MB, free: 3.625 MB / 366.1 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001049/0.389, allocations: 0.671 MB / 469.8 MB, free: 3.332 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.313e-05/0.3891, allocations: 12.59 kB / 469.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.3891, allocations: 17.94 kB / 469.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-05/0.3892, allocations: 24.59 kB / 469.9 MB, free: 3.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004673/0.3896, allocations: 154.9 kB / 470 MB, free: 3.312 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.229e-05/0.3897, allocations: 35.98 kB / 470.1 MB, free: 3.305 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003966/0.3901, allocations: 72.66 kB / 470.2 MB, free: 3.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.912e-05/0.3901, allocations: 45.02 kB / 470.2 MB, free: 3.258 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 83 * Number of states: 0 () * Number of discrete variables: 63 ($whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,sample4.u,integerExpression1.y,integerExpression2.y,integerExpression.y,getBoolean.y_int[1],getBoolean.y[1],getBoolean.pkgIn.autoPkgBitSize,getBoolean.pkgIn.userPkgBitSize,sample4.y,addBoolean.u_int[1],addBoolean.u[1],addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgIn.userPkgBitSize,sample3.y,sample2.y,sample1.y,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgIn.userPkgBitSize,getInteger.y[1],getInteger.pkgOut[1].autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,addInteger.u[1],addInteger.pkgOut[1].autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgIn.userPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003492/0.3905, allocations: 271.2 kB / 470.5 MB, free: 3.051 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/0.3915, allocations: 0.5378 MB / 471 MB, free: 2.832 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001138/0.3927, allocations: 0.6007 MB / 471.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/0.3927, allocations: 9.469 kB / 471.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.025e-05/0.3927, allocations: 1.875 kB / 471.6 MB, free: 2.574 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.507e-05/0.3927, allocations: 8.766 kB / 471.6 MB, free: 2.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.393, allocations: 230.8 kB / 471.8 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/0.393, allocations: 3.828 kB / 471.9 MB, free: 2.387 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.3935, allocations: 127 kB / 472 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.167e-06/0.3935, allocations: 5.25 kB / 472 MB, free: 2.367 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/0.3935, allocations: 20.41 kB / 472 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.805e-06/0.3935, allocations: 9.438 kB / 472 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.3935, allocations: 0.5625 kB / 472 MB, free: 2.352 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001096/0.3946, allocations: 0.6677 MB / 472.7 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.864e-05/0.3947, allocations: 51.17 kB / 472.7 MB, free: 2.008 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.96e-05/0.3948, allocations: 17.78 kB / 472.7 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.3949, allocations: 21.28 kB / 472.8 MB, free: 1.984 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.125e-05/0.395, allocations: 16.47 kB / 472.8 MB, free: 1.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-05/0.3951, allocations: 32.89 kB / 472.8 MB, free: 1.965 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001332/0.3952, allocations: 124.6 kB / 472.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3952, allocations: 1.344 kB / 472.9 MB, free: 1.879 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008004/0.396, allocations: 123.5 kB / 473.1 MB, free: 1.84 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 62 ($whenCondition1,sample4.u,booleanPulse.pulseStart,integerExpression1.y,integerExpression2.y,integerExpression.y,$cse1,$cse2,$cse3,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,addInteger.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].userPkgBitSize,addInteger.pkgOut[1].autoPkgBitSize,addInteger.u[1],packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,resetPointer.pkgIn.userPkgBitSize,resetPointer.pkgIn.autoPkgBitSize,resetPointer.pkgOut[1].userPkgBitSize,resetPointer.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.userPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].userPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.pkgOut[1].userPkgBitSize,getInteger.pkgOut[1].autoPkgBitSize,getInteger.y[1],unpackInt1.pkgIn.userPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].userPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,sample1.y,sample2.y,sample3.y,addBoolean.pkgIn.userPkgBitSize,addBoolean.pkgIn.autoPkgBitSize,addBoolean.pkgOut[1].userPkgBitSize,addBoolean.pkgOut[1].autoPkgBitSize,addBoolean.u[1],addBoolean.u_int[1],sample4.y,getBoolean.pkgIn.userPkgBitSize,getBoolean.pkgIn.autoPkgBitSize,getBoolean.y[1],getBoolean.y_int[1]) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize) * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006279/0.3966, allocations: 256.5 kB / 473.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.3978, allocations: 0.5122 MB / 473.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.3978, allocations: 0 / 473.8 MB, free: 1.496 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.346e-05/0.3979, allocations: 26.45 kB / 473.8 MB, free: 1.488 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001654/0.3995, allocations: 1.233 MB / 475.1 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.4011, allocations: 0.8524 MB / 475.9 MB, free: 52 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000338/0.4015, allocations: 254.3 kB / 476.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001542/0.4016, allocations: 47.25 kB / 476.2 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4017, allocations: 37.61 kB / 476.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.032e-06/0.4017, allocations: 5.25 kB / 476.3 MB, free: 15.93 MB / 382.1 MB Notification: Performance of Templates: time 0.01649/0.4182, allocations: 6.806 MB / 483.1 MB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.051928058033809] Failed to read output from testmodel.py, exit status != 0: 0.42784776201006025 0.45291660699999997 0.072569195 Calling exit ...