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.001474/0.001474, allocations: 70.42 kB / 19.97 MB, free: 1.75 MB / 14.72 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.001518/0.001518, allocations: 169.3 kB / 23.25 MB, free: 4.875 MB / 14.72 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.443/1.443, allocations: 177.1 MB / 203.6 MB, free: 9.164 MB / 190.1 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.07018/0.07018, allocations: 9.17 MB / 269.1 MB, free: 7.895 MB / 254.1 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.433e-06/1.433e-06, allocations: 0 / 397.6 MB, free: 5.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.206e-05, allocations: 4.812 kB / 397.6 MB, free: 5.273 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.004681/0.004713, allocations: 2.883 MB / 400.4 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001504/0.006218, allocations: 0.7276 MB / 401.2 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001062/0.006324, allocations: 7.938 kB / 401.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.006584, allocations: 67.27 kB / 401.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001914/0.006775, allocations: 63.41 kB / 401.3 MB, free: 1.504 MB / 318.1 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.0006718/0.007447, allocations: 231.1 kB / 401.5 MB, free: 1.277 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004205/0.007868, allocations: 323.2 kB / 401.8 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.008115, allocations: 113.7 kB / 402 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002723/0.008387, allocations: 219.5 kB / 402.2 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.008637, allocations: 143.5 kB / 402.3 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.161e-05/0.008698, allocations: 36 kB / 402.4 MB, free: 468 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002542/0.008952, allocations: 155.7 kB / 402.5 MB, free: 312 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001374/0.00909, allocations: 115.6 kB / 402.6 MB, free: 196 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001395/0.009229, allocations: 111.7 kB / 402.7 MB, free: 84 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007132/0.009942, allocations: 0.5372 MB / 403.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.009946, allocations: 0 / 403.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.009947, allocations: 0 / 403.3 MB, free: 15.54 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.009958, allocations: 0 / 403.3 MB, free: 15.54 MB / 334.1 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.001445/0.0114, allocations: 0.7986 MB / 404.1 MB, free: 14.69 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.01144, allocations: 12.03 kB / 404.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.01153, allocations: 36.7 kB / 404.1 MB, free: 14.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003396/0.01187, allocations: 241.6 kB / 404.3 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.322e-05/0.0119, allocations: 25.03 kB / 404.4 MB, free: 14.36 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.639e-05/0.01196, allocations: 32.38 kB / 404.4 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006933/0.01265, allocations: 403.9 kB / 404.8 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.01267, allocations: 4.188 kB / 404.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.01271, allocations: 20.36 kB / 404.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.01272, allocations: 8.375 kB / 404.8 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000468/0.01319, allocations: 213.8 kB / 405 MB, free: 13.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.01473, allocations: 1.144 MB / 406.2 MB, free: 12.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004761/0.01521, allocations: 253.1 kB / 406.4 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.01543, allocations: 132.1 kB / 406.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.909e-05/0.01546, allocations: 7.984 kB / 406.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003923/0.01585, allocations: 232.6 kB / 406.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.964e-06/0.01585, allocations: 0 / 406.8 MB, free: 11.76 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.001017/0.01687, allocations: 481.1 kB / 407.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.017, allocations: 178.1 kB / 407.4 MB, free: 11.07 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002557/0.01725, allocations: 227.7 kB / 407.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.461e-05/0.01732, allocations: 45.64 kB / 407.7 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.01745, allocations: 180.9 kB / 407.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.734e-05/0.01755, allocations: 91.3 kB / 408 MB, free: 10.52 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001653/0.01772, allocations: 114.1 kB / 408.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.01793, allocations: 347 kB / 408.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000218/0.01814, allocations: 104.9 kB / 408.5 MB, free: 9.953 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003624/0.01851, allocations: 269.5 kB / 408.8 MB, free: 9.617 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005891/0.0191, allocations: 408 kB / 409.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.0191, allocations: 4 kB / 409.2 MB, free: 9.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007639/0.01986, allocations: 421.7 kB / 409.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.01988, allocations: 8.125 kB / 409.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.01989, allocations: 8 kB / 409.6 MB, free: 8.707 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.01991, allocations: 8 kB / 409.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.02016, allocations: 67.84 kB / 409.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.02017, allocations: 19.86 kB / 409.7 MB, free: 8.613 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.02034, allocations: 39.73 kB / 409.7 MB, free: 8.574 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.611e-05/0.02038, allocations: 23.94 kB / 409.8 MB, free: 8.551 MB / 334.1 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.0002593/0.02064, allocations: 211.7 kB / 410 MB, free: 8.336 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.0207, allocations: 27.86 kB / 410 MB, free: 8.309 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006199/0.02132, allocations: 294.6 kB / 410.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.02132, allocations: 4 kB / 410.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.02133, allocations: 0 / 410.3 MB, free: 8.016 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.02134, allocations: 4 kB / 410.3 MB, free: 8.012 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.02237, allocations: 0.6541 MB / 411 MB, free: 7.32 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.02238, allocations: 4 kB / 411 MB, free: 7.316 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.88e-05/0.02244, allocations: 11.94 kB / 411 MB, free: 7.305 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.02244, allocations: 4 kB / 411 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.02247, allocations: 15.98 kB / 411 MB, free: 7.285 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.02248, allocations: 3.938 kB / 411 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.531e-06/0.02248, allocations: 7.984 kB / 411 MB, free: 7.273 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000788/0.02327, allocations: 493.5 kB / 411.5 MB, free: 6.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.02331, allocations: 31.72 kB / 411.5 MB, free: 6.734 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.097e-05/0.02335, allocations: 4 kB / 411.5 MB, free: 6.73 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.02347, allocations: 15.92 kB / 411.5 MB, free: 6.715 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.377e-05/0.02354, allocations: 23.91 kB / 411.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.02358, allocations: 11.98 kB / 411.6 MB, free: 6.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000113/0.02369, allocations: 132.6 kB / 411.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02369, allocations: 4.094 kB / 411.7 MB, free: 6.547 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005218/0.02421, allocations: 135.5 kB / 411.8 MB, free: 6.414 MB / 334.1 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.0008653/0.02508, allocations: 321.8 kB / 412.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005902/0.02567, allocations: 299.7 kB / 412.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.02567, allocations: 0 / 412.4 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.02592, allocations: 123.1 kB / 412.6 MB, free: 5.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.02639, allocations: 61.72 kB / 412.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.02746, allocations: 0.5663 MB / 413.2 MB, free: 5.082 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.02765, allocations: 169.6 kB / 413.4 MB, free: 4.895 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001144/0.02777, allocations: 46.89 kB / 413.4 MB, free: 4.848 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.916e-05/0.02785, allocations: 32.48 kB / 413.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.02785, allocations: 0 / 413.4 MB, free: 4.812 MB / 334.1 MB Notification: Performance of Templates: time 0.009671/0.03752, allocations: 4.338 MB / 417.8 MB, free: 0.5703 MB / 334.1 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=480 -lv LOG_STATS > Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.463370945304632] Failed to read output from testmodel.py, exit status != 0: 0.04593329876661301 0.060945171000000006 0.047907487000000006 Calling exit ...