Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.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.0009677/0.0009677, allocations: 80.2 kB / 20.7 MB, free: 3.801 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.00102/0.00102, allocations: 169 kB / 24.09 MB, free: 416 kB / 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.9856/0.9856, allocations: 177.1 MB / 204.5 MB, free: 5.168 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.03898/0.03898, allocations: 9.155 MB / 270.2 MB, free: 3.977 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: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 343 MB, free: 7.02 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.588e-05/1.768e-05, allocations: 2.312 kB / 343 MB, free: 7.016 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.002975/0.002992, allocations: 2.957 MB / 346 MB, free: 4.043 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.004014, allocations: 0.7393 MB / 346.7 MB, free: 3.301 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001271/0.004141, allocations: 11.88 kB / 346.7 MB, free: 3.289 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002139/0.004355, allocations: 71.31 kB / 346.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001524/0.004507, allocations: 51.47 kB / 346.8 MB, free: 3.168 MB / 266.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:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/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/Communication.mo:1206:7-1215:28:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.writeSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.write'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1196:7-1204:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readSharedMemory' contains a call to impure function 'Modelica_DeviceDrivers.Communication.SharedMemory_.read'. Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.005035, allocations: 239.1 kB / 347.1 MB, free: 2.934 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002377/0.005273, allocations: 323.1 kB / 347.4 MB, free: 2.617 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001738/0.005446, allocations: 101.8 kB / 347.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.0056, allocations: 227.5 kB / 347.7 MB, free: 2.289 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.005745, allocations: 139.5 kB / 347.8 MB, free: 2.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.532e-05/0.00578, allocations: 36 kB / 347.9 MB, free: 2.117 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000173/0.005953, allocations: 147.8 kB / 348 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.583e-05/0.006029, allocations: 119.6 kB / 348.1 MB, free: 1.855 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.506e-05/0.006094, allocations: 111.7 kB / 348.2 MB, free: 1.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.006405, allocations: 402.4 kB / 348.6 MB, free: 1.352 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.234e-06/0.006408, allocations: 4 kB / 348.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.006408, allocations: 0 / 348.6 MB, free: 1.348 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.006414, allocations: 0 / 348.6 MB, free: 1.348 MB / 266.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getReal.pkgOut[1].pkg = getInteger.pkgIn.pkg sharedMemoryRead.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = sharedMemoryWrite.pkgIn.pkg addReal.pkgOut[1].pkg = addInteger.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007698/0.007184, allocations: 0.9127 MB / 349.6 MB, free: 380 kB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.007221, allocations: 8.031 kB / 349.6 MB, free: 372 kB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.493e-05/0.007295, allocations: 68.69 kB / 349.6 MB, free: 304 kB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.007453, allocations: 224 kB / 349.8 MB, free: 52 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.007477, allocations: 29.02 kB / 349.9 MB, free: 24 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.375e-05/0.007521, allocations: 36.45 kB / 349.9 MB, free: 15.98 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.00784, allocations: 320.3 kB / 350.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.007851, allocations: 192 / 350.2 MB, free: 15.64 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.007873, allocations: 20.31 kB / 350.2 MB, free: 15.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.05e-05/0.007883, allocations: 12.38 kB / 350.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.008005, allocations: 95.28 kB / 350.3 MB, free: 15.52 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009589/0.008964, allocations: 1.422 MB / 351.8 MB, free: 14.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.009184, allocations: 211.5 kB / 352 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.009256, allocations: 86.28 kB / 352.1 MB, free: 13.66 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.6e-05/0.009292, allocations: 19.94 kB / 352.1 MB, free: 13.64 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.009482, allocations: 192.8 kB / 352.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.733e-06/0.009484, allocations: 0 / 352.3 MB, free: 13.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0004624/0.009946, allocations: 335.4 kB / 352.6 MB, free: 13.08 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.419e-05/0.01003, allocations: 174.2 kB / 352.8 MB, free: 12.87 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/0.01021, allocations: 279.4 kB / 353 MB, free: 12.58 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.268e-05/0.01024, allocations: 45.69 kB / 353.1 MB, free: 12.53 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001085/0.01035, allocations: 219.7 kB / 353.3 MB, free: 12.31 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.406e-05/0.01041, allocations: 99.47 kB / 353.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/0.01053, allocations: 127.7 kB / 353.5 MB, free: 12.08 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.01067, allocations: 0.5234 MB / 354 MB, free: 11.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.995e-05/0.01073, allocations: 40.95 kB / 354.1 MB, free: 11.51 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000161/0.01089, allocations: 273.4 kB / 354.4 MB, free: 11.14 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.01115, allocations: 360.3 kB / 354.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01115, allocations: 0 / 354.7 MB, free: 10.69 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003452/0.01149, allocations: 329.4 kB / 355 MB, free: 10.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.01151, allocations: 8 kB / 355 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.01152, allocations: 4 kB / 355 MB, free: 10.35 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.01153, allocations: 8 kB / 355 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.01168, allocations: 83.77 kB / 355.1 MB, free: 10.26 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.01169, allocations: 8 kB / 355.1 MB, free: 10.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.714e-05/0.01179, allocations: 35.73 kB / 355.2 MB, free: 10.21 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.01181, allocations: 20 kB / 355.2 MB, free: 10.2 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 50 (sharedMemoryRead.pkgOut.dummy,$PRE.sharedMemoryRead.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,sharedMemoryWrite.dummy,$PRE.sharedMemoryWrite.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,addInteger.u[1],sharedMemoryRead.internalTrigger,sharedMemoryWrite.internalTrigger,getInteger.pkgIn.backwardTrigger,getInteger.pkgIn.userPkgBitSize,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,enable.y,sharedMemoryRead.bufferSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,sharedMemoryWrite.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 58 * 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.0001391/0.01195, allocations: 229.8 kB / 355.4 MB, free: 9.961 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.01199, allocations: 39.84 kB / 355.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.01223, allocations: 201.8 kB / 355.6 MB, free: 9.715 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.01223, allocations: 4 kB / 355.7 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.01224, allocations: 4 kB / 355.7 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.01224, allocations: 3.984 kB / 355.7 MB, free: 9.703 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.01275, allocations: 0.5617 MB / 356.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.01276, allocations: 0 / 356.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.415e-05/0.01279, allocations: 19.98 kB / 356.2 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.01279, allocations: 4 kB / 356.2 MB, free: 9.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.01281, allocations: 7.984 kB / 356.3 MB, free: 9.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.01281, allocations: 4 kB / 356.3 MB, free: 9.074 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.01282, allocations: 3.938 kB / 356.3 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003504/0.01317, allocations: 473.1 kB / 356.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01319, allocations: 27.78 kB / 356.8 MB, free: 8.547 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.334e-05/0.01321, allocations: 8 kB / 356.8 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.764e-05/0.01327, allocations: 11.92 kB / 356.8 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.0133, allocations: 23.84 kB / 356.8 MB, free: 8.504 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.931e-05/0.01332, allocations: 24.05 kB / 356.8 MB, free: 8.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.218e-05/0.01339, allocations: 164.5 kB / 357 MB, free: 8.32 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01339, allocations: 0 / 357 MB, free: 8.32 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003286/0.01371, allocations: 123.6 kB / 357.1 MB, free: 8.199 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 30 (sharedMemoryWrite.internalTrigger,sharedMemoryRead.internalTrigger,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,sharedMemoryRead.bufferSize,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],sharedMemoryWrite.bufferSize,sharedMemoryWrite.dummy,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,sharedMemoryRead.pkgOut.dummy,zeroCrossing1.u_pos,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,sharedMemoryWrite.pkgIn.userPkgBitSize,sharedMemoryWrite.pkgIn.autoPkgBitSize) * Number of discrete states: 1 (zeroCrossing1.u_pos) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 18 * 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.0004936/0.01421, allocations: 339.4 kB / 357.4 MB, free: 7.93 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000239/0.01445, allocations: 204.2 kB / 357.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.01445, allocations: 0 / 357.6 MB, free: 7.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.606e-05/0.01453, allocations: 84.88 kB / 357.7 MB, free: 7.641 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.0148, allocations: 56.66 kB / 357.8 MB, free: 7.59 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005387/0.01534, allocations: 0.5253 MB / 358.3 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.05e-05/0.0154, allocations: 108.9 kB / 358.4 MB, free: 6.891 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.788e-05/0.01547, allocations: 34.95 kB / 358.4 MB, free: 6.859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.01557, allocations: 110.2 kB / 358.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01557, allocations: 0 / 358.5 MB, free: 6.75 MB / 282.7 MB Notification: Performance of Templates: time 0.006509/0.02208, allocations: 4.821 MB / 363.4 MB, free: 2.035 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.makefile [Timeout 660] (rm -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; mkfifo Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe ; head -c 1048576 < Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe >> ../files/Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.sim & ./Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.975759002380073]