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.0006867/0.0006867, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008726/0.001559, allocations: 447.8 kB / 10.35 MB, free: 348 kB / 10.45 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.0006832/0.0006832, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008731/0.001556, allocations: 467.6 kB / 11.69 MB, free: 2.477 MB / 13.93 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.8903/0.8903, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07801/0.9683, allocations: 53.67 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03547/0.03547, allocations: 9.167 MB / 253.1 MB, free: 6.098 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005597/0.04107, allocations: 3.44 MB / 256.6 MB, free: 2.66 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.603e-06/1.603e-06, allocations: 0 / 257.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.08e-05/1.24e-05, allocations: 2.312 kB / 257.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.002948/0.00296, allocations: 3.033 MB / 260.9 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.003903, allocations: 0.7818 MB / 261.7 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.416e-05/0.003997, allocations: 11.88 kB / 261.7 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.004161, allocations: 67.28 kB / 261.8 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001013/0.004262, allocations: 51.58 kB / 261.8 MB, free: 13.39 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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 2.2.0-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.0003859/0.004648, allocations: 231.1 kB / 262 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002571/0.004905, allocations: 315.1 kB / 262.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.005085, allocations: 117.6 kB / 262.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001794/0.005264, allocations: 227.5 kB / 262.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.005456, allocations: 147.5 kB / 262.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.125e-05/0.005497, allocations: 36 kB / 262.9 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.005702, allocations: 155.7 kB / 263 MB, free: 12.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.005789, allocations: 91.7 kB / 263.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.572e-05/0.005865, allocations: 91.81 kB / 263.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003883/0.006253, allocations: 358.6 kB / 263.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.006266, allocations: 0 / 263.5 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006267, allocations: 4 kB / 263.5 MB, free: 11.65 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.499e-05/0.006282, allocations: 0 / 263.5 MB, free: 11.65 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.0009979/0.00728, allocations: 0.8164 MB / 264.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.007317, allocations: 12.62 kB / 264.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.9e-05/0.007386, allocations: 56.89 kB / 264.4 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.007598, allocations: 201.7 kB / 264.6 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.007619, allocations: 21.03 kB / 264.7 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.007652, allocations: 44.36 kB / 264.7 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000283/0.007935, allocations: 307.4 kB / 265 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007945, allocations: 192 / 265 MB, free: 10.1 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.007967, allocations: 16.36 kB / 265 MB, free: 10.09 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.007974, allocations: 8.375 kB / 265 MB, free: 10.08 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.008332, allocations: 102.1 kB / 265.1 MB, free: 9.973 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000716/0.009048, allocations: 0.9708 MB / 266.1 MB, free: 8.965 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001917/0.00924, allocations: 220.7 kB / 266.3 MB, free: 8.703 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.588e-05/0.009295, allocations: 60.28 kB / 266.4 MB, free: 8.629 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.755e-05/0.009323, allocations: 12 kB / 266.4 MB, free: 8.617 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.009471, allocations: 183.2 kB / 266.6 MB, free: 8.402 MB / 266.7 MB Notification: Performance of pre-optimization done (n=34): time 1.623e-06/0.009472, allocations: 3.938 kB / 266.6 MB, free: 8.398 MB / 266.7 MB Notification: Performance of matching and sorting (n=34): time 0.0002718/0.009744, allocations: 204.3 kB / 266.8 MB, free: 8.191 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.086e-05/0.009815, allocations: 170.2 kB / 266.9 MB, free: 7.988 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.009935, allocations: 223.2 kB / 267.1 MB, free: 7.758 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/0.00996, allocations: 45.69 kB / 267.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.01003, allocations: 177.1 kB / 267.4 MB, free: 7.531 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5e-05/0.01008, allocations: 91.33 kB / 267.4 MB, free: 7.441 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.765e-05/0.01017, allocations: 106 kB / 267.6 MB, free: 7.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.126e-05/0.01025, allocations: 342.7 kB / 267.9 MB, free: 6.988 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.974e-05/0.0103, allocations: 40.97 kB / 267.9 MB, free: 6.945 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.01041, allocations: 201.5 kB / 268.1 MB, free: 6.676 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.01062, allocations: 298.9 kB / 268.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01063, allocations: 0 / 268.4 MB, free: 6.309 MB / 266.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0002391/0.01086, allocations: 269.2 kB / 268.7 MB, free: 6.039 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.01088, allocations: 8 kB / 268.7 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.01089, allocations: 7.984 kB / 268.7 MB, free: 6.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.0109, allocations: 15.94 kB / 268.7 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/0.01106, allocations: 91.81 kB / 268.8 MB, free: 5.918 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.01107, allocations: 8 kB / 268.8 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.769e-05/0.01115, allocations: 31.78 kB / 268.8 MB, free: 5.879 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.01116, allocations: 16.31 kB / 268.9 MB, free: 5.863 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.0001139/0.01128, allocations: 186 kB / 269 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01131, allocations: 31.97 kB / 269.1 MB, free: 5.641 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001512/0.01146, allocations: 127.3 kB / 269.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01146, allocations: 4 kB / 269.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01147, allocations: 0 / 269.2 MB, free: 5.512 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.01147, allocations: 7.984 kB / 269.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000367/0.01184, allocations: 428.8 kB / 269.6 MB, free: 5.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01184, allocations: 4 kB / 269.6 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.8e-05/0.01188, allocations: 12 kB / 269.6 MB, free: 5.047 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.086e-05/0.0119, allocations: 27.78 kB / 269.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.0119, allocations: 0 / 269.7 MB, free: 5.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.01192, allocations: 11.98 kB / 269.7 MB, free: 5.008 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.01192, allocations: 4 kB / 269.7 MB, free: 5.004 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.01193, allocations: 3.938 kB / 269.7 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.01215, allocations: 340.2 kB / 270 MB, free: 4.641 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.01217, allocations: 11.92 kB / 270 MB, free: 4.629 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.01223, allocations: 8 kB / 270 MB, free: 4.621 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.01227, allocations: 31.89 kB / 270.1 MB, free: 4.59 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.01229, allocations: 11.98 kB / 270.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.295e-05/0.01233, allocations: 49.56 kB / 270.1 MB, free: 4.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01233, allocations: 3.938 kB / 270.1 MB, free: 4.523 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002772/0.0126, allocations: 123.6 kB / 270.3 MB, free: 4.402 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.0006656/0.01327, allocations: 385.2 kB / 270.6 MB, free: 4.109 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002319/0.0135, allocations: 190.5 kB / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.01351, allocations: 0 / 270.8 MB, free: 3.922 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.865e-05/0.01359, allocations: 88.92 kB / 270.9 MB, free: 3.832 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.01381, allocations: 70.83 kB / 271 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006916/0.0145, allocations: 0.5178 MB / 271.5 MB, free: 3.203 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.555e-05/0.01455, allocations: 97.05 kB / 271.6 MB, free: 3.086 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.305e-05/0.01462, allocations: 39.08 kB / 271.6 MB, free: 3.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.593e-05/0.0147, allocations: 87.34 kB / 271.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0147, allocations: 0 / 271.7 MB, free: 2.961 MB / 266.7 MB Notification: Performance of Templates: time 0.09641/0.1111, allocations: 4.864 MB / 276.6 MB, free: 11.91 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.5622961511835456]