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.002283/0.002283, allocations: 88.98 kB / 20.25 MB, free: 4.176 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.002723/0.002723, allocations: 165.6 kB / 23.57 MB, free: 0.8555 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 1.555/1.555, allocations: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 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.06811/0.06811, allocations: 9.156 MB / 269.5 MB, free: 4.27 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.924e-06/1.924e-06, allocations: 0 / 341.8 MB, free: 7.648 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.038e-05/3.23e-05, allocations: 10.31 kB / 341.8 MB, free: 7.637 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.005253/0.005285, allocations: 2.93 MB / 344.7 MB, free: 4.691 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.007099, allocations: 0.7432 MB / 345.5 MB, free: 3.945 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.007266, allocations: 11.88 kB / 345.5 MB, free: 3.934 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003628/0.007629, allocations: 75.27 kB / 345.6 MB, free: 3.859 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.007897, allocations: 47.53 kB / 345.6 MB, free: 3.812 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.0008942/0.008791, allocations: 231.1 kB / 345.8 MB, free: 3.586 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.00917, allocations: 331.1 kB / 346.2 MB, free: 3.262 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002833/0.009454, allocations: 113.7 kB / 346.3 MB, free: 3.145 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002494/0.009703, allocations: 219.5 kB / 346.5 MB, free: 2.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.009959, allocations: 143.5 kB / 346.6 MB, free: 2.789 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.597e-05/0.01002, allocations: 36 kB / 346.7 MB, free: 2.754 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002638/0.01029, allocations: 155.7 kB / 346.8 MB, free: 2.602 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.01042, allocations: 115.6 kB / 346.9 MB, free: 2.488 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001401/0.01056, allocations: 111.7 kB / 347 MB, free: 2.379 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006971/0.01126, allocations: 0.5372 MB / 347.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.01126, allocations: 0 / 347.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01126, allocations: 0 / 347.6 MB, free: 1.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.01127, allocations: 0 / 347.6 MB, free: 1.84 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.001528/0.0128, allocations: 0.901 MB / 348.5 MB, free: 0.875 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.01284, allocations: 8.031 kB / 348.5 MB, free: 0.8672 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.013, allocations: 68.69 kB / 348.6 MB, free: 0.8008 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.01335, allocations: 235.9 kB / 348.8 MB, free: 0.543 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.327e-05/0.01339, allocations: 33.02 kB / 348.8 MB, free: 0.5117 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.127e-05/0.01346, allocations: 32.38 kB / 348.8 MB, free: 492 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008013/0.01426, allocations: 399.7 kB / 349.2 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/0.01427, allocations: 192 / 349.2 MB, free: 60 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.394e-05/0.01432, allocations: 16.36 kB / 349.3 MB, free: 44 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.01433, allocations: 8.375 kB / 349.3 MB, free: 36 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006529/0.01498, allocations: 194.8 kB / 349.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002965/0.01795, allocations: 1.48 MB / 350.9 MB, free: 14.3 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009651/0.01891, allocations: 299.5 kB / 351.2 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004015/0.01931, allocations: 130.3 kB / 351.4 MB, free: 13.8 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.426e-05/0.01937, allocations: 7.984 kB / 351.4 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006867/0.02005, allocations: 244.8 kB / 351.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 3.036e-06/0.02006, allocations: 0 / 351.6 MB, free: 13.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.001935/0.02199, allocations: 457.6 kB / 352 MB, free: 13.05 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002663/0.02226, allocations: 178.1 kB / 352.2 MB, free: 12.84 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005938/0.02285, allocations: 291.6 kB / 352.5 MB, free: 12.54 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.02294, allocations: 41.94 kB / 352.5 MB, free: 12.5 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003061/0.02325, allocations: 227.6 kB / 352.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.02345, allocations: 95.3 kB / 352.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000339/0.02379, allocations: 123.8 kB / 353 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0004481/0.02424, allocations: 0.5157 MB / 353.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003929/0.02464, allocations: 92.94 kB / 353.6 MB, free: 11.43 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007591/0.02539, allocations: 325.4 kB / 353.9 MB, free: 11.01 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001272/0.02667, allocations: 444.1 kB / 354.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.286e-06/0.02667, allocations: 0 / 354.3 MB, free: 10.47 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001562/0.02824, allocations: 425 kB / 354.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/0.02827, allocations: 4 kB / 354.8 MB, free: 10.05 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.167e-05/0.02829, allocations: 8 kB / 354.8 MB, free: 10.04 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.418e-05/0.02834, allocations: 11.98 kB / 354.8 MB, free: 10.03 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005224/0.02886, allocations: 75.84 kB / 354.9 MB, free: 9.953 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.729e-05/0.02889, allocations: 11.94 kB / 354.9 MB, free: 9.941 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003421/0.02923, allocations: 39.73 kB / 354.9 MB, free: 9.902 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.006e-05/0.0293, allocations: 28.33 kB / 354.9 MB, free: 9.875 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,enable.y,zeroCrossing1.enable,$PRE.zeroCrossing1.enable,zeroCrossing1.disable,$PRE.zeroCrossing1.disable,zeroCrossing1.u_pos,$PRE.zeroCrossing1.u_pos,getReal.pkgOut[1].trigger,addInteger.pkgOut[1].trigger,$whenCondition1,$whenCondition2,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,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.000521/0.02982, allocations: 249.8 kB / 355.2 MB, free: 9.621 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000154/0.02997, allocations: 39.84 kB / 355.2 MB, free: 9.582 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001045/0.03102, allocations: 272.7 kB / 355.5 MB, free: 9.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.218e-05/0.03103, allocations: 4 kB / 355.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/0.03104, allocations: 0 / 355.5 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.03105, allocations: 11.94 kB / 355.5 MB, free: 9.289 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/0.03309, allocations: 0.6909 MB / 356.2 MB, free: 8.559 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/0.03311, allocations: 4 kB / 356.2 MB, free: 8.555 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001074/0.03321, allocations: 11.94 kB / 356.2 MB, free: 8.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.176e-05/0.03323, allocations: 4 kB / 356.2 MB, free: 8.539 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.088e-05/0.03328, allocations: 11.98 kB / 356.2 MB, free: 8.527 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.261e-05/0.03329, allocations: 7.922 kB / 356.2 MB, free: 8.52 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/0.0333, allocations: 4 kB / 356.2 MB, free: 8.516 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001498/0.0348, allocations: 0.544 MB / 356.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.03486, allocations: 23.8 kB / 356.8 MB, free: 7.914 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.584e-05/0.03493, allocations: 11.98 kB / 356.8 MB, free: 7.902 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/0.03515, allocations: 11.94 kB / 356.8 MB, free: 7.891 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.03527, allocations: 27.95 kB / 356.8 MB, free: 7.863 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.165e-05/0.03532, allocations: 8 kB / 356.9 MB, free: 7.855 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002569/0.03558, allocations: 180.5 kB / 357 MB, free: 7.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 2e-07/0.03558, allocations: 0 / 357 MB, free: 7.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001189/0.03677, allocations: 123.6 kB / 357.2 MB, free: 7.559 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.002012/0.03878, allocations: 340.2 kB / 357.5 MB, free: 7.285 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001218/0.04, allocations: 292.2 kB / 357.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.04, allocations: 1.312 kB / 357.8 MB, free: 6.996 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.0405, allocations: 131.5 kB / 357.9 MB, free: 6.863 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008547/0.04135, allocations: 59.11 kB / 358 MB, free: 6.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00203/0.04338, allocations: 0.5718 MB / 358.5 MB, free: 6.188 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003131/0.0437, allocations: 173.6 kB / 358.7 MB, free: 6 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.04388, allocations: 34.95 kB / 358.7 MB, free: 5.969 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.04399, allocations: 32.48 kB / 358.8 MB, free: 5.938 MB / 282.7 MB Notification: Performance of SimCode: time 1.603e-06/0.044, allocations: 4 kB / 358.8 MB, free: 5.934 MB / 282.7 MB Notification: Performance of Templates: time 0.01948/0.06347, allocations: 4.378 MB / 363.1 MB, free: 1.652 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: 4.8688035199884325]