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.001013/0.001013, allocations: 84.22 kB / 20.98 MB, free: 3.566 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.001312/0.001312, allocations: 165 kB / 24.29 MB, free: 268 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.9269/0.9269, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.0369/0.0369, allocations: 9.154 MB / 270.2 MB, free: 4.34 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.182e-06/1.182e-06, allocations: 0 / 342.5 MB, free: 7.637 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.172e-05/1.29e-05, allocations: 2.312 kB / 342.5 MB, free: 7.633 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_SharedMemoryExternalTrigger): time 0.002541/0.002554, allocations: 2.97 MB / 345.5 MB, free: 4.645 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008194/0.003373, allocations: 0.7548 MB / 346.3 MB, free: 3.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.954e-05/0.003473, allocations: 7.938 kB / 346.3 MB, free: 3.879 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002174/0.00369, allocations: 63.34 kB / 346.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.003828, allocations: 63.44 kB / 346.4 MB, free: 3.754 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.0003983/0.004227, allocations: 227.1 kB / 346.6 MB, free: 3.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002273/0.004454, allocations: 323.2 kB / 346.9 MB, free: 3.215 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.004639, allocations: 113.7 kB / 347.1 MB, free: 3.098 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.004772, allocations: 219.5 kB / 347.3 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001503/0.004923, allocations: 147.5 kB / 347.4 MB, free: 2.738 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.004957, allocations: 36 kB / 347.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.005102, allocations: 147.7 kB / 347.6 MB, free: 2.559 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 7.677e-05/0.005179, allocations: 123.6 kB / 347.7 MB, free: 2.438 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.174e-05/0.005251, allocations: 107.7 kB / 347.8 MB, free: 2.332 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.005586, allocations: 394.5 kB / 348.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005588, allocations: 0 / 348.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005589, allocations: 0 / 348.2 MB, free: 1.945 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.005593, allocations: 0 / 348.2 MB, free: 1.945 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.0008363/0.00643, allocations: 0.9167 MB / 349.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.006466, allocations: 11.97 kB / 349.1 MB, free: 0.9531 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.195e-05/0.006548, allocations: 72.69 kB / 349.2 MB, free: 0.8828 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.006715, allocations: 220 kB / 349.4 MB, free: 0.6406 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.006737, allocations: 29.02 kB / 349.4 MB, free: 0.6133 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.808e-05/0.006765, allocations: 40.38 kB / 349.5 MB, free: 0.5742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003414/0.007107, allocations: 340.4 kB / 349.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007118, allocations: 192 / 349.8 MB, free: 212 kB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.00714, allocations: 12.38 kB / 349.8 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.00715, allocations: 8.375 kB / 349.8 MB, free: 192 kB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001776/0.007328, allocations: 126.7 kB / 350 MB, free: 68 kB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.008826, allocations: 1.476 MB / 351.4 MB, free: 14.52 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002652/0.009091, allocations: 219.5 kB / 351.7 MB, free: 14.25 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.573e-05/0.009187, allocations: 98.3 kB / 351.7 MB, free: 14.13 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.009211, allocations: 4 kB / 351.8 MB, free: 14.12 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002027/0.009413, allocations: 208.9 kB / 352 MB, free: 13.88 MB / 282.7 MB Notification: Performance of pre-optimization done (n=34): time 1.874e-06/0.009415, allocations: 0 / 352 MB, free: 13.88 MB / 282.7 MB Notification: Performance of matching and sorting (n=34): time 0.00051/0.009925, allocations: 352.3 kB / 352.3 MB, free: 13.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.211e-05/0.009997, allocations: 174.1 kB / 352.5 MB, free: 13.32 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.01017, allocations: 287.6 kB / 352.8 MB, free: 13.03 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.625e-05/0.0102, allocations: 41.64 kB / 352.8 MB, free: 12.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.01032, allocations: 223.9 kB / 353 MB, free: 12.76 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.996e-05/0.0104, allocations: 99.3 kB / 353.1 MB, free: 12.66 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/0.01052, allocations: 119.8 kB / 353.2 MB, free: 12.54 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001764/0.01069, allocations: 0.5195 MB / 353.7 MB, free: 12 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001029/0.0108, allocations: 52.95 kB / 353.8 MB, free: 11.95 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.01102, allocations: 289.3 kB / 354.1 MB, free: 11.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.01137, allocations: 376.1 kB / 354.4 MB, free: 11.1 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.01138, allocations: 4 kB / 354.4 MB, free: 11.09 MB / 282.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004023/0.01178, allocations: 345.4 kB / 354.8 MB, free: 10.75 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.0118, allocations: 8 kB / 354.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.01181, allocations: 8 kB / 354.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.01182, allocations: 8 kB / 354.8 MB, free: 10.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.01198, allocations: 79.83 kB / 354.9 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.012, allocations: 15.92 kB / 354.9 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/0.01209, allocations: 43.98 kB / 354.9 MB, free: 10.59 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.01211, allocations: 23.94 kB / 355 MB, free: 10.57 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.0001336/0.01224, allocations: 221.9 kB / 355.2 MB, free: 10.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.01228, allocations: 35.84 kB / 355.2 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.01257, allocations: 211.4 kB / 355.4 MB, free: 10.09 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.01257, allocations: 8 kB / 355.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.01258, allocations: 0 / 355.4 MB, free: 10.08 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.01259, allocations: 7.922 kB / 355.4 MB, free: 10.07 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005423/0.01313, allocations: 0.6244 MB / 356.1 MB, free: 9.406 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.01313, allocations: 4 kB / 356.1 MB, free: 9.402 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.01317, allocations: 19.92 kB / 356.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.01317, allocations: 0 / 356.1 MB, free: 9.383 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.01319, allocations: 7.984 kB / 356.1 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.01319, allocations: 7.938 kB / 356.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.0132, allocations: 0 / 356.1 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004056/0.0136, allocations: 489.1 kB / 356.6 MB, free: 8.855 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.01362, allocations: 31.78 kB / 356.6 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.584e-05/0.01365, allocations: 4 kB / 356.6 MB, free: 8.82 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.24e-05/0.01371, allocations: 15.92 kB / 356.6 MB, free: 8.805 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.157e-05/0.01377, allocations: 23.97 kB / 356.7 MB, free: 8.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.426e-05/0.0138, allocations: 11.98 kB / 356.7 MB, free: 8.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.824e-05/0.01387, allocations: 172.5 kB / 356.8 MB, free: 8.602 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01387, allocations: 7.938 kB / 356.8 MB, free: 8.594 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.01419, allocations: 119.6 kB / 357 MB, free: 8.477 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.0005596/0.01475, allocations: 334.4 kB / 357.3 MB, free: 8.211 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003008/0.01505, allocations: 220.2 kB / 357.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.01505, allocations: 0 / 357.5 MB, free: 7.992 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003915/0.01545, allocations: 96.83 kB / 357.6 MB, free: 7.895 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.01574, allocations: 63.73 kB / 357.7 MB, free: 7.836 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006324/0.01637, allocations: 0.5252 MB / 358.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.275e-05/0.01643, allocations: 104.9 kB / 358.3 MB, free: 7.141 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.0165, allocations: 42.94 kB / 358.3 MB, free: 7.102 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.366e-05/0.01655, allocations: 20.5 kB / 358.4 MB, free: 7.082 MB / 282.7 MB Notification: Performance of SimCode: time 8.31e-07/0.01655, allocations: 4 kB / 358.4 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Templates: time 0.006014/0.02256, allocations: 4.396 MB / 362.8 MB, free: 2.781 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: 2.7850612942129374]