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.0009266/0.0009266, allocations: 79.36 kB / 20.47 MB, free: 4.098 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.00106/0.00106, allocations: 165 kB / 23.84 MB, free: 0.7266 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.078/1.078, allocations: 177.1 MB / 204.2 MB, free: 5.23 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.03759/0.03759, allocations: 9.149 MB / 269.9 MB, free: 4.105 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.864e-06/1.864e-06, allocations: 0 / 342.5 MB, free: 8.34 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.844e-05/3.031e-05, allocations: 10.19 kB / 342.5 MB, free: 8.328 MB / 314.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003866/0.003896, allocations: 2.992 MB / 345.5 MB, free: 5.316 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001093/0.004989, allocations: 0.7587 MB / 346.3 MB, free: 4.555 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.005097, allocations: 7.938 kB / 346.3 MB, free: 4.547 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002588/0.005356, allocations: 67.31 kB / 346.4 MB, free: 4.48 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.005527, allocations: 47.53 kB / 346.4 MB, free: 4.434 MB / 314.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.0005096/0.006036, allocations: 235.1 kB / 346.6 MB, free: 4.203 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003095/0.006346, allocations: 335.4 kB / 347 MB, free: 3.875 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002229/0.006569, allocations: 101.8 kB / 347.1 MB, free: 3.773 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.006752, allocations: 219.5 kB / 347.3 MB, free: 3.559 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001985/0.006951, allocations: 147.5 kB / 347.4 MB, free: 3.414 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.669e-05/0.006997, allocations: 36 kB / 347.5 MB, free: 3.379 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001895/0.007187, allocations: 151.7 kB / 347.6 MB, free: 3.23 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.007296, allocations: 111.6 kB / 347.7 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.729e-05/0.007393, allocations: 119.6 kB / 347.8 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004223/0.007815, allocations: 398.5 kB / 348.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.007818, allocations: 0 / 348.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.132e-06/0.007819, allocations: 0 / 348.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.007825, allocations: 4 kB / 348.2 MB, free: 2.609 MB / 314.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.001025/0.008851, allocations: 0.8971 MB / 349.1 MB, free: 1.648 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.008892, allocations: 12.03 kB / 349.1 MB, free: 1.637 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.95e-05/0.008992, allocations: 68.66 kB / 349.2 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.009214, allocations: 239.9 kB / 349.4 MB, free: 1.309 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.893e-05/0.009243, allocations: 25.03 kB / 349.5 MB, free: 1.285 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.598e-05/0.009279, allocations: 36.36 kB / 349.5 MB, free: 1.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004117/0.009691, allocations: 336.4 kB / 349.8 MB, free: 0.8867 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.009702, allocations: 4.188 kB / 349.8 MB, free: 0.8828 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.631e-05/0.009728, allocations: 16.36 kB / 349.9 MB, free: 0.8672 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.28e-05/0.009741, allocations: 12.38 kB / 349.9 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001936/0.009935, allocations: 126.7 kB / 350 MB, free: 0.7266 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.01099, allocations: 1.457 MB / 351.4 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.01128, allocations: 235.5 kB / 351.7 MB, free: 14.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001037/0.01138, allocations: 82.41 kB / 351.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.441e-05/0.01141, allocations: 11.98 kB / 351.8 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003942/0.01181, allocations: 200.4 kB / 352 MB, free: 14.56 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 2.314e-06/0.01181, allocations: 4 kB / 352 MB, free: 14.56 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005563/0.01237, allocations: 359.9 kB / 352.3 MB, free: 14.2 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.845e-05/0.01245, allocations: 178.1 kB / 352.5 MB, free: 13.99 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001882/0.01263, allocations: 275.6 kB / 352.8 MB, free: 13.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.818e-05/0.01266, allocations: 41.69 kB / 352.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01277, allocations: 231.6 kB / 353 MB, free: 13.43 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.99e-05/0.01283, allocations: 87.34 kB / 353.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001169/0.01294, allocations: 127.8 kB / 353.2 MB, free: 13.21 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.01308, allocations: 0.5117 MB / 353.8 MB, free: 12.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.833e-05/0.01318, allocations: 53.2 kB / 353.8 MB, free: 12.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.01337, allocations: 297.4 kB / 354.1 MB, free: 12.25 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003091/0.01368, allocations: 364.1 kB / 354.4 MB, free: 11.79 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.01369, allocations: 4 kB / 354.5 MB, free: 11.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004006/0.01409, allocations: 352.8 kB / 354.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.01411, allocations: 8.656 kB / 354.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.315e-06/0.01411, allocations: 8 kB / 354.8 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.01414, allocations: 8 kB / 354.8 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001721/0.01431, allocations: 79.83 kB / 354.9 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.01432, allocations: 11.94 kB / 354.9 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.682e-05/0.01441, allocations: 31.78 kB / 354.9 MB, free: 11.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.01443, allocations: 27.92 kB / 355 MB, free: 11.26 MB / 330.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.0001506/0.01458, allocations: 222.1 kB / 355.2 MB, free: 11.04 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.01463, allocations: 43.84 kB / 355.2 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003122/0.01494, allocations: 219.3 kB / 355.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.01495, allocations: 4 kB / 355.4 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.01495, allocations: 4 kB / 355.5 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.01496, allocations: 4 kB / 355.5 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.01554, allocations: 0.6249 MB / 356.1 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.01554, allocations: 4 kB / 356.1 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.01558, allocations: 11.94 kB / 356.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01558, allocations: 4 kB / 356.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.0156, allocations: 11.98 kB / 356.1 MB, free: 10.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.01561, allocations: 7.938 kB / 356.1 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.01561, allocations: 4 kB / 356.1 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003938/0.016, allocations: 485.1 kB / 356.6 MB, free: 9.547 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.964e-05/0.01602, allocations: 23.8 kB / 356.6 MB, free: 9.523 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.755e-05/0.01605, allocations: 11.98 kB / 356.6 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.825e-05/0.01611, allocations: 11.92 kB / 356.6 MB, free: 9.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.854e-05/0.01617, allocations: 19.97 kB / 356.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.928e-05/0.01619, allocations: 19.98 kB / 356.7 MB, free: 9.461 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.642e-05/0.01627, allocations: 164.5 kB / 356.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01627, allocations: 0 / 356.8 MB, free: 9.301 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000354/0.01663, allocations: 131.6 kB / 357 MB, free: 9.172 MB / 330.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.0006439/0.01727, allocations: 345 kB / 357.3 MB, free: 8.891 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003167/0.01759, allocations: 224.9 kB / 357.5 MB, free: 8.668 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.01759, allocations: 4 kB / 357.5 MB, free: 8.664 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.0177, allocations: 85.47 kB / 357.6 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.01799, allocations: 64.33 kB / 357.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006676/0.01865, allocations: 0.5216 MB / 358.2 MB, free: 7.949 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.1e-05/0.01872, allocations: 97.92 kB / 358.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.643e-05/0.01879, allocations: 42.94 kB / 358.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.774e-05/0.01884, allocations: 32.48 kB / 358.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of SimCode: time 9.01e-07/0.01884, allocations: 0 / 358.4 MB, free: 7.762 MB / 330.7 MB Notification: Performance of Templates: time 0.007287/0.02613, allocations: 4.388 MB / 362.8 MB, free: 3.465 MB / 330.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: 3.1976890922524035]