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.0009653/0.0009653, allocations: 79.94 kB / 20.76 MB, free: 3.73 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.0009536/0.0009536, allocations: 173 kB / 24.19 MB, free: 316 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.9629/0.9629, allocations: 177.1 MB / 204.6 MB, free: 5.484 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.04995/0.04995, allocations: 9.166 MB / 270.2 MB, free: 4.133 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.262e-06/1.262e-06, allocations: 0 / 289.7 MB, free: 0.6289 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.393e-05/2.519e-05, allocations: 2.312 kB / 289.7 MB, free: 0.625 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.1412/0.1412, allocations: 2.971 MB / 292.7 MB, free: 18.02 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00137/0.1426, allocations: 0.7622 MB / 293.5 MB, free: 17.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001834/0.1427, allocations: 12.28 kB / 293.5 MB, free: 17.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002656/0.143, allocations: 74.5 kB / 293.6 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.1432, allocations: 45.56 kB / 293.6 MB, free: 17.43 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.0006765/0.1439, allocations: 227.6 kB / 293.8 MB, free: 17.31 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004073/0.1443, allocations: 333.5 kB / 294.2 MB, free: 17.16 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002102/0.1445, allocations: 115.2 kB / 294.3 MB, free: 17.1 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002625/0.1447, allocations: 222.5 kB / 294.5 MB, free: 16.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002388/0.145, allocations: 141.9 kB / 294.6 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.04e-05/0.1451, allocations: 35.81 kB / 294.7 MB, free: 16.94 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002429/0.1453, allocations: 149.8 kB / 294.8 MB, free: 16.9 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.1454, allocations: 114.1 kB / 294.9 MB, free: 16.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.765e-05/0.1455, allocations: 112.7 kB / 295 MB, free: 16.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005422/0.146, allocations: 406.1 kB / 295.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.1461, allocations: 0 / 295.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.1461, allocations: 0.5938 kB / 295.4 MB, free: 16.57 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/0.1461, allocations: 0 / 295.4 MB, free: 16.57 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.001013/0.1471, allocations: 0.7328 MB / 296.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1471, allocations: 9.75 kB / 296.2 MB, free: 16.01 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.1472, allocations: 57.81 kB / 296.2 MB, free: 16 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000203/0.1474, allocations: 198 kB / 296.4 MB, free: 15.83 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.1475, allocations: 28.98 kB / 296.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.08e-05/0.1475, allocations: 35.62 kB / 296.5 MB, free: 15.8 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.1479, allocations: 311.4 kB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1479, allocations: 1.406 kB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.06e-05/0.1479, allocations: 14.67 kB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.1479, allocations: 9.594 kB / 296.8 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001502/0.1481, allocations: 103.6 kB / 296.9 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007745/0.1488, allocations: 0.9737 MB / 297.9 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.149, allocations: 223.4 kB / 298.1 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.925e-05/0.1491, allocations: 60.03 kB / 298.2 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.186e-05/0.1491, allocations: 14.55 kB / 298.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.1493, allocations: 176.9 kB / 298.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 3.086e-06/0.1493, allocations: 0 / 298.4 MB, free: 14.45 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.0003283/0.1497, allocations: 208.1 kB / 298.6 MB, free: 14.4 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.1497, allocations: 176.1 kB / 298.7 MB, free: 14.2 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1499, allocations: 222 kB / 298.9 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.1499, allocations: 38.88 kB / 299 MB, free: 14.01 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/0.15, allocations: 173.8 kB / 299.1 MB, free: 13.87 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.111e-05/0.15, allocations: 92.81 kB / 299.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/0.1501, allocations: 106.1 kB / 299.3 MB, free: 13.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.199e-05/0.1502, allocations: 343.7 kB / 299.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.1502, allocations: 36.8 kB / 299.7 MB, free: 13.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.1503, allocations: 209.2 kB / 299.9 MB, free: 13.2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.1506, allocations: 299.1 kB / 300.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1506, allocations: 1.562 kB / 300.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0003271/0.1509, allocations: 268.3 kB / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.1509, allocations: 8.516 kB / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1509, allocations: 5.906 kB / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.151, allocations: 8.156 kB / 300.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001615/0.1511, allocations: 77.95 kB / 300.6 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.1511, allocations: 14.73 kB / 300.6 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.451e-05/0.1512, allocations: 39.05 kB / 300.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.1512, allocations: 19.03 kB / 300.6 MB, free: 12.83 MB / 266.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.0001194/0.1514, allocations: 173.9 kB / 300.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.1514, allocations: 28.69 kB / 300.8 MB, free: 12.68 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001767/0.1516, allocations: 129.9 kB / 301 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.1516, allocations: 3.906 kB / 301 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.1516, allocations: 2.094 kB / 301 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.1516, allocations: 3.141 kB / 301 MB, free: 12.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.152, allocations: 435.8 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.152, allocations: 2.656 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.213e-05/0.1521, allocations: 14.86 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.1521, allocations: 4.625 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.1521, allocations: 14.34 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.1521, allocations: 2.891 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.1521, allocations: 1.156 kB / 301.4 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1523, allocations: 333.9 kB / 301.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.103e-05/0.1523, allocations: 28.39 kB / 301.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.485e-05/0.1523, allocations: 6.156 kB / 301.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.559e-05/0.1524, allocations: 9.422 kB / 301.8 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.1525, allocations: 25.8 kB / 301.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.1525, allocations: 9.453 kB / 301.8 MB, free: 12.05 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.888e-05/0.1525, allocations: 57.09 kB / 301.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1525, allocations: 0 / 301.9 MB, free: 12.03 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.1529, allocations: 123.2 kB / 302 MB, free: 11.99 MB / 266.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.0007487/0.1537, allocations: 362.5 kB / 302.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002885/0.154, allocations: 189.2 kB / 302.6 MB, free: 11.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/0.154, allocations: 6.594 kB / 302.6 MB, free: 11.83 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 9.454e-05/0.1541, allocations: 70.33 kB / 302.6 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.1543, allocations: 61.61 kB / 302.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006367/0.1549, allocations: 0.5136 MB / 303.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.392e-05/0.155, allocations: 98.05 kB / 303.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.23e-05/0.1551, allocations: 30.98 kB / 303.3 MB, free: 11.37 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.1552, allocations: 90.8 kB / 303.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of SimCode: time 7.91e-07/0.1552, allocations: 1.438 kB / 303.4 MB, free: 11.32 MB / 266.7 MB Notification: Performance of Templates: time 0.007314/0.1625, allocations: 4.831 MB / 308.3 MB, free: 9.016 MB / 266.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.9315072265453637]