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.001517/0.001517, allocations: 79.36 kB / 20.47 MB, free: 4.105 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.001587/0.001587, allocations: 169 kB / 23.84 MB, free: 0.7305 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.1/1.1, allocations: 177.2 MB / 204.3 MB, free: 5.637 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.04021/0.04021, allocations: 9.158 MB / 269.9 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 / 342.6 MB, free: 7.297 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.251e-05, allocations: 6.312 kB / 342.6 MB, free: 7.289 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.003064/0.003086, allocations: 2.977 MB / 345.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009244/0.004011, allocations: 0.7587 MB / 346.3 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.736e-05/0.004108, allocations: 7.938 kB / 346.3 MB, free: 3.523 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000237/0.004345, allocations: 67.33 kB / 346.4 MB, free: 3.457 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001528/0.004498, allocations: 59.45 kB / 346.4 MB, free: 3.398 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.0004019/0.0049, allocations: 227.2 kB / 346.7 MB, free: 3.176 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002324/0.005132, allocations: 331.1 kB / 347 MB, free: 2.852 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001936/0.005326, allocations: 105.7 kB / 347.1 MB, free: 2.742 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001368/0.005462, allocations: 223.5 kB / 347.3 MB, free: 2.523 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.005624, allocations: 139.5 kB / 347.4 MB, free: 2.387 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.724e-05/0.005661, allocations: 36 kB / 347.5 MB, free: 2.352 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.005807, allocations: 155.7 kB / 347.6 MB, free: 2.199 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.158e-05/0.005889, allocations: 119.6 kB / 347.7 MB, free: 2.082 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.00596, allocations: 111.7 kB / 347.8 MB, free: 1.973 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003352/0.006296, allocations: 402.4 kB / 348.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.006298, allocations: 0 / 348.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006299, allocations: 0 / 348.2 MB, free: 1.578 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.202e-06/0.006305, allocations: 0 / 348.2 MB, free: 1.578 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.0008409/0.007146, allocations: 0.9051 MB / 349.1 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.00718, allocations: 8.031 kB / 349.2 MB, free: 0.6016 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.338e-05/0.007263, allocations: 68.69 kB / 349.2 MB, free: 0.5352 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.007436, allocations: 235.9 kB / 349.5 MB, free: 284 kB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.66e-05/0.007462, allocations: 29.03 kB / 349.5 MB, free: 256 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.825e-05/0.007491, allocations: 32.38 kB / 349.5 MB, free: 224 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003919/0.007882, allocations: 348.4 kB / 349.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.007898, allocations: 192 / 349.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.007926, allocations: 16.38 kB / 349.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.007938, allocations: 8.375 kB / 349.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001834/0.008121, allocations: 122.7 kB / 350 MB, free: 15.7 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.009133, allocations: 1.464 MB / 351.5 MB, free: 14.17 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000276/0.009409, allocations: 239.5 kB / 351.7 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.009506, allocations: 86.31 kB / 351.8 MB, free: 13.77 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.009529, allocations: 8 kB / 351.8 MB, free: 13.76 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002073/0.009737, allocations: 204.9 kB / 352 MB, free: 13.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.793e-06/0.009739, allocations: 4 kB / 352 MB, free: 13.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005339/0.01027, allocations: 353 kB / 352.3 MB, free: 13.16 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.414e-05/0.01036, allocations: 174.2 kB / 352.5 MB, free: 12.96 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.01053, allocations: 279.6 kB / 352.8 MB, free: 12.67 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.383e-05/0.01056, allocations: 37.95 kB / 352.8 MB, free: 12.62 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.562e-05/0.01065, allocations: 235.6 kB / 353 MB, free: 12.39 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.678e-05/0.01071, allocations: 95.3 kB / 353.1 MB, free: 12.3 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.01082, allocations: 123.8 kB / 353.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.01095, allocations: 0.5117 MB / 353.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.882e-05/0.01103, allocations: 56.95 kB / 353.8 MB, free: 11.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002206/0.01126, allocations: 289.4 kB / 354.1 MB, free: 11.2 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004041/0.01166, allocations: 372.1 kB / 354.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.01166, allocations: 4 kB / 354.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0005687/0.01223, allocations: 349.2 kB / 354.8 MB, free: 10.39 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.01225, allocations: 8 kB / 354.8 MB, free: 10.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.01225, allocations: 7.938 kB / 354.8 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/0.01227, allocations: 8 kB / 354.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.01243, allocations: 71.91 kB / 354.9 MB, free: 10.29 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.01244, allocations: 16.23 kB / 354.9 MB, free: 10.28 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.243e-05/0.01252, allocations: 35.73 kB / 355 MB, free: 10.24 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.01255, allocations: 28.31 kB / 355 MB, free: 10.21 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.0001549/0.0127, allocations: 221.6 kB / 355.2 MB, free: 9.988 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.232e-05/0.01274, allocations: 39.84 kB / 355.2 MB, free: 9.949 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003179/0.01306, allocations: 222.4 kB / 355.5 MB, free: 9.723 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.259e-06/0.01307, allocations: 4 kB / 355.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.01307, allocations: 192 / 355.5 MB, free: 9.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.01308, allocations: 7.984 kB / 355.5 MB, free: 9.711 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008095/0.01389, allocations: 0.626 MB / 356.1 MB, free: 9.043 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.01389, allocations: 4 kB / 356.1 MB, free: 9.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.694e-05/0.01394, allocations: 11.98 kB / 356.1 MB, free: 9.027 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.01394, allocations: 4 kB / 356.1 MB, free: 9.023 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.216e-05/0.01397, allocations: 11.98 kB / 356.1 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.997e-06/0.01397, allocations: 3.938 kB / 356.1 MB, free: 9.008 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.01397, allocations: 4 kB / 356.1 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003691/0.01434, allocations: 485.1 kB / 356.6 MB, free: 8.496 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.767e-05/0.01436, allocations: 23.8 kB / 356.6 MB, free: 8.473 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.01438, allocations: 11.98 kB / 356.6 MB, free: 8.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.888e-05/0.01444, allocations: 15.94 kB / 356.7 MB, free: 8.445 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.01449, allocations: 15.97 kB / 356.7 MB, free: 8.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.84e-05/0.01452, allocations: 19.98 kB / 356.7 MB, free: 8.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.66e-05/0.01459, allocations: 168.5 kB / 356.9 MB, free: 8.246 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01459, allocations: 0 / 356.9 MB, free: 8.246 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002938/0.01488, allocations: 119.6 kB / 357 MB, free: 8.129 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.0005343/0.01541, allocations: 345.4 kB / 357.3 MB, free: 7.855 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002945/0.01571, allocations: 220.2 kB / 357.5 MB, free: 7.637 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.01571, allocations: 5.312 kB / 357.5 MB, free: 7.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000107/0.01582, allocations: 91.5 kB / 357.6 MB, free: 7.539 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.0161, allocations: 65.25 kB / 357.7 MB, free: 7.477 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000696/0.01679, allocations: 0.5213 MB / 358.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.893e-05/0.01685, allocations: 108.8 kB / 358.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.338e-05/0.01692, allocations: 38.94 kB / 358.4 MB, free: 6.746 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.374e-05/0.01697, allocations: 32.5 kB / 358.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.01697, allocations: 0 / 358.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of Templates: time 0.007688/0.02466, allocations: 4.738 MB / 363.1 MB, free: 2.074 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: 3.160328598693013]